httprt

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_transport_internet_request_roundtripper_httprt_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ClientConfig

type ClientConfig struct {
	Http       *HTTPConfig `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"`
	AllowHttp  bool        `protobuf:"varint,2,opt,name=allow_http,json=allowHttp,proto3" json:"allow_http,omitempty"`
	H2PoolSize int32       `protobuf:"varint,3,opt,name=h2_pool_size,json=h2PoolSize,proto3" json:"h2_pool_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientConfig) Descriptor deprecated

func (*ClientConfig) Descriptor() ([]byte, []int)

Deprecated: Use ClientConfig.ProtoReflect.Descriptor instead.

func (*ClientConfig) GetAllowHttp

func (x *ClientConfig) GetAllowHttp() bool

func (*ClientConfig) GetH2PoolSize

func (x *ClientConfig) GetH2PoolSize() int32

func (*ClientConfig) GetHttp

func (x *ClientConfig) GetHttp() *HTTPConfig

func (*ClientConfig) ProtoMessage

func (*ClientConfig) ProtoMessage()

func (*ClientConfig) ProtoReflect

func (x *ClientConfig) ProtoReflect() protoreflect.Message

func (*ClientConfig) Reset

func (x *ClientConfig) Reset()

func (*ClientConfig) String

func (x *ClientConfig) String() string

type HTTPConfig

type HTTPConfig struct {
	Path      string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	UrlPrefix string `protobuf:"bytes,2,opt,name=urlPrefix,proto3" json:"urlPrefix,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPConfig) Descriptor deprecated

func (*HTTPConfig) Descriptor() ([]byte, []int)

Deprecated: Use HTTPConfig.ProtoReflect.Descriptor instead.

func (*HTTPConfig) GetPath

func (x *HTTPConfig) GetPath() string

func (*HTTPConfig) GetUrlPrefix

func (x *HTTPConfig) GetUrlPrefix() 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

type ServerConfig

type ServerConfig struct {
	Http                 *HTTPConfig `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"`
	NoDecodingSessionTag bool        `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ServerConfig) Descriptor deprecated

func (*ServerConfig) Descriptor() ([]byte, []int)

Deprecated: Use ServerConfig.ProtoReflect.Descriptor instead.

func (*ServerConfig) GetHttp

func (x *ServerConfig) GetHttp() *HTTPConfig

func (*ServerConfig) GetNoDecodingSessionTag

func (x *ServerConfig) GetNoDecodingSessionTag() bool

func (*ServerConfig) ProtoMessage

func (*ServerConfig) ProtoMessage()

func (*ServerConfig) ProtoReflect

func (x *ServerConfig) ProtoReflect() protoreflect.Message

func (*ServerConfig) Reset

func (x *ServerConfig) Reset()

func (*ServerConfig) String

func (x *ServerConfig) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL