user

package
v0.0.0-...-baf35ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2025 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bootstrap

func Bootstrap(ctx context.Context, auth *auth.Auth, since int64) (responses.Bootstrap, error)

func ListBookmarks

func ListBookmarks(ctx context.Context, userID int32, since int64) ([]responses.Bookmark, error)

func SetupRoutes

func SetupRoutes(r *gin.RouterGroup)

Types

type APIKey

type APIKey struct {
	ID          string              `json:"id"`
	Created     int64               `json:"created"`
	Expires     int64               `json:"expires"`
	Description string              `json:"description"`
	Scopes      []string            `json:"scopes"`
	LastUsed    auth.ConnectionInfo `json:"last_used"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL