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) GetHost() []string
- func (m *Config) GetPath() string
- 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) (internet.Connection, error)
Dial dials a new TCP connection to the given destination.
Types ¶
type Config ¶
type Config struct { Host []string `protobuf:"bytes,1,rep,name=host,proto3" json:"host,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Config) XXX_Marshal ¶
type Listener ¶
type Listener struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.