Documentation ¶
Index ¶
- type Postgres
- func (pg *Postgres) Close()
- func (pg *Postgres) CreateUser(ctx context.Context, wa string, n string, cid string) error
- func (pg *Postgres) DeleteUser(ctx context.Context, u string) error
- func (pg *Postgres) GetUser(ctx context.Context, u string) (User, error)
- func (pg *Postgres) ModifyUser(ctx context.Context, u string, k string, nv string) error
- func (pg *Postgres) Ping(ctx context.Context) error
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Postgres ¶
type Postgres struct {
// contains filtered or unexported fields
}
func (*Postgres) CreateUser ¶
func (*Postgres) ModifyUser ¶
Click to show internal directories.
Click to hide internal directories.