trxactor

package
v3.8.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TrxActorPid *actor.PID

TrxActorPid trx actor pid

Functions

func NewTrxActor

func NewTrxActor() *actor.PID

NewTrxActor spawn a named actor

func SetApiActorPid

func SetApiActorPid(apid *actor.PID)

SetApiActorPid is to save api actor

func SetTrxPool

func SetTrxPool(pool *transaction.TrxPool)

SetTrxPool set trx pool

Types

type TrxActor

type TrxActor struct {
	// contains filtered or unexported fields
}

TrxActor trx actor props

func ContructTrxActor

func ContructTrxActor() *TrxActor

ContructTrxActor new a trx actor

func (*TrxActor) Receive

func (t *TrxActor) Receive(context actor.Context)

Receive process message

Jump to

Keyboard shortcuts

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