sessionpb

package
v0.0.0-...-0e97469 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: GPL-3.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthSession        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSession          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSession = fmt.Errorf("proto: unexpected end of group")
)
View Source
var Err_name = map[int32]string{
	0: "OK",
	1: "ERR_RETURNED",
	2: "ERR_DUPLICATE",
}
View Source
var Err_value = map[string]int32{
	"OK":            0,
	"ERR_RETURNED":  1,
	"ERR_DUPLICATE": 2,
}

Functions

This section is empty.

Types

type Err

type Err int32
const (
	OK            Err = 0
	ERR_RETURNED  Err = 1
	ERR_DUPLICATE Err = 2
)

func (Err) EnumDescriptor

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

func (Err) String

func (x Err) String() string

type ServerSession

type ServerSession struct {
	ID           int64      `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	ProcessedSeq uint64     `protobuf:"varint,2,opt,name=ProcessedSeq,proto3" json:"ProcessedSeq,omitempty"`
	LastResponse *types.Any `protobuf:"bytes,3,opt,name=LastResponse,proto3" json:"LastResponse,omitempty"`
}

func (*ServerSession) Descriptor

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

func (*ServerSession) Marshal

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

func (*ServerSession) MarshalTo

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

func (*ServerSession) MarshalToSizedBuffer

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

func (*ServerSession) ProtoMessage

func (*ServerSession) ProtoMessage()

func (*ServerSession) Reset

func (m *ServerSession) Reset()

func (*ServerSession) Size

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

func (*ServerSession) String

func (m *ServerSession) String() string

func (*ServerSession) Unmarshal

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

func (*ServerSession) XXX_DiscardUnknown

func (m *ServerSession) XXX_DiscardUnknown()

func (*ServerSession) XXX_Marshal

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

func (*ServerSession) XXX_Merge

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

func (*ServerSession) XXX_Size

func (m *ServerSession) XXX_Size() int

func (*ServerSession) XXX_Unmarshal

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

type SessionHeader

type SessionHeader struct {
	ID  int64  `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Seq uint64 `protobuf:"varint,2,opt,name=Seq,proto3" json:"Seq,omitempty"`
}

func (*SessionHeader) Descriptor

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

func (*SessionHeader) Marshal

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

func (*SessionHeader) MarshalTo

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

func (*SessionHeader) MarshalToSizedBuffer

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

func (*SessionHeader) ProtoMessage

func (*SessionHeader) ProtoMessage()

func (*SessionHeader) Reset

func (m *SessionHeader) Reset()

func (*SessionHeader) Size

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

func (*SessionHeader) String

func (m *SessionHeader) String() string

func (*SessionHeader) Unmarshal

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

func (*SessionHeader) XXX_DiscardUnknown

func (m *SessionHeader) XXX_DiscardUnknown()

func (*SessionHeader) XXX_Marshal

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

func (*SessionHeader) XXX_Merge

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

func (*SessionHeader) XXX_Size

func (m *SessionHeader) XXX_Size() int

func (*SessionHeader) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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