Documentation ¶
Overview ¶
Package Protocol_Data_AuthHiddenService is a generated protocol buffer package.
It is generated from these files:
AuthHiddenService.proto
It has these top-level messages:
Packet Proof Result
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var E_ClientCookie = &proto.ExtensionDesc{ ExtendedType: (*Protocol_Data_Control.OpenChannel)(nil), ExtensionType: ([]byte)(nil), Field: 7200, Name: "Protocol.Data.AuthHiddenService.client_cookie", Tag: "bytes,7200,opt,name=client_cookie", }
View Source
var E_ServerCookie = &proto.ExtensionDesc{ ExtendedType: (*Protocol_Data_Control.ChannelResult)(nil), ExtensionType: ([]byte)(nil), Field: 7200, Name: "Protocol.Data.AuthHiddenService.server_cookie", Tag: "bytes,7200,opt,name=server_cookie", }
Functions ¶
This section is empty.
Types ¶
type Packet ¶
type Packet struct { Proof *Proof `protobuf:"bytes,1,opt,name=proof" json:"proof,omitempty"` Result *Result `protobuf:"bytes,2,opt,name=result" json:"result,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Packet) ProtoMessage ¶
func (*Packet) ProtoMessage()
type Proof ¶
type Proof struct { PublicKey []byte `protobuf:"bytes,1,opt,name=public_key" json:"public_key,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Proof) GetPublicKey ¶
func (*Proof) GetSignature ¶
func (*Proof) ProtoMessage ¶
func (*Proof) ProtoMessage()
type Result ¶
type Result struct { Accepted *bool `protobuf:"varint,1,req,name=accepted" json:"accepted,omitempty"` IsKnownContact *bool `protobuf:"varint,2,opt,name=is_known_contact" json:"is_known_contact,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Result) GetAccepted ¶
func (*Result) GetIsKnownContact ¶
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.