Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶ added in v0.0.2
type Client struct {
// contains filtered or unexported fields
}
func InitClient ¶ added in v0.0.2
func InitClient(opts ...ClientOption) (*Client, error)
type ClientOption ¶ added in v0.0.2
type ClientOption func(c *Client)
func ClientInsecure ¶ added in v0.0.2
func ClientInsecure() ClientOption
func ClientWithRegistry ¶ added in v0.0.2
func ClientWithRegistry(r registry.Registry, timeout time.Duration) ClientOption
type Server ¶
func InitServer ¶
func InitServer(name string, opts ...ServerOptions) (*Server, error)
type ServerOptions ¶
type ServerOptions func(server *Server)
func WithRegister ¶
func WithRegister(r registry.Registry) ServerOptions
Click to show internal directories.
Click to hide internal directories.