Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IStateManager ¶
type IStateManager interface { GetConfig() config.IConfig IsMyPubKey(asymmetric.IPubKey) bool GetPrivKey() asymmetric.IPrivKey CreateState([]byte, asymmetric.IPrivKey) error StateIsActive() bool OpenState([]byte) error CloseState() error GetClient() hls_client.IClient GetWrapperDB() database.IWrapperDB GetTemplate() *STemplateState SetNetworkKey(string) error AddFriend(string, asymmetric.IPubKey) error DelFriend(string) error AddConnection(string) error DelConnection(string) error }
func NewStateManager ¶
func NewStateManager( pConfig config.IConfig, pPathTo string, ) IStateManager
type SStorageState ¶
type STemplateState ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.