tsLedger

package
v0.0.0-...-fdc5c16 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load()

Types

type TSLedger

type TSLedger struct {
	CryptoTools crypto.Tools
	Storage     kvDatabase.IDriver
	// contains filtered or unexported fields
}

func NewTraceableStorage

func NewTraceableStorage(kvDriver kvDatabase.IDriver, sqlDriver simpleSQLDatabase.IDriver) *TSLedger

func (*TSLedger) ExecuteModifyIdentification

func (t *TSLedger) ExecuteModifyIdentification(data tsData.TSData) (ret interface{}, err error)

func (*TSLedger) ExecuteRequest

func (t *TSLedger) ExecuteRequest(req tsData.TSServiceRequest) (ret interface{}, err error)

func (*TSLedger) ExecuteStoreIdentification

func (t *TSLedger) ExecuteStoreIdentification(data tsData.TSData) (ret interface{}, err error)

func (*TSLedger) GetLocalData

func (t *TSLedger) GetLocalData(id string) (data tsData.TSData, err error)

func (*TSLedger) VerifyModifyRequest

func (t *TSLedger) VerifyModifyRequest(data tsData.TSData) (err error)

func (*TSLedger) VerifyRequest

func (t *TSLedger) VerifyRequest(req tsData.TSServiceRequest) (err error)

func (*TSLedger) VerifyStoreRequest

func (t *TSLedger) VerifyStoreRequest(data tsData.TSData) (err error)

Jump to

Keyboard shortcuts

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