Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discovery ¶
type Discovery interface { Instance() naming_client.INamingClient ClusterName() string }
type RpcClient ¶
type RpcClient interface { WithHashKey(ctx context.Context, val string) context.Context WithSoftStateKey(ctx context.Context, val string) context.Context Invoke(ctx context.Context, method string, args interface{}, reply interface{}) error OneWay(ctx context.Context, method string, args interface{}) error Broadcast(ctx context.Context, method string, args interface{}, reply interface{}) error Callback(ctx context.Context, method string, args interface{}, reply interface{}, f func(reply interface{}, err error)) }
Click to show internal directories.
Click to hide internal directories.