Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetAddr ¶
type NetAddr struct { Type NetworkType `mapstructure:"type" yaml:"type"` // see https://github.com/grpc/grpc/blob/master/doc/naming.md Addr string `mapstructure:"addr" yaml:"addr"` }
func Convert2NetAddr ¶
func (NetAddr) GetEndpoint ¶
func (*NetAddr) UnmarshalJSON ¶
func (*NetAddr) UnmarshalYAML ¶
type NetworkType ¶
type NetworkType string
const ( TCP NetworkType = "tcp" UNIX NetworkType = "unix" )
Click to show internal directories.
Click to hide internal directories.