Documentation ¶
Index ¶
- Variables
- type SniMatch
- func (*SniMatch) Descriptor() ([]byte, []int)deprecated
- func (x *SniMatch) GetExact() string
- func (m *SniMatch) GetMatch() isSniMatch_Match
- func (x *SniMatch) GetSuffix() *SniMatch_Suffix
- func (*SniMatch) ProtoMessage()
- func (x *SniMatch) ProtoReflect() protoreflect.Message
- func (x *SniMatch) Reset()
- func (x *SniMatch) String() string
- type SniMatch_Exact
- type SniMatch_Suffix
- type SniMatch_Suffix_
Constants ¶
This section is empty.
Variables ¶
View Source
var File_tls_route_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SniMatch ¶
type SniMatch struct { // Types that are assignable to Match: // // *SniMatch_Exact // *SniMatch_Suffix_ Match isSniMatch_Match `protobuf_oneof:"match"` // contains filtered or unexported fields }
Describes how to match an `SNI` ClientHello extension.
func (*SniMatch) Descriptor
deprecated
func (*SniMatch) GetSuffix ¶
func (x *SniMatch) GetSuffix() *SniMatch_Suffix
func (*SniMatch) ProtoMessage ¶
func (*SniMatch) ProtoMessage()
func (*SniMatch) ProtoReflect ¶
func (x *SniMatch) ProtoReflect() protoreflect.Message
type SniMatch_Exact ¶
type SniMatch_Exact struct { // Match an exact SNI, e.g. www.example.com. Exact string `protobuf:"bytes,1,opt,name=exact,proto3,oneof"` }
type SniMatch_Suffix ¶
type SniMatch_Suffix struct { ReverseLabels []string `protobuf:"bytes,1,rep,name=reverse_labels,json=reverseLabels,proto3" json:"reverse_labels,omitempty"` // contains filtered or unexported fields }
A match like `*.example.com` is encoded as [com, example].
func (*SniMatch_Suffix) Descriptor
deprecated
func (*SniMatch_Suffix) Descriptor() ([]byte, []int)
Deprecated: Use SniMatch_Suffix.ProtoReflect.Descriptor instead.
func (*SniMatch_Suffix) GetReverseLabels ¶
func (x *SniMatch_Suffix) GetReverseLabels() []string
func (*SniMatch_Suffix) ProtoMessage ¶
func (*SniMatch_Suffix) ProtoMessage()
func (*SniMatch_Suffix) ProtoReflect ¶
func (x *SniMatch_Suffix) ProtoReflect() protoreflect.Message
func (*SniMatch_Suffix) Reset ¶
func (x *SniMatch_Suffix) Reset()
func (*SniMatch_Suffix) String ¶
func (x *SniMatch_Suffix) String() string
type SniMatch_Suffix_ ¶
type SniMatch_Suffix_ struct { // Match a SNI as a wildcard suffix, e.g. *.example.com. Suffix *SniMatch_Suffix `protobuf:"bytes,2,opt,name=suffix,proto3,oneof"` }
Click to show internal directories.
Click to hide internal directories.