Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Client = RegisterClient
Client register client from application, it is a alias to RegisterClient
View Source
var Server = RegisterServer
Server alias to RegisterServer
Functions ¶
func RegisterClient ¶ added in v0.4.0
func RegisterClient(name string, cbs ...interface{})
RegisterClient register client from application
func RegisterServer ¶ added in v0.4.0
func RegisterServer(cb interface{}, s interface{})
RegisterClient register server from application
Types ¶
type ClientConnector ¶ added in v0.6.2
type ClientConnector interface {
Connect(name string, cb interface{}, prop *ClientProperties) (err error)
}
ClientConnector interface is response for creating grpc client connection
Click to show internal directories.
Click to hide internal directories.