Documentation ¶
Index ¶
- func Dial(ctx context.Context, dest net.Destination, ...) (internet.Connection, error)
- func Listen(ctx context.Context, address net.Address, port net.Port, ...) (internet.Listener, error)
- type Config
- func (*Config) Descriptor() ([]byte, []int)
- func (m *Config) GetHeader() *serial.TypedMessage
- func (m *Config) GetKey() string
- func (m *Config) GetSecurity() *protocol.SecurityConfig
- func (*Config) ProtoMessage()
- func (m *Config) Reset()
- func (m *Config) String() string
- func (m *Config) XXX_DiscardUnknown()
- func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Config) XXX_Merge(src proto.Message)
- func (m *Config) XXX_Size() int
- func (m *Config) XXX_Unmarshal(b []byte) error
- type Listener
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dial ¶
func Dial(ctx context.Context, dest net.Destination, streamSettings *internet.MemoryStreamConfig) (internet.Connection, error)
Types ¶
type Config ¶
type Config struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Security *protocol.SecurityConfig `protobuf:"bytes,2,opt,name=security,proto3" json:"security,omitempty"` Header *serial.TypedMessage `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Config) GetHeader ¶
func (m *Config) GetHeader() *serial.TypedMessage
func (*Config) GetSecurity ¶
func (m *Config) GetSecurity() *protocol.SecurityConfig
func (*Config) XXX_Marshal ¶
type Listener ¶
type Listener struct {
// contains filtered or unexported fields
}
Listener is an internet.Listener that listens for TCP connections.
Click to show internal directories.
Click to hide internal directories.