Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContactState ¶
type ContactsState ¶
type ContactsState interface {
SaveContact(*ContactState) (int64, error)
UpdateContact(*ContactState) error
ListContacts() ([]*ContactState, error)
FindContact(id int64) (*ContactState, error)
DeleteContact(id int64) error
}
func InitContactState ¶
func InitContactState(db state.DBManager) (ContactsState, error)
Click to show internal directories.
Click to hide internal directories.