Documentation ¶
Index ¶
Constants ¶
View Source
const (
ContactsKey = "saltyim-contacts"
)
View Source
const (
ConversationsKey = "saltyim-conversations-%x"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actions ¶
type Actions interface { Handle(actionName string, h app.ActionHandler) NewAction(name string, tags ...app.Tagger) NewActionWithValue(name string, v interface{}, tags ...app.Tagger) }
Actions defines the action operations
type Contacts ¶
func ContactsLocalStorage ¶
func ContactsLocalStorage(state StateOperations) Contacts
type Conversations ¶
type Conversations interface { Read() []string Append(line string) Update(lines []string) Delete() }
func ConversationsLocalStorage ¶
func ConversationsLocalStorage(state StateOperations, addr string) Conversations
type StateOperations ¶
type StateOperations interface { SetState(state string, v interface{}, opts ...app.StateOption) GetState(state string, recv interface{}) DelState(state string) }
StateOperations are the state operations present in app.Context
Click to show internal directories.
Click to hide internal directories.