states

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CarRecordKeyPrefix             = "car~"
	MintRequestRecordKeyPrefix     = "mint-request~"
	TransferToRecordKeyPrefix      = "transfer-to~"
	TransferReceiveRecordKeyPrefix = "transfer-receive~"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CarRecord

type CarRecord struct {
	Owner           string
	CarRegistration string
}

func (*CarRecord) Key

func (r *CarRecord) Key() string

func (*CarRecord) String

func (r *CarRecord) String() string

type MintRequestRecord

type MintRequestRecord struct {
	Dealer          string
	CarRegistration string
}

func (*MintRequestRecord) Key

func (r *MintRequestRecord) Key() string

func (*MintRequestRecord) RequestID

func (r *MintRequestRecord) RequestID() string

type TransferReceiveRecord

type TransferReceiveRecord struct {
	Buyer               string
	CarRegistration     string
	TransferToRecordKey string
}

func (*TransferReceiveRecord) Key

func (r *TransferReceiveRecord) Key() string

func (*TransferReceiveRecord) RequestID

func (r *TransferReceiveRecord) RequestID() string

type TransferToRecord

type TransferToRecord struct {
	Owner           string
	Buyer           string
	CarRegistration string
}

func (*TransferToRecord) Key

func (r *TransferToRecord) Key() string

func (*TransferToRecord) RequestID

func (r *TransferToRecord) RequestID() string

Jump to

Keyboard shortcuts

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