Versions in this module Expand all Collapse all v0 v0.1.1 Jul 21, 2018 v0.1.0 Jan 6, 2018 Changes in this version + var ErrCode_name = map[int32]string + var ErrCode_value = map[string]int32 + var ErrIntOverflowMsg = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthMsg = fmt.Errorf("proto: negative length found during unmarshaling") + type CloseTunnelRequest struct + ClientHash string + ID string + TunnelHash string + func (*CloseTunnelRequest) Descriptor() ([]byte, []int) + func (*CloseTunnelRequest) ProtoMessage() + func (m *CloseTunnelRequest) Marshal() (dAtA []byte, err error) + func (m *CloseTunnelRequest) MarshalTo(dAtA []byte) (int, error) + func (m *CloseTunnelRequest) Reset() + func (m *CloseTunnelRequest) Size() (n int) + func (m *CloseTunnelRequest) Unmarshal(dAtA []byte) error + func (this *CloseTunnelRequest) Equal(that interface{}) bool + func (this *CloseTunnelRequest) GoString() string + func (this *CloseTunnelRequest) String() string + type CloseTunnelResponse struct + ErrCode ErrCode + TunnelHash string + func (*CloseTunnelResponse) Descriptor() ([]byte, []int) + func (*CloseTunnelResponse) ProtoMessage() + func (m *CloseTunnelResponse) Marshal() (dAtA []byte, err error) + func (m *CloseTunnelResponse) MarshalTo(dAtA []byte) (int, error) + func (m *CloseTunnelResponse) Reset() + func (m *CloseTunnelResponse) Size() (n int) + func (m *CloseTunnelResponse) Unmarshal(dAtA []byte) error + func (this *CloseTunnelResponse) Equal(that interface{}) bool + func (this *CloseTunnelResponse) GoString() string + func (this *CloseTunnelResponse) String() string + type ErrCode int32 + const ErrCodeBadClient + const ErrCodeBadProtoOrAddr + const ErrCodeBadRegistryAddr + const ErrCodeBadVersion + const ErrCodeDuplicateAgent + const ErrCodeInternalServerError + const ErrCodeNoSuchTunnel + const ErrCodeNull + func (ErrCode) EnumDescriptor() ([]byte, []int) + func (x ErrCode) String() string + type HandshakeRequest struct + Device string + Hash string + ID string + Version string + func (*HandshakeRequest) Descriptor() ([]byte, []int) + func (*HandshakeRequest) ProtoMessage() + func (m *HandshakeRequest) Marshal() (dAtA []byte, err error) + func (m *HandshakeRequest) MarshalTo(dAtA []byte) (int, error) + func (m *HandshakeRequest) Reset() + func (m *HandshakeRequest) Size() (n int) + func (m *HandshakeRequest) Unmarshal(dAtA []byte) error + func (this *HandshakeRequest) Equal(that interface{}) bool + func (this *HandshakeRequest) GoString() string + func (this *HandshakeRequest) String() string + type HandshakeResponse struct + ErrCode ErrCode + func (*HandshakeResponse) Descriptor() ([]byte, []int) + func (*HandshakeResponse) ProtoMessage() + func (m *HandshakeResponse) Marshal() (dAtA []byte, err error) + func (m *HandshakeResponse) MarshalTo(dAtA []byte) (int, error) + func (m *HandshakeResponse) Reset() + func (m *HandshakeResponse) Size() (n int) + func (m *HandshakeResponse) Unmarshal(dAtA []byte) error + func (this *HandshakeResponse) Equal(that interface{}) bool + func (this *HandshakeResponse) GoString() string + func (this *HandshakeResponse) String() string + type Message struct + Body isMessage_Body + func (*Message) Descriptor() ([]byte, []int) + func (*Message) ProtoMessage() + func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...) + func (m *Message) GetBody() isMessage_Body + func (m *Message) GetCloseTunnelRequest() *CloseTunnelRequest + func (m *Message) GetCloseTunnelResponse() *CloseTunnelResponse + func (m *Message) GetHandshakeRequest() *HandshakeRequest + func (m *Message) GetHandshakeResponse() *HandshakeResponse + func (m *Message) GetNewTunnelRequest() *NewTunnelRequest + func (m *Message) GetNewTunnelResponse() *NewTunnelResponse + func (m *Message) GetPingRequest() *PingRequest + func (m *Message) GetPingResponse() *PingResponse + func (m *Message) GetShutdownRequest() *ShutdownRequest + func (m *Message) GetTunnelHandshakeRequest() *TunnelHandshakeRequest + func (m *Message) GetTunnelHandshakeResponse() *TunnelHandshakeResponse + func (m *Message) Marshal() (dAtA []byte, err error) + func (m *Message) MarshalTo(dAtA []byte) (int, error) + func (m *Message) Reset() + func (m *Message) Size() (n int) + func (m *Message) Unmarshal(dAtA []byte) error + func (this *Message) Equal(that interface{}) bool + func (this *Message) GoString() string + func (this *Message) String() string + type Message_CloseTunnelRequest struct + CloseTunnelRequest *CloseTunnelRequest + func (m *Message_CloseTunnelRequest) MarshalTo(dAtA []byte) (int, error) + func (m *Message_CloseTunnelRequest) Size() (n int) + func (this *Message_CloseTunnelRequest) Equal(that interface{}) bool + func (this *Message_CloseTunnelRequest) GoString() string + func (this *Message_CloseTunnelRequest) String() string + type Message_CloseTunnelResponse struct + CloseTunnelResponse *CloseTunnelResponse + func (m *Message_CloseTunnelResponse) MarshalTo(dAtA []byte) (int, error) + func (m *Message_CloseTunnelResponse) Size() (n int) + func (this *Message_CloseTunnelResponse) Equal(that interface{}) bool + func (this *Message_CloseTunnelResponse) GoString() string + func (this *Message_CloseTunnelResponse) String() string + type Message_HandshakeRequest struct + HandshakeRequest *HandshakeRequest + func (m *Message_HandshakeRequest) MarshalTo(dAtA []byte) (int, error) + func (m *Message_HandshakeRequest) Size() (n int) + func (this *Message_HandshakeRequest) Equal(that interface{}) bool + func (this *Message_HandshakeRequest) GoString() string + func (this *Message_HandshakeRequest) String() string + type Message_HandshakeResponse struct + HandshakeResponse *HandshakeResponse + func (m *Message_HandshakeResponse) MarshalTo(dAtA []byte) (int, error) + func (m *Message_HandshakeResponse) Size() (n int) + func (this *Message_HandshakeResponse) Equal(that interface{}) bool + func (this *Message_HandshakeResponse) GoString() string + func (this *Message_HandshakeResponse) String() string + type Message_NewTunnelRequest struct + NewTunnelRequest *NewTunnelRequest + func (m *Message_NewTunnelRequest) MarshalTo(dAtA []byte) (int, error) + func (m *Message_NewTunnelRequest) Size() (n int) + func (this *Message_NewTunnelRequest) Equal(that interface{}) bool + func (this *Message_NewTunnelRequest) GoString() string + func (this *Message_NewTunnelRequest) String() string + type Message_NewTunnelResponse struct + NewTunnelResponse *NewTunnelResponse + func (m *Message_NewTunnelResponse) MarshalTo(dAtA []byte) (int, error) + func (m *Message_NewTunnelResponse) Size() (n int) + func (this *Message_NewTunnelResponse) Equal(that interface{}) bool + func (this *Message_NewTunnelResponse) GoString() string + func (this *Message_NewTunnelResponse) String() string + type Message_PingRequest struct + PingRequest *PingRequest + func (m *Message_PingRequest) MarshalTo(dAtA []byte) (int, error) + func (m *Message_PingRequest) Size() (n int) + func (this *Message_PingRequest) Equal(that interface{}) bool + func (this *Message_PingRequest) GoString() string + func (this *Message_PingRequest) String() string + type Message_PingResponse struct + PingResponse *PingResponse + func (m *Message_PingResponse) MarshalTo(dAtA []byte) (int, error) + func (m *Message_PingResponse) Size() (n int) + func (this *Message_PingResponse) Equal(that interface{}) bool + func (this *Message_PingResponse) GoString() string + func (this *Message_PingResponse) String() string + type Message_ShutdownRequest struct + ShutdownRequest *ShutdownRequest + func (m *Message_ShutdownRequest) MarshalTo(dAtA []byte) (int, error) + func (m *Message_ShutdownRequest) Size() (n int) + func (this *Message_ShutdownRequest) Equal(that interface{}) bool + func (this *Message_ShutdownRequest) GoString() string + func (this *Message_ShutdownRequest) String() string + type Message_TunnelHandshakeRequest struct + TunnelHandshakeRequest *TunnelHandshakeRequest + func (m *Message_TunnelHandshakeRequest) MarshalTo(dAtA []byte) (int, error) + func (m *Message_TunnelHandshakeRequest) Size() (n int) + func (this *Message_TunnelHandshakeRequest) Equal(that interface{}) bool + func (this *Message_TunnelHandshakeRequest) GoString() string + func (this *Message_TunnelHandshakeRequest) String() string + type Message_TunnelHandshakeResponse struct + TunnelHandshakeResponse *TunnelHandshakeResponse + func (m *Message_TunnelHandshakeResponse) MarshalTo(dAtA []byte) (int, error) + func (m *Message_TunnelHandshakeResponse) Size() (n int) + func (this *Message_TunnelHandshakeResponse) Equal(that interface{}) bool + func (this *Message_TunnelHandshakeResponse) GoString() string + func (this *Message_TunnelHandshakeResponse) String() string + type NewTunnelRequest struct + ClientHash string + ExportAddr string + ID string + Proto string + RegistryAddr string + TunnelHash string + func (*NewTunnelRequest) Descriptor() ([]byte, []int) + func (*NewTunnelRequest) ProtoMessage() + func (m *NewTunnelRequest) Marshal() (dAtA []byte, err error) + func (m *NewTunnelRequest) MarshalTo(dAtA []byte) (int, error) + func (m *NewTunnelRequest) Reset() + func (m *NewTunnelRequest) Size() (n int) + func (m *NewTunnelRequest) Unmarshal(dAtA []byte) error + func (this *NewTunnelRequest) Equal(that interface{}) bool + func (this *NewTunnelRequest) GoString() string + func (this *NewTunnelRequest) String() string + type NewTunnelResponse struct + ErrCode ErrCode + TunnelHash string + func (*NewTunnelResponse) Descriptor() ([]byte, []int) + func (*NewTunnelResponse) ProtoMessage() + func (m *NewTunnelResponse) Marshal() (dAtA []byte, err error) + func (m *NewTunnelResponse) MarshalTo(dAtA []byte) (int, error) + func (m *NewTunnelResponse) Reset() + func (m *NewTunnelResponse) Size() (n int) + func (m *NewTunnelResponse) Unmarshal(dAtA []byte) error + func (this *NewTunnelResponse) Equal(that interface{}) bool + func (this *NewTunnelResponse) GoString() string + func (this *NewTunnelResponse) String() string + type PingRequest struct + func (*PingRequest) Descriptor() ([]byte, []int) + func (*PingRequest) ProtoMessage() + func (m *PingRequest) Marshal() (dAtA []byte, err error) + func (m *PingRequest) MarshalTo(dAtA []byte) (int, error) + func (m *PingRequest) Reset() + func (m *PingRequest) Size() (n int) + func (m *PingRequest) Unmarshal(dAtA []byte) error + func (this *PingRequest) Equal(that interface{}) bool + func (this *PingRequest) GoString() string + func (this *PingRequest) String() string + type PingResponse struct + func (*PingResponse) Descriptor() ([]byte, []int) + func (*PingResponse) ProtoMessage() + func (m *PingResponse) Marshal() (dAtA []byte, err error) + func (m *PingResponse) MarshalTo(dAtA []byte) (int, error) + func (m *PingResponse) Reset() + func (m *PingResponse) Size() (n int) + func (m *PingResponse) Unmarshal(dAtA []byte) error + func (this *PingResponse) Equal(that interface{}) bool + func (this *PingResponse) GoString() string + func (this *PingResponse) String() string + type ShutdownRequest struct + ClientHash string + ID string + func (*ShutdownRequest) Descriptor() ([]byte, []int) + func (*ShutdownRequest) ProtoMessage() + func (m *ShutdownRequest) Marshal() (dAtA []byte, err error) + func (m *ShutdownRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ShutdownRequest) Reset() + func (m *ShutdownRequest) Size() (n int) + func (m *ShutdownRequest) Unmarshal(dAtA []byte) error + func (this *ShutdownRequest) Equal(that interface{}) bool + func (this *ShutdownRequest) GoString() string + func (this *ShutdownRequest) String() string + type TunnelHandshakeRequest struct + ClientHash string + ID string + TunnelHash string + func (*TunnelHandshakeRequest) Descriptor() ([]byte, []int) + func (*TunnelHandshakeRequest) ProtoMessage() + func (m *TunnelHandshakeRequest) Marshal() (dAtA []byte, err error) + func (m *TunnelHandshakeRequest) MarshalTo(dAtA []byte) (int, error) + func (m *TunnelHandshakeRequest) Reset() + func (m *TunnelHandshakeRequest) Size() (n int) + func (m *TunnelHandshakeRequest) Unmarshal(dAtA []byte) error + func (this *TunnelHandshakeRequest) Equal(that interface{}) bool + func (this *TunnelHandshakeRequest) GoString() string + func (this *TunnelHandshakeRequest) String() string + type TunnelHandshakeResponse struct + ErrCode ErrCode + func (*TunnelHandshakeResponse) Descriptor() ([]byte, []int) + func (*TunnelHandshakeResponse) ProtoMessage() + func (m *TunnelHandshakeResponse) Marshal() (dAtA []byte, err error) + func (m *TunnelHandshakeResponse) MarshalTo(dAtA []byte) (int, error) + func (m *TunnelHandshakeResponse) Reset() + func (m *TunnelHandshakeResponse) Size() (n int) + func (m *TunnelHandshakeResponse) Unmarshal(dAtA []byte) error + func (this *TunnelHandshakeResponse) Equal(that interface{}) bool + func (this *TunnelHandshakeResponse) GoString() string + func (this *TunnelHandshakeResponse) String() string