Documentation ¶
Index ¶
- Constants
- func Init(size int) error
- func Invoke(ctx context.Context, domain string, gtid string, bid int, method string, ...) ([]byte, error)
- func ParseContextMeta(ctx context.Context) (gtid string, bid int)
- func RegisterCustomProto()
- func SetMetaFromOutgoingContext(ctx context.Context, gtid string, bid int) context.Context
Constants ¶
View Source
const ( GRPC_HREADER_GTID = "DTX_GTID" GRPC_HREADER_BRANCHID = "DTX_BRANCH_ID" GRPC_HEADER_TC_DATACENTER = "DTX_TC_DATACENTER" GRPC_HEADER_TC_NODE = "DTX_TC_NODE" GRPC_HEADER_TXN_TYPE = "DTX_TXN_TYPE" )
Variables ¶
This section is empty.
Functions ¶
func RegisterCustomProto ¶
func RegisterCustomProto()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.