Add client comment

This commit is contained in:
Asim 2016-01-30 21:15:08 +00:00
parent 146701eeaa
commit 8edb0c4b06

View File

@ -27,6 +27,9 @@ import (
"golang.org/x/net/context" "golang.org/x/net/context"
) )
// Client is the interface used to make requests to services.
// It supports Request/Response via Transport and Publishing via the Broker.
// It also supports bidiectional streaming of requests.
type Client interface { type Client interface {
Init(...Option) error Init(...Option) error
Options() Options Options() Options