Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageState ¶
type RelayState ¶
type RelayState interface { AddRelayRegistration(did string) error GetRelayRegistration(did string) (bool, error) AddRelayEndpoint(did string, serviceEndpoint string, seType string, serviceEndpointId string) error GetRelayEndpoints(did string) ([]id.Service, error) AddRelayMessage(did, msg string) error GetRelayMessages(did string) ([]*MessageState, error) GetAllRecentRelayMessages() ([]*MessageState, error) DeleteRelayMessage(id int64) error }
func InitRelayState ¶
func InitRelayState(db state.DBManager) (RelayState, error)
Click to show internal directories.
Click to hide internal directories.