Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient(opts *ClientOptions, cfg *config.ServiceConfig) nano.Service
func NewListener ¶
func NewListener(opts *ListenerOptions, cfgs ...*config.ServiceConfig) nano.Listener
Types ¶
type ClientOptions ¶
type ClientOptions struct { Client *http.Client Discoverer discovery.Discoverer Serializer *serialization.ClientSideSerializer PrefixURLPath bool }
var DefaultClientOptions *ClientOptions
DefaultClientOptions is used by NewClient when its opts parameter is nil. If DefaultClientOptions is nil then the opts parameter of NewClient can't be nil.
type ListenerOptions ¶
type ListenerOptions struct { BindAddr string Serializer *serialization.ServerSideSerializer PrefixURLPath bool }
var DefaultListenerOptions *ListenerOptions
Directories ¶
Path | Synopsis |
---|---|
gogo_proto
Package gogo_proto is a generated protocol buffer package.
|
Package gogo_proto is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.