Documentation ¶
Index ¶
- type PostgresStore
- func (s *PostgresStore) CreateContact(c *store.Contact) error
- func (s *PostgresStore) CreateSchemas() error
- func (s *PostgresStore) DeleteContact(id string) error
- func (s *PostgresStore) FetchContacts() (store.Contacts, error)
- func (s *PostgresStore) GetContact(id string) (*store.Contact, error)
- func (s *PostgresStore) UpdateContact(c *store.Contact) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresStore ¶
func (*PostgresStore) CreateContact ¶
func (s *PostgresStore) CreateContact(c *store.Contact) error
func (*PostgresStore) CreateSchemas ¶
func (s *PostgresStore) CreateSchemas() error
func (*PostgresStore) DeleteContact ¶
func (s *PostgresStore) DeleteContact(id string) error
func (*PostgresStore) FetchContacts ¶
func (s *PostgresStore) FetchContacts() (store.Contacts, error)
func (*PostgresStore) GetContact ¶
func (s *PostgresStore) GetContact(id string) (*store.Contact, error)
func (*PostgresStore) UpdateContact ¶
func (s *PostgresStore) UpdateContact(c *store.Contact) error
Click to show internal directories.
Click to hide internal directories.