sequencer

package
v0.0.0-...-8a81ed5 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sequencer

type Sequencer struct {
	pb.UnimplementedSequencerServiceServer

	SeqCluster     string
	SeqClusterConn *nats.Conn
}

func NewSequencer

func NewSequencer(conf *config.Config) *Sequencer

func (*Sequencer) CreateTxn

func (s *Sequencer) CreateTxn(ctx context.Context, req *pb.CreateTxnRequest) (*pb.CreateTxnResponse, error)

func (*Sequencer) GetOrderedTxn

func (s *Sequencer) GetOrderedTxn()

func (*Sequencer) Start

func (s *Sequencer) Start()

Jump to

Keyboard shortcuts

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