Documentation ¶
Overview ¶
Package mucp provides a transport agnostic RPC server
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultContentType = "application/protobuf" DefaultCodecs = map[string]codec.NewCodec{ "application/grpc": grpc.NewCodec, "application/grpc+json": grpc.NewCodec, "application/grpc+proto": grpc.NewCodec, "application/json": json.NewCodec, "application/json-rpc": jsonrpc.NewCodec, "application/protobuf": proto.NewCodec, "application/proto-rpc": protorpc.NewCodec, "application/octet-stream": raw.NewCodec, } )
View Source
var (
DefaultRouter = newRpcRouter()
)
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.