Documentation ¶
Overview ¶
Package types is a generated protocol buffer package.
It is generated from these files:
github.com/TheThingsNetwork/gateway-connector-bridge/types/types.proto
It has these top-level messages:
ConnectMessage DisconnectMessage
Index ¶
- Variables
- type ConnectMessage
- func (*ConnectMessage) Descriptor() ([]byte, []int)
- func (m *ConnectMessage) GetGatewayID() string
- func (m *ConnectMessage) GetKey() string
- func (m *ConnectMessage) Marshal() (dAtA []byte, err error)
- func (m *ConnectMessage) MarshalTo(dAtA []byte) (int, error)
- func (*ConnectMessage) ProtoMessage()
- func (m *ConnectMessage) Reset()
- func (m *ConnectMessage) Size() (n int)
- func (m *ConnectMessage) String() string
- func (m *ConnectMessage) Unmarshal(dAtA []byte) error
- type DisconnectMessage
- func (*DisconnectMessage) Descriptor() ([]byte, []int)
- func (m *DisconnectMessage) GetGatewayID() string
- func (m *DisconnectMessage) GetKey() string
- func (m *DisconnectMessage) Marshal() (dAtA []byte, err error)
- func (m *DisconnectMessage) MarshalTo(dAtA []byte) (int, error)
- func (*DisconnectMessage) ProtoMessage()
- func (m *DisconnectMessage) Reset()
- func (m *DisconnectMessage) Size() (n int)
- func (m *DisconnectMessage) String() string
- func (m *DisconnectMessage) Unmarshal(dAtA []byte) error
- type DownlinkMessage
- type StatusMessage
- type UplinkMessage
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type ConnectMessage ¶
type ConnectMessage struct { GatewayID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` }
func (*ConnectMessage) Descriptor ¶
func (*ConnectMessage) Descriptor() ([]byte, []int)
func (*ConnectMessage) GetGatewayID ¶
func (m *ConnectMessage) GetGatewayID() string
func (*ConnectMessage) GetKey ¶
func (m *ConnectMessage) GetKey() string
func (*ConnectMessage) Marshal ¶
func (m *ConnectMessage) Marshal() (dAtA []byte, err error)
func (*ConnectMessage) ProtoMessage ¶
func (*ConnectMessage) ProtoMessage()
func (*ConnectMessage) Reset ¶
func (m *ConnectMessage) Reset()
func (*ConnectMessage) Size ¶
func (m *ConnectMessage) Size() (n int)
func (*ConnectMessage) String ¶
func (m *ConnectMessage) String() string
func (*ConnectMessage) Unmarshal ¶
func (m *ConnectMessage) Unmarshal(dAtA []byte) error
type DisconnectMessage ¶
type DisconnectMessage struct { GatewayID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` }
func (*DisconnectMessage) Descriptor ¶
func (*DisconnectMessage) Descriptor() ([]byte, []int)
func (*DisconnectMessage) GetGatewayID ¶
func (m *DisconnectMessage) GetGatewayID() string
func (*DisconnectMessage) GetKey ¶
func (m *DisconnectMessage) GetKey() string
func (*DisconnectMessage) Marshal ¶
func (m *DisconnectMessage) Marshal() (dAtA []byte, err error)
func (*DisconnectMessage) MarshalTo ¶
func (m *DisconnectMessage) MarshalTo(dAtA []byte) (int, error)
func (*DisconnectMessage) ProtoMessage ¶
func (*DisconnectMessage) ProtoMessage()
func (*DisconnectMessage) Reset ¶
func (m *DisconnectMessage) Reset()
func (*DisconnectMessage) Size ¶
func (m *DisconnectMessage) Size() (n int)
func (*DisconnectMessage) String ¶
func (m *DisconnectMessage) String() string
func (*DisconnectMessage) Unmarshal ¶
func (m *DisconnectMessage) Unmarshal(dAtA []byte) error
type DownlinkMessage ¶
type DownlinkMessage struct { GatewayID string Message *router.DownlinkMessage }
DownlinkMessage is used internally
type StatusMessage ¶
type StatusMessage struct { Backend string GatewayID string GatewayAddr net.Addr Message *gateway.Status }
StatusMessage is used internally
type UplinkMessage ¶
type UplinkMessage struct { GatewayID string GatewayAddr net.Addr Message *router.UplinkMessage }
UplinkMessage is used internally
Click to show internal directories.
Click to hide internal directories.