Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IState ¶
type IState interface { GetClient() iClient GetStorage() storage.IKeyValueStorage GetWrapperDB() database.IWrapperDB IsActive() bool GetTemplate() *STemplateState AddFriend(string, asymmetric.IPubKey) error DelFriend(string) error AddConnection(string) error DelConnection(string) error CreateState([]byte, asymmetric.IPrivKey) error UpdateState([]byte) error ClearActiveState() error }
func NewState ¶
func NewState( pStorage storage.IKeyValueStorage, pDatabase database.IWrapperDB, pHlsClient hls_client.IClient, pHltClient hlt_client.IClient, pPathTo string, ) IState
type SStorageState ¶
type STemplateState ¶
type STemplateState struct {
FAuthorized bool
}
Click to show internal directories.
Click to hide internal directories.