container

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseDelete

func ParseDelete(params []stackitem.Item) (event.Event, error)

ParseDelete from notification into container event structure.

func ParsePut

func ParsePut(params []stackitem.Item) (event.Event, error)

ParsePut from notification into container event structure.

Types

type Delete

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

Delete structure of container.Delete notification from morph chain.

func (Delete) ContainerID

func (d Delete) ContainerID() []byte

Container is a marshalled container structure, defined in API.

func (Delete) MorphEvent

func (Delete) MorphEvent()

MorphEvent implements Neo:Morph Event interface.

func (Delete) Signature

func (d Delete) Signature() []byte

Signature of marshalled container by container owner.

type Put

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

Put structure of container.Put notification from morph chain.

func (Put) Container

func (p Put) Container() []byte

Container is a marshalled container structure, defined in API.

func (Put) MorphEvent

func (Put) MorphEvent()

MorphEvent implements Neo:Morph Event interface.

func (Put) PublicKey

func (p Put) PublicKey() *keys.PublicKey

PublicKey of container owner.

func (Put) Signature

func (p Put) Signature() []byte

Signature of marshalled container by container owner.

Jump to

Keyboard shortcuts

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