pb

package
v0.10.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 6 Imported by: 39

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthProtocol        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProtocol          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProtocol = fmt.Errorf("proto: unexpected end of group")
)
View Source
var StartPosition_name = map[int32]string{
	0: "NewOnly",
	1: "LastReceived",
	2: "TimeDeltaStart",
	3: "SequenceStart",
	4: "First",
}
View Source
var StartPosition_value = map[string]int32{
	"NewOnly":        0,
	"LastReceived":   1,
	"TimeDeltaStart": 2,
	"SequenceStart":  3,
	"First":          4,
}

Functions

This section is empty.

Types

type Ack

type Ack struct {
	Subject  string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
}

Ack will deliver an ack for a delivered msg.

func (*Ack) Descriptor added in v0.4.0

func (*Ack) Descriptor() ([]byte, []int)

func (*Ack) Marshal

func (m *Ack) Marshal() (dAtA []byte, err error)

func (*Ack) MarshalTo

func (m *Ack) MarshalTo(dAtA []byte) (int, error)

func (*Ack) MarshalToSizedBuffer added in v0.8.2

func (m *Ack) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Ack) ProtoMessage

func (*Ack) ProtoMessage()

func (*Ack) Reset

func (m *Ack) Reset()

func (*Ack) Size

func (m *Ack) Size() (n int)

func (*Ack) String

func (m *Ack) String() string

func (*Ack) Unmarshal

func (m *Ack) Unmarshal(dAtA []byte) error

func (*Ack) XXX_DiscardUnknown added in v0.8.2

func (m *Ack) XXX_DiscardUnknown()

func (*Ack) XXX_Marshal added in v0.8.2

func (m *Ack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ack) XXX_Merge added in v0.8.2

func (m *Ack) XXX_Merge(src proto.Message)

func (*Ack) XXX_Size added in v0.8.2

func (m *Ack) XXX_Size() int

func (*Ack) XXX_Unmarshal added in v0.8.2

func (m *Ack) XXX_Unmarshal(b []byte) error

type CloseRequest

type CloseRequest struct {
	ClientID string `protobuf:"bytes,1,opt,name=clientID,proto3" json:"clientID,omitempty"`
}

Protocol for a client to close a connection

func (*CloseRequest) Descriptor added in v0.4.0

func (*CloseRequest) Descriptor() ([]byte, []int)

func (*CloseRequest) Marshal

func (m *CloseRequest) Marshal() (dAtA []byte, err error)

func (*CloseRequest) MarshalTo

func (m *CloseRequest) MarshalTo(dAtA []byte) (int, error)

func (*CloseRequest) MarshalToSizedBuffer added in v0.8.2

func (m *CloseRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloseRequest) ProtoMessage

func (*CloseRequest) ProtoMessage()

func (*CloseRequest) Reset

func (m *CloseRequest) Reset()

func (*CloseRequest) Size

func (m *CloseRequest) Size() (n int)

func (*CloseRequest) String

func (m *CloseRequest) String() string

func (*CloseRequest) Unmarshal

func (m *CloseRequest) Unmarshal(dAtA []byte) error

func (*CloseRequest) XXX_DiscardUnknown added in v0.8.2

func (m *CloseRequest) XXX_DiscardUnknown()

func (*CloseRequest) XXX_Marshal added in v0.8.2

func (m *CloseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloseRequest) XXX_Merge added in v0.8.2

func (m *CloseRequest) XXX_Merge(src proto.Message)

func (*CloseRequest) XXX_Size added in v0.8.2

func (m *CloseRequest) XXX_Size() int

func (*CloseRequest) XXX_Unmarshal added in v0.8.2

func (m *CloseRequest) XXX_Unmarshal(b []byte) error

type CloseResponse

type CloseResponse struct {
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
}

Response for CloseRequest

func (*CloseResponse) Descriptor added in v0.4.0

func (*CloseResponse) Descriptor() ([]byte, []int)

func (*CloseResponse) Marshal

func (m *CloseResponse) Marshal() (dAtA []byte, err error)

func (*CloseResponse) MarshalTo

func (m *CloseResponse) MarshalTo(dAtA []byte) (int, error)

func (*CloseResponse) MarshalToSizedBuffer added in v0.8.2

func (m *CloseResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloseResponse) ProtoMessage

func (*CloseResponse) ProtoMessage()

func (*CloseResponse) Reset

func (m *CloseResponse) Reset()

func (*CloseResponse) Size

func (m *CloseResponse) Size() (n int)

func (*CloseResponse) String

func (m *CloseResponse) String() string

func (*CloseResponse) Unmarshal

func (m *CloseResponse) Unmarshal(dAtA []byte) error

func (*CloseResponse) XXX_DiscardUnknown added in v0.8.2

func (m *CloseResponse) XXX_DiscardUnknown()

func (*CloseResponse) XXX_Marshal added in v0.8.2

func (m *CloseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloseResponse) XXX_Merge added in v0.8.2

func (m *CloseResponse) XXX_Merge(src proto.Message)

func (*CloseResponse) XXX_Size added in v0.8.2

func (m *CloseResponse) XXX_Size() int

func (*CloseResponse) XXX_Unmarshal added in v0.8.2

func (m *CloseResponse) XXX_Unmarshal(b []byte) error

type ConnectRequest

type ConnectRequest struct {
	ClientID       string `protobuf:"bytes,1,opt,name=clientID,proto3" json:"clientID,omitempty"`
	HeartbeatInbox string `protobuf:"bytes,2,opt,name=heartbeatInbox,proto3" json:"heartbeatInbox,omitempty"`
	Protocol       int32  `protobuf:"varint,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
	ConnID         []byte `protobuf:"bytes,4,opt,name=connID,proto3" json:"connID,omitempty"`
	PingInterval   int32  `protobuf:"varint,5,opt,name=pingInterval,proto3" json:"pingInterval,omitempty"`
	PingMaxOut     int32  `protobuf:"varint,6,opt,name=pingMaxOut,proto3" json:"pingMaxOut,omitempty"`
}

Connection Request

func (*ConnectRequest) Descriptor added in v0.4.0

func (*ConnectRequest) Descriptor() ([]byte, []int)

func (*ConnectRequest) Marshal

func (m *ConnectRequest) Marshal() (dAtA []byte, err error)

func (*ConnectRequest) MarshalTo

func (m *ConnectRequest) MarshalTo(dAtA []byte) (int, error)

func (*ConnectRequest) MarshalToSizedBuffer added in v0.8.2

func (m *ConnectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConnectRequest) ProtoMessage

func (*ConnectRequest) ProtoMessage()

func (*ConnectRequest) Reset

func (m *ConnectRequest) Reset()

func (*ConnectRequest) Size

func (m *ConnectRequest) Size() (n int)

func (*ConnectRequest) String

func (m *ConnectRequest) String() string

func (*ConnectRequest) Unmarshal

func (m *ConnectRequest) Unmarshal(dAtA []byte) error

func (*ConnectRequest) XXX_DiscardUnknown added in v0.8.2

func (m *ConnectRequest) XXX_DiscardUnknown()

func (*ConnectRequest) XXX_Marshal added in v0.8.2

func (m *ConnectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConnectRequest) XXX_Merge added in v0.8.2

func (m *ConnectRequest) XXX_Merge(src proto.Message)

func (*ConnectRequest) XXX_Size added in v0.8.2

func (m *ConnectRequest) XXX_Size() int

func (*ConnectRequest) XXX_Unmarshal added in v0.8.2

func (m *ConnectRequest) XXX_Unmarshal(b []byte) error

type ConnectResponse

type ConnectResponse struct {
	PubPrefix        string `protobuf:"bytes,1,opt,name=pubPrefix,proto3" json:"pubPrefix,omitempty"`
	SubRequests      string `protobuf:"bytes,2,opt,name=subRequests,proto3" json:"subRequests,omitempty"`
	UnsubRequests    string `protobuf:"bytes,3,opt,name=unsubRequests,proto3" json:"unsubRequests,omitempty"`
	CloseRequests    string `protobuf:"bytes,4,opt,name=closeRequests,proto3" json:"closeRequests,omitempty"`
	Error            string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
	SubCloseRequests string `protobuf:"bytes,6,opt,name=subCloseRequests,proto3" json:"subCloseRequests,omitempty"`
	PingRequests     string `protobuf:"bytes,7,opt,name=pingRequests,proto3" json:"pingRequests,omitempty"`
	PingInterval     int32  `protobuf:"varint,8,opt,name=pingInterval,proto3" json:"pingInterval,omitempty"`
	PingMaxOut       int32  `protobuf:"varint,9,opt,name=pingMaxOut,proto3" json:"pingMaxOut,omitempty"`
	Protocol         int32  `protobuf:"varint,10,opt,name=protocol,proto3" json:"protocol,omitempty"`
	PublicKey        string `protobuf:"bytes,100,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
}

Response to a client connect

func (*ConnectResponse) Descriptor added in v0.4.0

func (*ConnectResponse) Descriptor() ([]byte, []int)

func (*ConnectResponse) Marshal

func (m *ConnectResponse) Marshal() (dAtA []byte, err error)

func (*ConnectResponse) MarshalTo

func (m *ConnectResponse) MarshalTo(dAtA []byte) (int, error)

func (*ConnectResponse) MarshalToSizedBuffer added in v0.8.2

func (m *ConnectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConnectResponse) ProtoMessage

func (*ConnectResponse) ProtoMessage()

func (*ConnectResponse) Reset

func (m *ConnectResponse) Reset()

func (*ConnectResponse) Size

func (m *ConnectResponse) Size() (n int)

func (*ConnectResponse) String

func (m *ConnectResponse) String() string

func (*ConnectResponse) Unmarshal

func (m *ConnectResponse) Unmarshal(dAtA []byte) error

func (*ConnectResponse) XXX_DiscardUnknown added in v0.8.2

func (m *ConnectResponse) XXX_DiscardUnknown()

func (*ConnectResponse) XXX_Marshal added in v0.8.2

func (m *ConnectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConnectResponse) XXX_Merge added in v0.8.2

func (m *ConnectResponse) XXX_Merge(src proto.Message)

func (*ConnectResponse) XXX_Size added in v0.8.2

func (m *ConnectResponse) XXX_Size() int

func (*ConnectResponse) XXX_Unmarshal added in v0.8.2

func (m *ConnectResponse) XXX_Unmarshal(b []byte) error

type MsgProto

type MsgProto struct {
	Sequence        uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
	Subject         string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	Reply           string `protobuf:"bytes,3,opt,name=reply,proto3" json:"reply,omitempty"`
	Data            []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	Timestamp       int64  `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Redelivered     bool   `protobuf:"varint,6,opt,name=redelivered,proto3" json:"redelivered,omitempty"`
	RedeliveryCount uint32 `protobuf:"varint,7,opt,name=redeliveryCount,proto3" json:"redeliveryCount,omitempty"`
	CRC32           uint32 `protobuf:"varint,10,opt,name=CRC32,proto3" json:"CRC32,omitempty"`
}

Msg struct. Sequence is assigned for global ordering by the cluster after the publisher has been acknowledged.

func (*MsgProto) Descriptor added in v0.4.0

func (*MsgProto) Descriptor() ([]byte, []int)

func (*MsgProto) Marshal

func (m *MsgProto) Marshal() (dAtA []byte, err error)

func (*MsgProto) MarshalTo

func (m *MsgProto) MarshalTo(dAtA []byte) (int, error)

func (*MsgProto) MarshalToSizedBuffer added in v0.8.2

func (m *MsgProto) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgProto) ProtoMessage

func (*MsgProto) ProtoMessage()

func (*MsgProto) Reset

func (m *MsgProto) Reset()

func (*MsgProto) Size

func (m *MsgProto) Size() (n int)

func (*MsgProto) String

func (m *MsgProto) String() string

func (*MsgProto) Unmarshal

func (m *MsgProto) Unmarshal(dAtA []byte) error

func (*MsgProto) XXX_DiscardUnknown added in v0.8.2

func (m *MsgProto) XXX_DiscardUnknown()

func (*MsgProto) XXX_Marshal added in v0.8.2

func (m *MsgProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgProto) XXX_Merge added in v0.8.2

func (m *MsgProto) XXX_Merge(src proto.Message)

func (*MsgProto) XXX_Size added in v0.8.2

func (m *MsgProto) XXX_Size() int

func (*MsgProto) XXX_Unmarshal added in v0.8.2

func (m *MsgProto) XXX_Unmarshal(b []byte) error

type Ping added in v0.4.0

type Ping struct {
	ConnID []byte `protobuf:"bytes,1,opt,name=connID,proto3" json:"connID,omitempty"`
}

PING from client to server

func (*Ping) Descriptor added in v0.4.0

func (*Ping) Descriptor() ([]byte, []int)

func (*Ping) Marshal added in v0.4.0

func (m *Ping) Marshal() (dAtA []byte, err error)

func (*Ping) MarshalTo added in v0.4.0

func (m *Ping) MarshalTo(dAtA []byte) (int, error)

func (*Ping) MarshalToSizedBuffer added in v0.8.2

func (m *Ping) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Ping) ProtoMessage added in v0.4.0

func (*Ping) ProtoMessage()

func (*Ping) Reset added in v0.4.0

func (m *Ping) Reset()

func (*Ping) Size added in v0.4.0

func (m *Ping) Size() (n int)

func (*Ping) String added in v0.4.0

func (m *Ping) String() string

func (*Ping) Unmarshal added in v0.4.0

func (m *Ping) Unmarshal(dAtA []byte) error

func (*Ping) XXX_DiscardUnknown added in v0.8.2

func (m *Ping) XXX_DiscardUnknown()

func (*Ping) XXX_Marshal added in v0.8.2

func (m *Ping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ping) XXX_Merge added in v0.8.2

func (m *Ping) XXX_Merge(src proto.Message)

func (*Ping) XXX_Size added in v0.8.2

func (m *Ping) XXX_Size() int

func (*Ping) XXX_Unmarshal added in v0.8.2

func (m *Ping) XXX_Unmarshal(b []byte) error

type PingResponse added in v0.4.0

type PingResponse struct {
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
}

PING response from the server

func (*PingResponse) Descriptor added in v0.4.0

func (*PingResponse) Descriptor() ([]byte, []int)

func (*PingResponse) Marshal added in v0.4.0

func (m *PingResponse) Marshal() (dAtA []byte, err error)

func (*PingResponse) MarshalTo added in v0.4.0

func (m *PingResponse) MarshalTo(dAtA []byte) (int, error)

func (*PingResponse) MarshalToSizedBuffer added in v0.8.2

func (m *PingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PingResponse) ProtoMessage added in v0.4.0

func (*PingResponse) ProtoMessage()

func (*PingResponse) Reset added in v0.4.0

func (m *PingResponse) Reset()

func (*PingResponse) Size added in v0.4.0

func (m *PingResponse) Size() (n int)

func (*PingResponse) String added in v0.4.0

func (m *PingResponse) String() string

func (*PingResponse) Unmarshal added in v0.4.0

func (m *PingResponse) Unmarshal(dAtA []byte) error

func (*PingResponse) XXX_DiscardUnknown added in v0.8.2

func (m *PingResponse) XXX_DiscardUnknown()

func (*PingResponse) XXX_Marshal added in v0.8.2

func (m *PingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PingResponse) XXX_Merge added in v0.8.2

func (m *PingResponse) XXX_Merge(src proto.Message)

func (*PingResponse) XXX_Size added in v0.8.2

func (m *PingResponse) XXX_Size() int

func (*PingResponse) XXX_Unmarshal added in v0.8.2

func (m *PingResponse) XXX_Unmarshal(b []byte) error

type PubAck

type PubAck struct {
	Guid  string `protobuf:"bytes,1,opt,name=guid,proto3" json:"guid,omitempty"`
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
}

Used to ACK to publishers

func (*PubAck) Descriptor added in v0.4.0

func (*PubAck) Descriptor() ([]byte, []int)

func (*PubAck) Marshal

func (m *PubAck) Marshal() (dAtA []byte, err error)

func (*PubAck) MarshalTo

func (m *PubAck) MarshalTo(dAtA []byte) (int, error)

func (*PubAck) MarshalToSizedBuffer added in v0.8.2

func (m *PubAck) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PubAck) ProtoMessage

func (*PubAck) ProtoMessage()

func (*PubAck) Reset

func (m *PubAck) Reset()

func (*PubAck) Size

func (m *PubAck) Size() (n int)

func (*PubAck) String

func (m *PubAck) String() string

func (*PubAck) Unmarshal

func (m *PubAck) Unmarshal(dAtA []byte) error

func (*PubAck) XXX_DiscardUnknown added in v0.8.2

func (m *PubAck) XXX_DiscardUnknown()

func (*PubAck) XXX_Marshal added in v0.8.2

func (m *PubAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PubAck) XXX_Merge added in v0.8.2

func (m *PubAck) XXX_Merge(src proto.Message)

func (*PubAck) XXX_Size added in v0.8.2

func (m *PubAck) XXX_Size() int

func (*PubAck) XXX_Unmarshal added in v0.8.2

func (m *PubAck) XXX_Unmarshal(b []byte) error

type PubMsg

type PubMsg struct {
	ClientID string `protobuf:"bytes,1,opt,name=clientID,proto3" json:"clientID,omitempty"`
	Guid     string `protobuf:"bytes,2,opt,name=guid,proto3" json:"guid,omitempty"`
	Subject  string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	Reply    string `protobuf:"bytes,4,opt,name=reply,proto3" json:"reply,omitempty"`
	Data     []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	ConnID   []byte `protobuf:"bytes,6,opt,name=connID,proto3" json:"connID,omitempty"`
	Sha256   []byte `protobuf:"bytes,10,opt,name=sha256,proto3" json:"sha256,omitempty"`
}

How messages are delivered to the STAN cluster

func (*PubMsg) Descriptor added in v0.4.0

func (*PubMsg) Descriptor() ([]byte, []int)

func (*PubMsg) Marshal

func (m *PubMsg) Marshal() (dAtA []byte, err error)

func (*PubMsg) MarshalTo

func (m *PubMsg) MarshalTo(dAtA []byte) (int, error)

func (*PubMsg) MarshalToSizedBuffer added in v0.8.2

func (m *PubMsg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PubMsg) ProtoMessage

func (*PubMsg) ProtoMessage()

func (*PubMsg) Reset

func (m *PubMsg) Reset()

func (*PubMsg) Size

func (m *PubMsg) Size() (n int)

func (*PubMsg) String

func (m *PubMsg) String() string

func (*PubMsg) Unmarshal

func (m *PubMsg) Unmarshal(dAtA []byte) error

func (*PubMsg) XXX_DiscardUnknown added in v0.8.2

func (m *PubMsg) XXX_DiscardUnknown()

func (*PubMsg) XXX_Marshal added in v0.8.2

func (m *PubMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PubMsg) XXX_Merge added in v0.8.2

func (m *PubMsg) XXX_Merge(src proto.Message)

func (*PubMsg) XXX_Size added in v0.8.2

func (m *PubMsg) XXX_Size() int

func (*PubMsg) XXX_Unmarshal added in v0.8.2

func (m *PubMsg) XXX_Unmarshal(b []byte) error

type StartPosition

type StartPosition int32

Enum for start position type.

const (
	StartPosition_NewOnly        StartPosition = 0
	StartPosition_LastReceived   StartPosition = 1
	StartPosition_TimeDeltaStart StartPosition = 2
	StartPosition_SequenceStart  StartPosition = 3
	StartPosition_First          StartPosition = 4
)

func (StartPosition) EnumDescriptor added in v0.4.0

func (StartPosition) EnumDescriptor() ([]byte, []int)

func (StartPosition) String

func (x StartPosition) String() string

type SubscriptionRequest

type SubscriptionRequest struct {
	ClientID       string        `protobuf:"bytes,1,opt,name=clientID,proto3" json:"clientID,omitempty"`
	Subject        string        `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	QGroup         string        `protobuf:"bytes,3,opt,name=qGroup,proto3" json:"qGroup,omitempty"`
	Inbox          string        `protobuf:"bytes,4,opt,name=inbox,proto3" json:"inbox,omitempty"`
	MaxInFlight    int32         `protobuf:"varint,5,opt,name=maxInFlight,proto3" json:"maxInFlight,omitempty"`
	AckWaitInSecs  int32         `protobuf:"varint,6,opt,name=ackWaitInSecs,proto3" json:"ackWaitInSecs,omitempty"`
	DurableName    string        `protobuf:"bytes,7,opt,name=durableName,proto3" json:"durableName,omitempty"`
	StartPosition  StartPosition `protobuf:"varint,10,opt,name=startPosition,proto3,enum=pb.StartPosition" json:"startPosition,omitempty"`
	StartSequence  uint64        `protobuf:"varint,11,opt,name=startSequence,proto3" json:"startSequence,omitempty"`
	StartTimeDelta int64         `protobuf:"varint,12,opt,name=startTimeDelta,proto3" json:"startTimeDelta,omitempty"`
}

Protocol for a client to subscribe

func (*SubscriptionRequest) Descriptor added in v0.4.0

func (*SubscriptionRequest) Descriptor() ([]byte, []int)

func (*SubscriptionRequest) Marshal

func (m *SubscriptionRequest) Marshal() (dAtA []byte, err error)

func (*SubscriptionRequest) MarshalTo

func (m *SubscriptionRequest) MarshalTo(dAtA []byte) (int, error)

func (*SubscriptionRequest) MarshalToSizedBuffer added in v0.8.2

func (m *SubscriptionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubscriptionRequest) ProtoMessage

func (*SubscriptionRequest) ProtoMessage()

func (*SubscriptionRequest) Reset

func (m *SubscriptionRequest) Reset()

func (*SubscriptionRequest) Size

func (m *SubscriptionRequest) Size() (n int)

func (*SubscriptionRequest) String

func (m *SubscriptionRequest) String() string

func (*SubscriptionRequest) Unmarshal

func (m *SubscriptionRequest) Unmarshal(dAtA []byte) error

func (*SubscriptionRequest) XXX_DiscardUnknown added in v0.8.2

func (m *SubscriptionRequest) XXX_DiscardUnknown()

func (*SubscriptionRequest) XXX_Marshal added in v0.8.2

func (m *SubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubscriptionRequest) XXX_Merge added in v0.8.2

func (m *SubscriptionRequest) XXX_Merge(src proto.Message)

func (*SubscriptionRequest) XXX_Size added in v0.8.2

func (m *SubscriptionRequest) XXX_Size() int

func (*SubscriptionRequest) XXX_Unmarshal added in v0.8.2

func (m *SubscriptionRequest) XXX_Unmarshal(b []byte) error

type SubscriptionResponse

type SubscriptionResponse struct {
	AckInbox string `protobuf:"bytes,2,opt,name=ackInbox,proto3" json:"ackInbox,omitempty"`
	Error    string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
}

Response for SubscriptionRequest and UnsubscribeRequests

func (*SubscriptionResponse) Descriptor added in v0.4.0

func (*SubscriptionResponse) Descriptor() ([]byte, []int)

func (*SubscriptionResponse) Marshal

func (m *SubscriptionResponse) Marshal() (dAtA []byte, err error)

func (*SubscriptionResponse) MarshalTo

func (m *SubscriptionResponse) MarshalTo(dAtA []byte) (int, error)

func (*SubscriptionResponse) MarshalToSizedBuffer added in v0.8.2

func (m *SubscriptionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubscriptionResponse) ProtoMessage

func (*SubscriptionResponse) ProtoMessage()

func (*SubscriptionResponse) Reset

func (m *SubscriptionResponse) Reset()

func (*SubscriptionResponse) Size

func (m *SubscriptionResponse) Size() (n int)

func (*SubscriptionResponse) String

func (m *SubscriptionResponse) String() string

func (*SubscriptionResponse) Unmarshal

func (m *SubscriptionResponse) Unmarshal(dAtA []byte) error

func (*SubscriptionResponse) XXX_DiscardUnknown added in v0.8.2

func (m *SubscriptionResponse) XXX_DiscardUnknown()

func (*SubscriptionResponse) XXX_Marshal added in v0.8.2

func (m *SubscriptionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubscriptionResponse) XXX_Merge added in v0.8.2

func (m *SubscriptionResponse) XXX_Merge(src proto.Message)

func (*SubscriptionResponse) XXX_Size added in v0.8.2

func (m *SubscriptionResponse) XXX_Size() int

func (*SubscriptionResponse) XXX_Unmarshal added in v0.8.2

func (m *SubscriptionResponse) XXX_Unmarshal(b []byte) error

type UnsubscribeRequest

type UnsubscribeRequest struct {
	ClientID    string `protobuf:"bytes,1,opt,name=clientID,proto3" json:"clientID,omitempty"`
	Subject     string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	Inbox       string `protobuf:"bytes,3,opt,name=inbox,proto3" json:"inbox,omitempty"`
	DurableName string `protobuf:"bytes,4,opt,name=durableName,proto3" json:"durableName,omitempty"`
}

Protocol for a clients to unsubscribe. Will return a SubscriptionResponse

func (*UnsubscribeRequest) Descriptor added in v0.4.0

func (*UnsubscribeRequest) Descriptor() ([]byte, []int)

func (*UnsubscribeRequest) Marshal

func (m *UnsubscribeRequest) Marshal() (dAtA []byte, err error)

func (*UnsubscribeRequest) MarshalTo

func (m *UnsubscribeRequest) MarshalTo(dAtA []byte) (int, error)

func (*UnsubscribeRequest) MarshalToSizedBuffer added in v0.8.2

func (m *UnsubscribeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnsubscribeRequest) ProtoMessage

func (*UnsubscribeRequest) ProtoMessage()

func (*UnsubscribeRequest) Reset

func (m *UnsubscribeRequest) Reset()

func (*UnsubscribeRequest) Size

func (m *UnsubscribeRequest) Size() (n int)

func (*UnsubscribeRequest) String

func (m *UnsubscribeRequest) String() string

func (*UnsubscribeRequest) Unmarshal

func (m *UnsubscribeRequest) Unmarshal(dAtA []byte) error

func (*UnsubscribeRequest) XXX_DiscardUnknown added in v0.8.2

func (m *UnsubscribeRequest) XXX_DiscardUnknown()

func (*UnsubscribeRequest) XXX_Marshal added in v0.8.2

func (m *UnsubscribeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnsubscribeRequest) XXX_Merge added in v0.8.2

func (m *UnsubscribeRequest) XXX_Merge(src proto.Message)

func (*UnsubscribeRequest) XXX_Size added in v0.8.2

func (m *UnsubscribeRequest) XXX_Size() int

func (*UnsubscribeRequest) XXX_Unmarshal added in v0.8.2

func (m *UnsubscribeRequest) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL