private

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceTypeSequencer api.ServiceType = 0xF001

Variables

This section is empty.

Functions

This section is empty.

Types

type SequenceOptions added in v1.2.10

type SequenceOptions struct {
	NodeID p2p.PeerID `json:"nodeID,omitempty" form:"nodeID" query:"nodeID" validate:"required"`
	// contains filtered or unexported fields
}

func (*SequenceOptions) Copy added in v1.2.10

func (v *SequenceOptions) Copy() *SequenceOptions

func (*SequenceOptions) CopyAsInterface added in v1.2.10

func (v *SequenceOptions) CopyAsInterface() interface{}

func (*SequenceOptions) Equal added in v1.2.10

func (v *SequenceOptions) Equal(u *SequenceOptions) bool

func (*SequenceOptions) IsValid added in v1.2.10

func (v *SequenceOptions) IsValid() error

func (*SequenceOptions) MarshalBinary added in v1.2.10

func (v *SequenceOptions) MarshalBinary() ([]byte, error)

func (*SequenceOptions) MarshalJSON added in v1.2.10

func (v *SequenceOptions) MarshalJSON() ([]byte, error)

func (*SequenceOptions) UnmarshalBinary added in v1.2.10

func (v *SequenceOptions) UnmarshalBinary(data []byte) error

func (*SequenceOptions) UnmarshalBinaryFrom added in v1.2.10

func (v *SequenceOptions) UnmarshalBinaryFrom(rd io.Reader) error

func (*SequenceOptions) UnmarshalJSON added in v1.2.10

func (v *SequenceOptions) UnmarshalJSON(data []byte) error

type Sequencer

type Sequencer interface {
	Sequence(ctx context.Context, src, dst *url.URL, num uint64, opts SequenceOptions) (*api.MessageRecord[messaging.Message], error)
}

Jump to

Keyboard shortcuts

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