package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Jun 6, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
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 (
KindARPC Kind = "gRPC"
KindAHTTP Kind = "HTTP"
)
Defines a set of servers kind
Server is servers server.
type Servers struct {
Kind Kind
}
Servers is servers 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.