mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-10 11:07:30 -06:00
Single-row table for storing instance's VAPID key pair
This commit is contained in:
parent
c4012b6f15
commit
7a02a19c3c
4 changed files with 116 additions and 0 deletions
|
|
@ -68,6 +68,10 @@ type Admin interface {
|
|||
// the number of pending sign-ups sitting in the backlog.
|
||||
CountUnhandledSignups(ctx context.Context) (int, error)
|
||||
|
||||
// GetOrCreateVAPIDKeyPair creates and stores a VAPID key pair,
|
||||
// or retrieves the existing VAPID key pair.
|
||||
GetOrCreateVAPIDKeyPair(ctx context.Context) (*gtsmodel.VAPIDKeyPair, error)
|
||||
|
||||
/*
|
||||
ACTION FUNCS
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue