Documentation
¶
Index ¶
- Variables
- func Dial(ctx context.Context, dest net.Destination, c *HttpConfig, se security.Engine, ...) (net.Conn, error)
- type Dialer
- type HttpConfig
- func (*HttpConfig) Descriptor() ([]byte, []int)deprecated
- func (x *HttpConfig) GetHeader() []*http.Header
- func (x *HttpConfig) GetHost() []string
- func (x *HttpConfig) GetMethod() string
- func (x *HttpConfig) GetPath() string
- func (*HttpConfig) ProtoMessage()
- func (x *HttpConfig) ProtoReflect() protoreflect.Message
- func (x *HttpConfig) Reset()
- func (x *HttpConfig) String() string
- type Listener
Constants ¶
This section is empty.
Variables ¶
View Source
var File_transport_protocols_http_config_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type Dialer ¶
type Dialer struct {
Config *HttpConfig
Security security.Engine
Socket i.Dialer
}
type HttpConfig ¶
type HttpConfig 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"`
Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
Header []*http.Header `protobuf:"bytes,4,rep,name=header,proto3" json:"header,omitempty"`
// contains filtered or unexported fields
}
func (*HttpConfig) Descriptor
deprecated
func (*HttpConfig) Descriptor() ([]byte, []int)
Deprecated: Use HttpConfig.ProtoReflect.Descriptor instead.
func (*HttpConfig) GetHeader ¶
func (x *HttpConfig) GetHeader() []*http.Header
func (*HttpConfig) GetHost ¶
func (x *HttpConfig) GetHost() []string
func (*HttpConfig) GetMethod ¶
func (x *HttpConfig) GetMethod() string
func (*HttpConfig) GetPath ¶
func (x *HttpConfig) GetPath() string
func (*HttpConfig) ProtoMessage ¶
func (*HttpConfig) ProtoMessage()
func (*HttpConfig) ProtoReflect ¶
func (x *HttpConfig) ProtoReflect() protoreflect.Message
func (*HttpConfig) Reset ¶
func (x *HttpConfig) Reset()
func (*HttpConfig) String ¶
func (x *HttpConfig) String() string
Click to show internal directories.
Click to hide internal directories.