common

package
v0.0.0-...-05bc493 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CBORSerializer

type CBORSerializer struct{}

func NewCBORSerializer

func NewCBORSerializer() *CBORSerializer

func (*CBORSerializer) Deserialize

func (s *CBORSerializer) Deserialize(from []byte, to interface{}) error

func (*CBORSerializer) Serialize

func (s *CBORSerializer) Serialize(what interface{}, to *[]byte) (err error)

type Serializer

type Serializer interface {
	Serialize(interface{}, *[]byte) error
	Deserialize([]byte, interface{}) error
}

type SystemError

type SystemError interface {
	GetSystemError() error
	SetSystemError(err error)
}

type SystemErrorImpl

type SystemErrorImpl struct{}

func NewSystemError

func NewSystemError() *SystemErrorImpl

func (*SystemErrorImpl) GetSystemError

func (h *SystemErrorImpl) GetSystemError() error

func (*SystemErrorImpl) SetSystemError

func (h *SystemErrorImpl) SetSystemError(err error)

Directories

Path Synopsis
Package foundation server implementation of smartcontract functions
Package foundation server implementation of smartcontract functions

Jump to

Keyboard shortcuts

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