Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnaryClientInterceptor ¶ added in v0.1.1
func UnaryClientInterceptor(ctx context.Context, method string, req, reply interface{}, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption) error
Types ¶
type ReqType ¶
type ReqType uint16
ReqType represents the concrete rpc request type in Request.
const ( CreateStream ReqType = 1 + iota DeleteStream ListStreams LookupShard ListShards Append CreateSubscription ReqType = 256 + iota ListSubscriptions CheckSubscriptionExist DeleteSubscription LookupSubscription StreamingFetch DescribeCluster ReqType = 512 + iota AdminRequest ReqType = 1024 + iota PerStreamStats ReqType = 2048 + iota PerStreamStatsAll CreateShardReader ReqType = 3072 + iota LookupShardReader ReadShard DeleteShardReader GetStatsRequest ReqType = 4096 + iota )
Click to show internal directories.
Click to hide internal directories.