message

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Hash                 string               `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Retries              uint32               `protobuf:"varint,2,opt,name=retries,proto3" json:"retries,omitempty"`
	Tried                uint32               `protobuf:"varint,3,opt,name=tried,proto3" json:"tried,omitempty"`
	PushedAt             *timestamp.Timestamp `protobuf:"bytes,4,opt,name=pushed_at,json=pushedAt,proto3" json:"pushed_at,omitempty"`
	Delay                *duration.Duration   `protobuf:"bytes,5,opt,name=delay,proto3" json:"delay,omitempty"`
	Param                []byte               `protobuf:"bytes,6,opt,name=param,proto3" json:"param,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Message) Descriptor

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

func (*Message) GetDelay

func (m *Message) GetDelay() *duration.Duration

func (*Message) GetHash

func (m *Message) GetHash() string

func (*Message) GetParam

func (m *Message) GetParam() []byte

func (*Message) GetPushedAt

func (m *Message) GetPushedAt() *timestamp.Timestamp

func (*Message) GetRetries

func (m *Message) GetRetries() uint32

func (*Message) GetTried

func (m *Message) GetTried() uint32

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) String

func (m *Message) String() string

func (*Message) XXX_DiscardUnknown

func (m *Message) XXX_DiscardUnknown()

func (*Message) XXX_Marshal

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

func (*Message) XXX_Merge

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

func (*Message) XXX_Size

func (m *Message) XXX_Size() int

func (*Message) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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