Documentation
¶
Index ¶
- type DBTX
- type InsertSecretParams
- type InsertSessionParams
- type LncSession
- type Onion
- type Querier
- type Queries
- func (q *Queries) DeleteOnionPrivateKey(ctx context.Context) error
- func (q *Queries) DeleteSecretByHash(ctx context.Context, hash []byte) (int64, error)
- func (q *Queries) GetSecretByHash(ctx context.Context, hash []byte) ([]byte, error)
- func (q *Queries) GetSession(ctx context.Context, passphraseEntropy []byte) (LncSession, error)
- func (q *Queries) InsertSecret(ctx context.Context, arg InsertSecretParams) (int32, error)
- func (q *Queries) InsertSession(ctx context.Context, arg InsertSessionParams) error
- func (q *Queries) SelectOnionPrivateKey(ctx context.Context) ([]byte, error)
- func (q *Queries) SetExpiry(ctx context.Context, arg SetExpiryParams) error
- func (q *Queries) SetRemotePubKey(ctx context.Context, arg SetRemotePubKeyParams) error
- func (q *Queries) UpsertOnion(ctx context.Context, arg UpsertOnionParams) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Secret
- type SetExpiryParams
- type SetRemotePubKeyParams
- type UpsertOnionParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InsertSecretParams ¶
type InsertSessionParams ¶
type LncSession ¶
type Querier ¶
type Querier interface { DeleteOnionPrivateKey(ctx context.Context) error DeleteSecretByHash(ctx context.Context, hash []byte) (int64, error) GetSecretByHash(ctx context.Context, hash []byte) ([]byte, error) GetSession(ctx context.Context, passphraseEntropy []byte) (LncSession, error) InsertSecret(ctx context.Context, arg InsertSecretParams) (int32, error) InsertSession(ctx context.Context, arg InsertSessionParams) error SelectOnionPrivateKey(ctx context.Context) ([]byte, error) SetExpiry(ctx context.Context, arg SetExpiryParams) error SetRemotePubKey(ctx context.Context, arg SetRemotePubKeyParams) error UpsertOnion(ctx context.Context, arg UpsertOnionParams) error }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) DeleteOnionPrivateKey ¶
func (*Queries) DeleteSecretByHash ¶
func (*Queries) GetSecretByHash ¶
func (*Queries) GetSession ¶
func (*Queries) InsertSecret ¶
func (*Queries) InsertSession ¶
func (q *Queries) InsertSession(ctx context.Context, arg InsertSessionParams) error
func (*Queries) SelectOnionPrivateKey ¶
func (*Queries) SetExpiry ¶
func (q *Queries) SetExpiry(ctx context.Context, arg SetExpiryParams) error
func (*Queries) SetRemotePubKey ¶
func (q *Queries) SetRemotePubKey(ctx context.Context, arg SetRemotePubKeyParams) error
func (*Queries) UpsertOnion ¶
func (q *Queries) UpsertOnion(ctx context.Context, arg UpsertOnionParams) error
type SetExpiryParams ¶
type SetRemotePubKeyParams ¶
type UpsertOnionParams ¶
Click to show internal directories.
Click to hide internal directories.