messages

package
v0.0.4-beta3 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Protocol_name = map[int32]string{
		0: "TCP",
		1: "HTTP",
	}
	Protocol_value = map[string]int32{
		"TCP":  0,
		"HTTP": 1,
	}
)

Enum value maps for Protocol.

View Source
var File_messages_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Auth

type Auth struct {
	User     string            `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Password string            `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Auth) Descriptor deprecated

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

Deprecated: Use Auth.ProtoReflect.Descriptor instead.

func (*Auth) GetMetadata

func (x *Auth) GetMetadata() map[string]string

func (*Auth) GetPassword

func (x *Auth) GetPassword() string

func (*Auth) GetUser

func (x *Auth) GetUser() string

func (*Auth) ProtoMessage

func (*Auth) ProtoMessage()

func (*Auth) ProtoReflect

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

func (*Auth) Reset

func (x *Auth) Reset()

func (*Auth) String

func (x *Auth) String() string

type HttpTunnel

type HttpTunnel struct {
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpTunnel) Descriptor deprecated

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

Deprecated: Use HttpTunnel.ProtoReflect.Descriptor instead.

func (*HttpTunnel) GetHost

func (x *HttpTunnel) GetHost() string

func (*HttpTunnel) ProtoMessage

func (*HttpTunnel) ProtoMessage()

func (*HttpTunnel) ProtoReflect

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

func (*HttpTunnel) Reset

func (x *HttpTunnel) Reset()

func (*HttpTunnel) String

func (x *HttpTunnel) String() string

type HttpTunnelRequest

type HttpTunnelRequest struct {
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpTunnelRequest) Descriptor deprecated

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

Deprecated: Use HttpTunnelRequest.ProtoReflect.Descriptor instead.

func (*HttpTunnelRequest) GetHost

func (x *HttpTunnelRequest) GetHost() string

func (*HttpTunnelRequest) ProtoMessage

func (*HttpTunnelRequest) ProtoMessage()

func (*HttpTunnelRequest) ProtoReflect

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

func (*HttpTunnelRequest) Reset

func (x *HttpTunnelRequest) Reset()

func (*HttpTunnelRequest) String

func (x *HttpTunnelRequest) String() string

type Protocol

type Protocol int32
const (
	Protocol_TCP  Protocol = 0
	Protocol_HTTP Protocol = 1
)

func (Protocol) Descriptor

func (Protocol) Descriptor() protoreflect.EnumDescriptor

func (Protocol) Enum

func (x Protocol) Enum() *Protocol

func (Protocol) EnumDescriptor deprecated

func (Protocol) EnumDescriptor() ([]byte, []int)

Deprecated: Use Protocol.Descriptor instead.

func (Protocol) Number

func (x Protocol) Number() protoreflect.EnumNumber

func (Protocol) String

func (x Protocol) String() string

func (Protocol) Type

type TlsTunnel

type TlsTunnel struct {
	Sni string `protobuf:"bytes,1,opt,name=sni,proto3" json:"sni,omitempty"`
	// contains filtered or unexported fields
}

func (*TlsTunnel) Descriptor deprecated

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

Deprecated: Use TlsTunnel.ProtoReflect.Descriptor instead.

func (*TlsTunnel) GetSni

func (x *TlsTunnel) GetSni() string

func (*TlsTunnel) ProtoMessage

func (*TlsTunnel) ProtoMessage()

func (*TlsTunnel) ProtoReflect

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

func (*TlsTunnel) Reset

func (x *TlsTunnel) Reset()

func (*TlsTunnel) String

func (x *TlsTunnel) String() string

type TlsTunnelRequest

type TlsTunnelRequest struct {
	Sni string `protobuf:"bytes,1,opt,name=sni,proto3" json:"sni,omitempty"`
	// contains filtered or unexported fields
}

func (*TlsTunnelRequest) Descriptor deprecated

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

Deprecated: Use TlsTunnelRequest.ProtoReflect.Descriptor instead.

func (*TlsTunnelRequest) GetSni

func (x *TlsTunnelRequest) GetSni() string

func (*TlsTunnelRequest) ProtoMessage

func (*TlsTunnelRequest) ProtoMessage()

func (*TlsTunnelRequest) ProtoReflect

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

func (*TlsTunnelRequest) Reset

func (x *TlsTunnelRequest) Reset()

func (*TlsTunnelRequest) String

func (x *TlsTunnelRequest) String() string

type TunnelRequest

type TunnelRequest struct {

	// Types that are assignable to Req:
	//	*TunnelRequest_Tls
	//	*TunnelRequest_Http
	Req isTunnelRequest_Req `protobuf_oneof:"req"`
	// contains filtered or unexported fields
}

func (*TunnelRequest) Descriptor deprecated

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

Deprecated: Use TunnelRequest.ProtoReflect.Descriptor instead.

func (*TunnelRequest) GetHttp

func (x *TunnelRequest) GetHttp() *HttpTunnelRequest

func (*TunnelRequest) GetReq

func (m *TunnelRequest) GetReq() isTunnelRequest_Req

func (*TunnelRequest) GetTls

func (x *TunnelRequest) GetTls() *TlsTunnelRequest

func (*TunnelRequest) ProtoMessage

func (*TunnelRequest) ProtoMessage()

func (*TunnelRequest) ProtoReflect

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

func (*TunnelRequest) Reset

func (x *TunnelRequest) Reset()

func (*TunnelRequest) String

func (x *TunnelRequest) String() string

type TunnelRequest_Http

type TunnelRequest_Http struct {
	Http *HttpTunnelRequest `protobuf:"bytes,2,opt,name=http,proto3,oneof"`
}

type TunnelRequest_Tls

type TunnelRequest_Tls struct {
	Tls *TlsTunnelRequest `protobuf:"bytes,1,opt,name=tls,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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