package
Version:
v2.0.0-rc1
Opens a new window with list of versions in this module.
Published: May 26, 2021
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 472
Opens a new window with list of known importers.
Documentation
¶
NewContext returns a new Context that carries value.
Kind defines the type of Transport
const (
KindGRPC Kind = "gRPC"
KindHTTP Kind = "HTTP"
)
Defines a set of transport kind
Server is transport server.
type Transport struct {
Kind Kind
}
Transport is transport context value.
FromContext returns the Transport value stored in ctx, if any.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.