Documentation ¶
Index ¶
- func NewRPCClient(name string, s rpcSelector.Selector, opt ...rpc.ClientOption) (*rpc.Client, error)
- func NewRPCServer(rg registry.Registry, opt ...rpc.ServerOption) *rpc.Server
- func NewRestClient(name string, s restSelector.Selector, opt ...rest.ClientOption) (*rest.Client, error)
- func NewRestServer(rg registry.Registry, handler http.Handler, opts ...rest.ServerOption) *rest.Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRPCClient ¶
func NewRPCClient(name string, s rpcSelector.Selector, opt ...rpc.ClientOption) (*rpc.Client, error)
func NewRPCServer ¶
func NewRestClient ¶
func NewRestClient(name string, s restSelector.Selector, opt ...rest.ClientOption) (*rest.Client, error)
func NewRestServer ¶
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
encoder
Package encoder handles source encoding formats
|
Package encoder handles source encoding formats |
loader
package loader manages loading from multiple sources
|
package loader manages loading from multiple sources |
reader
Package reader parses change sets and provides config values
|
Package reader parses change sets and provides config values |
source
Package source is the interface for sources
|
Package source is the interface for sources |
source/file
Package file is a file source.
|
Package file is a file source. |
source/memory
Package memory is a memory source
|
Package memory is a memory source |
example
|
|
pkg
|
|
Package registry is an interface for service discovery
|
Package registry is an interface for service discovery |
cache
Package cache provides a registry cache
|
Package cache provides a registry cache |
etcd
Package etcd provides an etcd service registry
|
Package etcd provides an etcd service registry |
mdns
Package mdns is a multicast dns registry Package mdns provides a multicast dns registry
|
Package mdns is a multicast dns registry Package mdns provides a multicast dns registry |
memory
Package memory provides an in-memory registry
|
Package memory provides an in-memory registry |
client/selector/static
Package static provides a static resolver which returns the name/ip passed in without any change
|
Package static provides a static resolver which returns the name/ip passed in without any change |
test
|
|
Click to show internal directories.
Click to hide internal directories.