Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClient ¶
func CreateClient(protocol, service string) (microClient.Client, error)
CreateClient is for to create client based on protocol and the service name
func GetClient ¶
func GetClient(protocol, service string) (microClient.Client, error)
GetClient is to get the client based on protocol and service name
func GetProtocolSpec ¶
GetProtocolSpec is to get protocol specifications
func InstallPlugin ¶
func InstallPlugin(protocol string, f ClientNewFunc)
InstallPlugin is plugin for the new function
Types ¶
type ClientNewFunc ¶
type ClientNewFunc func(...microClient.Option) microClient.Client
ClientNewFunc is function for the client
func GetClientNewFunc ¶
func GetClientNewFunc(name string) (ClientNewFunc, error)
GetClientNewFunc is to get the client
Click to show internal directories.
Click to hide internal directories.