Documentation
¶
Index ¶
- Variables
- type Bus
- type ErrorMessage
- func (*ErrorMessage) Descriptor() ([]byte, []int)
- func (m *ErrorMessage) GetBusID() string
- func (m *ErrorMessage) GetErrorMessage() string
- func (m *ErrorMessage) GetTimestamp() int64
- func (m *ErrorMessage) Marshal() (dAtA []byte, err error)
- func (m *ErrorMessage) MarshalTo(dAtA []byte) (int, error)
- func (m *ErrorMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ErrorMessage) ProtoMessage()
- func (m *ErrorMessage) Reset()
- func (m *ErrorMessage) Size() (n int)
- func (m *ErrorMessage) String() string
- func (m *ErrorMessage) Unmarshal(dAtA []byte) error
- func (m *ErrorMessage) XXX_DiscardUnknown()
- func (m *ErrorMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ErrorMessage) XXX_Merge(src proto.Message)
- func (m *ErrorMessage) XXX_Size() int
- func (m *ErrorMessage) XXX_Unmarshal(b []byte) error
- type ServiceConfiguration
- type StreamInfo
- func (*StreamInfo) Descriptor() ([]byte, []int)
- func (m *StreamInfo) GetID() string
- func (m *StreamInfo) Marshal() (dAtA []byte, err error)
- func (m *StreamInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *StreamInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StreamInfo) ProtoMessage()
- func (m *StreamInfo) Reset()
- func (m *StreamInfo) Size() (n int)
- func (m *StreamInfo) String() string
- func (m *StreamInfo) Unmarshal(dAtA []byte) error
- func (m *StreamInfo) XXX_DiscardUnknown()
- func (m *StreamInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StreamInfo) XXX_Merge(src proto.Message)
- func (m *StreamInfo) XXX_Size() int
- func (m *StreamInfo) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthNats = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowNats = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Bus ¶
type Bus struct { Connection *nats.Conn Configuration ServiceConfiguration Context context.Context }
func (*Bus) HandleError ¶
type ErrorMessage ¶
type ErrorMessage struct { ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` BusID string `protobuf:"bytes,3,opt,name=busID,proto3" json:"busID,omitempty"` }
func (*ErrorMessage) Descriptor ¶
func (*ErrorMessage) Descriptor() ([]byte, []int)
func (*ErrorMessage) GetBusID ¶
func (m *ErrorMessage) GetBusID() string
func (*ErrorMessage) GetErrorMessage ¶
func (m *ErrorMessage) GetErrorMessage() string
func (*ErrorMessage) GetTimestamp ¶
func (m *ErrorMessage) GetTimestamp() int64
func (*ErrorMessage) Marshal ¶
func (m *ErrorMessage) Marshal() (dAtA []byte, err error)
func (*ErrorMessage) MarshalToSizedBuffer ¶
func (m *ErrorMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ErrorMessage) ProtoMessage ¶
func (*ErrorMessage) ProtoMessage()
func (*ErrorMessage) Reset ¶
func (m *ErrorMessage) Reset()
func (*ErrorMessage) Size ¶
func (m *ErrorMessage) Size() (n int)
func (*ErrorMessage) String ¶
func (m *ErrorMessage) String() string
func (*ErrorMessage) Unmarshal ¶
func (m *ErrorMessage) Unmarshal(dAtA []byte) error
func (*ErrorMessage) XXX_DiscardUnknown ¶
func (m *ErrorMessage) XXX_DiscardUnknown()
func (*ErrorMessage) XXX_Marshal ¶
func (m *ErrorMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ErrorMessage) XXX_Merge ¶
func (m *ErrorMessage) XXX_Merge(src proto.Message)
func (*ErrorMessage) XXX_Size ¶
func (m *ErrorMessage) XXX_Size() int
func (*ErrorMessage) XXX_Unmarshal ¶
func (m *ErrorMessage) XXX_Unmarshal(b []byte) error
type ServiceConfiguration ¶
type StreamInfo ¶
type StreamInfo struct {
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
}
func (*StreamInfo) Descriptor ¶
func (*StreamInfo) Descriptor() ([]byte, []int)
func (*StreamInfo) GetID ¶
func (m *StreamInfo) GetID() string
func (*StreamInfo) Marshal ¶
func (m *StreamInfo) Marshal() (dAtA []byte, err error)
func (*StreamInfo) MarshalToSizedBuffer ¶
func (m *StreamInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StreamInfo) ProtoMessage ¶
func (*StreamInfo) ProtoMessage()
func (*StreamInfo) Reset ¶
func (m *StreamInfo) Reset()
func (*StreamInfo) Size ¶
func (m *StreamInfo) Size() (n int)
func (*StreamInfo) String ¶
func (m *StreamInfo) String() string
func (*StreamInfo) Unmarshal ¶
func (m *StreamInfo) Unmarshal(dAtA []byte) error
func (*StreamInfo) XXX_DiscardUnknown ¶
func (m *StreamInfo) XXX_DiscardUnknown()
func (*StreamInfo) XXX_Marshal ¶
func (m *StreamInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamInfo) XXX_Merge ¶
func (m *StreamInfo) XXX_Merge(src proto.Message)
func (*StreamInfo) XXX_Size ¶
func (m *StreamInfo) XXX_Size() int
func (*StreamInfo) XXX_Unmarshal ¶
func (m *StreamInfo) XXX_Unmarshal(b []byte) error
Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
Code generated by github.com/citradigital/protonats.
|
Code generated by github.com/citradigital/protonats. |
Click to show internal directories.
Click to hide internal directories.