entity

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance added in v0.0.10

type Instance struct {
	LocalPeerId string
	InstanceId  string
	LocalHost   string
	// GlobalClockTime int64
	LocalPublicKey  string
	LocalPrivateKey string
}

func NewInstance added in v0.0.10

func NewInstance() *Instance

func (*Instance) GetInstanceId added in v0.0.10

func (i *Instance) GetInstanceId() string

func (*Instance) GetLocalHost added in v0.0.10

func (i *Instance) GetLocalHost() string

func (*Instance) GetLocalPeerId added in v0.0.10

func (i *Instance) GetLocalPeerId() string

func (*Instance) SetInstanceId added in v0.0.10

func (i *Instance) SetInstanceId(instanceId string)

func (*Instance) SetLocalHost added in v0.0.10

func (i *Instance) SetLocalHost(localHost string)

func (*Instance) SetLocalPeerId added in v0.0.10

func (i *Instance) SetLocalPeerId(localPeerId string)

Jump to

Keyboard shortcuts

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