Documentation ¶
Index ¶
- type Alts
- func (*Alts) Descriptor() ([]byte, []int)
- func (m *Alts) GetHandshakerService() string
- func (m *Alts) GetPeerServiceAccounts() []string
- func (*Alts) ProtoMessage()
- func (m *Alts) Reset()
- func (m *Alts) String() string
- func (m *Alts) Validate() error
- func (m *Alts) XXX_DiscardUnknown()
- func (m *Alts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Alts) XXX_Merge(src proto.Message)
- func (m *Alts) XXX_Size() int
- func (m *Alts) XXX_Unmarshal(b []byte) error
- type AltsValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alts ¶
type Alts struct { HandshakerService string `protobuf:"bytes,1,opt,name=handshaker_service,json=handshakerService,proto3" json:"handshaker_service,omitempty"` PeerServiceAccounts []string `protobuf:"bytes,2,rep,name=peer_service_accounts,json=peerServiceAccounts,proto3" json:"peer_service_accounts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Alts) Descriptor ¶
func (*Alts) GetHandshakerService ¶
func (*Alts) GetPeerServiceAccounts ¶
func (*Alts) ProtoMessage ¶
func (*Alts) ProtoMessage()
func (*Alts) Validate ¶
Validate checks the field values on Alts with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Alts) XXX_DiscardUnknown ¶
func (m *Alts) XXX_DiscardUnknown()
func (*Alts) XXX_Unmarshal ¶
type AltsValidationError ¶
type AltsValidationError struct {
// contains filtered or unexported fields
}
AltsValidationError is the validation error returned by Alts.Validate if the designated constraints aren't met.
func (AltsValidationError) Cause ¶
func (e AltsValidationError) Cause() error
Cause function returns cause value.
func (AltsValidationError) Error ¶
func (e AltsValidationError) Error() string
Error satisfies the builtin error interface
func (AltsValidationError) ErrorName ¶ added in v0.7.0
func (e AltsValidationError) ErrorName() string
ErrorName returns error name.
func (AltsValidationError) Field ¶
func (e AltsValidationError) Field() string
Field function returns field value.
func (AltsValidationError) Key ¶
func (e AltsValidationError) Key() bool
Key function returns key value.
func (AltsValidationError) Reason ¶
func (e AltsValidationError) Reason() string
Reason function returns reason value.
Click to show internal directories.
Click to hide internal directories.