Documentation
¶
Index ¶
Constants ¶
View Source
const ( // PluginName contains the human readable name of the plugin. PluginName = "NetworkDelay" // CfgNetworkDelayOriginPublicKey defines the config flag of the issuer node public key. CfgNetworkDelayOriginPublicKey = "networkdelay.originPublicKey" )
View Source
const (
// ObjectName defines the name of the networkdelay object.
ObjectName = "networkdelay"
)
View Source
const Type = payload.Type(189)
Type represents the identifier which addresses the network delay Object type.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Object ¶
type Object struct {
// contains filtered or unexported fields
}
Object represents the network delay object type.
func FromBytes ¶
func FromBytes(bytes []byte, optionalTargetObject ...*Object) (result *Object, consumedBytes int, err error)
FromBytes parses the marshaled version of an Object into a Go object. It either returns a new Object or fills an optionally provided Object with the parsed information.
func Parse ¶
func Parse(marshalUtil *marshalutil.MarshalUtil, optionalTarget ...*Object) (result *Object, err error)
Parse unmarshals an Object using the given marshalUtil (for easier marshaling/unmarshaling).
Click to show internal directories.
Click to hide internal directories.