Documentation ¶
Index ¶
- func ParseDelete(params []stackitem.Item) (event.Event, error)
- func ParsePut(params []stackitem.Item) (event.Event, error)
- func ParseSetEACL(items []stackitem.Item) (event.Event, error)
- func ParseStartEstimation(params []stackitem.Item) (event.Event, error)
- func ParseStopEstimation(params []stackitem.Item) (event.Event, error)
- type Delete
- type Put
- type SetEACL
- type StartEstimation
- type StopEstimation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseDelete ¶
ParseDelete from notification into container event structure.
Expects 3 stack items.
func ParseSetEACL ¶ added in v0.21.0
ParseSetEACL parses SetEACL notification event from list of stack items.
Expects 4 stack items.
func ParseStartEstimation ¶ added in v0.15.0
ParseStartEstimation 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 ¶
Container is a marshalled container structure, defined in API.
func (Delete) MorphEvent ¶
func (Delete) MorphEvent()
MorphEvent implements Neo:Morph Event interface.
func (Delete) SessionToken ¶ added in v0.21.0
SessionToken returns binary token of the session within which the eACL was set.
type Put ¶
type Put struct {
// contains filtered or unexported fields
}
Put structure of container.Put notification from morph chain.
func (Put) SessionToken ¶ added in v0.21.0
SessionToken returns binary token of the session within which the container was created.
type SetEACL ¶ added in v0.21.0
type SetEACL struct {
// contains filtered or unexported fields
}
SetEACL represents structure of notification about modified eACL table coming from NeoFS Container contract.
func (SetEACL) MorphEvent ¶ added in v0.21.0
func (SetEACL) MorphEvent()
MorphEvent implements Neo:Morph Event interface.
func (SetEACL) PublicKey ¶ added in v0.21.0
PublicKey returns public keys of container owner in a binary format.
func (SetEACL) SessionToken ¶ added in v0.21.0
SessionToken returns binary token of the session within which the eACL was set.
type StartEstimation ¶ added in v0.15.0
type StartEstimation struct {
// contains filtered or unexported fields
}
StartEstimation structure of container.StartEstimation notification from morph chain.
func (StartEstimation) Epoch ¶ added in v0.15.0
func (s StartEstimation) Epoch() uint64
Epoch returns epoch value for which to start container size estimation.
func (StartEstimation) MorphEvent ¶ added in v0.15.0
func (StartEstimation) MorphEvent()
MorphEvent implements Neo:Morph Event interface.
type StopEstimation ¶ added in v0.15.0
type StopEstimation struct {
// contains filtered or unexported fields
}
StopEstimation structure of container.StopEstimation notification from morph chain.
func (StopEstimation) Epoch ¶ added in v0.15.0
func (s StopEstimation) Epoch() uint64
Epoch returns epoch value for which to stop container size estimation.
func (StopEstimation) MorphEvent ¶ added in v0.15.0
func (StopEstimation) MorphEvent()
MorphEvent implements Neo:Morph Event interface.