Documentation
¶
Index ¶
- type AddKeyParams
- type AddKeysParams
- type DBTX
- type EtcdAuth
- type EtcdKv
- type Queries
- func (q *Queries) AddKey(ctx context.Context, arg AddKeyParams) error
- func (q *Queries) AddKeys(ctx context.Context, arg []AddKeysParams) (int64, error)
- func (q *Queries) DeleteAll(ctx context.Context) error
- func (q *Queries) DeleteAuth(ctx context.Context) error
- func (q *Queries) DeleteKey(ctx context.Context, key string) error
- func (q *Queries) SetAuth(ctx context.Context, commands string) error
- func (q *Queries) UpdateKey(ctx context.Context, arg UpdateKeyParams) error
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type UpdateKeyParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddKeyParams ¶
type AddKeysParams ¶
type DBTX ¶
type DBTX interface { Exec(context.Context, string, ...interface{}) (pgconn.CommandTag, error) Query(context.Context, string, ...interface{}) (pgx.Rows, error) QueryRow(context.Context, string, ...interface{}) pgx.Row CopyFrom(ctx context.Context, tableName pgx.Identifier, columnNames []string, rowSrc pgx.CopyFromSource) (int64, error) }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) DeleteAuth ¶ added in v0.3.0
type UpdateKeyParams ¶
Click to show internal directories.
Click to hide internal directories.