Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KeyAccountAccessToken ¶
KeyAccountAccessToken returns the kv key which holds a user's access token.
func KeyFediActor ¶
KeyFediActor returns the kv key which holds cached actor.
func KeyFediHostMeta ¶
KeyFediHostMeta returns the kv key which holds cached host meta.
func KeyFediNodeInfo ¶
KeyFediNodeInfo returns the kv key which holds cached nodeinfo.
func KeyInstanceOAuth ¶
KeyInstanceOAuth returns the kv key which holds an instance's oauth tokens.
Types ¶
type EncryptionError ¶
type EncryptionError struct {
// contains filtered or unexported fields
}
EncryptionError is returned when a an encryption error occurs.
func (*EncryptionError) Error ¶
func (e *EncryptionError) Error() string
Error returns the error message as a string.
type Error ¶
type Error error
Error represents a database specific error.
func NewEncryptionError ¶
NewEncryptionError wraps a message in an EncryptionError object.
type KV ¶
type KV interface { fedihelper.KV }
Click to show internal directories.
Click to hide internal directories.