Documentation ¶
Index ¶
Constants ¶
View Source
const ( Base connType = "Base" HTTP connType = "Http" JSON_HTTP connType = "Json-Http" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseRpc ¶
type BaseRpc struct {
// contains filtered or unexported fields
}
type RpcClientOptions ¶
type RpcClientOptions func(r *BaseRpc)
func WithClientAddress ¶
func WithClientAddress(address string) RpcClientOptions
func WithClientNetwork ¶
func WithClientNetwork(network string) RpcClientOptions
func WithClientType ¶ added in v0.0.5
func WithClientType(t connType) RpcClientOptions
type RpcServerOptions ¶
type RpcServerOptions func(r *BaseRpc)
func WithServerAddress ¶
func WithServerAddress(address string) RpcServerOptions
func WithServerNetwork ¶
func WithServerNetwork(network string) RpcServerOptions
func WithServerType ¶ added in v0.0.5
func WithServerType(t connType) RpcServerOptions
Click to show internal directories.
Click to hide internal directories.