ord

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResourceCollection  = "collection"
	ResourceToken       = "token"
	ResourceInscription = "inscription"

	ActionCreate = "deploy"
	ActionUpdate = "update"
	ActionMint   = "mint"
	ActionBurn   = "transfer"
)

Variables

View Source
var ProviderSet = wire.NewSet(NewSyncer)

Functions

This section is empty.

Types

type Event

type Event struct {
	Resource string
	Action   string
	Data     interface{}
}

type Syncer

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

func NewSyncer

func NewSyncer(c *conf.Ord, data *data.Data, collectionUc *biz.CollectionUsecase, tokenUc *biz.TokenUsecase, logger log.Logger) (*Syncer, func(), error)

func (*Syncer) Run

func (s *Syncer) Run() error

type Worker

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

func (*Worker) Start

func (w *Worker) Start()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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