start authenticateGetInbox

This commit is contained in:
tsmethurst 2021-04-29 12:34:11 +02:00
commit d9da0022e1
2 changed files with 45 additions and 2 deletions

View file

@ -63,6 +63,10 @@ const (
APRequestingAccountKey APContextKey = "requestingAccount"
)
type ginContextKey struct{}
// GinContextKey is used solely for setting and retrieving the gin context from a context.Context
var GinContextKey = &ginContextKey{}
// UserURIs contains a bunch of UserURIs and URLs for a user, host, account, etc.
type UserURIs struct {
// The web URL of the instance host, eg https://example.org