Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is the interface used to make requests to services. It supports Request/Response via Transport and Publishing via the Broker. It also supports bidirectional streaming of requests.
var ( // DefaultClient is a default client to use out of the box DefaultClient Client = newGinClient() )
type Options ¶
type Options struct { Network string Addr string Timeout string ReadTimeout string WriteTimeout string On bool // pref switch Once sync.Once // do once // // // Metadata map[string]string Name string Id string Version string // Other options for implementations of the interface // can be stored in a context Context context.Context }
func NewOptions ¶
Click to show internal directories.
Click to hide internal directories.