Documentation
¶
Overview ¶
Package mucp provides an mucp server
Index ¶
- Variables
- func FromContext(ctx context.Context) (server.Server, bool)
- func IsExported(name string) bool
- func IsExportedOrBuiltinType(t reflect.Type) bool
- func NewContext(ctx context.Context, s server.Server) context.Context
- func NewRouter() server.Router
- func NewServer(opts ...server.Option) server.Server
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": b.NewCodec, } )
Functions ¶
func IsExported ¶
IsExported Is this an exported - upper case - name?
func IsExportedOrBuiltinType ¶
IsExportedOrBuiltinType Is this type exported or a builtin?
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.