api

package
Version: v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: GPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const ShareCookieTokenKey = "share-token"

Variables

This section is empty.

Functions

func NewFileResource

func NewFileResource() ginutil.Resource

func NewRecycleBinResource

func NewRecycleBinResource() ginutil.Resource

func NewShareResource

func NewShareResource() ginutil.Resource

func SetupRoutes

func SetupRoutes(ge *gin.Engine)

Types

type FileResource

type FileResource struct {
	// contains filtered or unexported fields
}

func (*FileResource) Register

func (rs *FileResource) Register(router *gin.RouterGroup)

type Option

type Option struct {
	jwtutil.JWTUtil
	// contains filtered or unexported fields
}

func NewOptionResource

func NewOptionResource() *Option

func (*Option) Register

func (rs *Option) Register(router *gin.RouterGroup)

type RecycleBinResource

type RecycleBinResource struct {
	// contains filtered or unexported fields
}

func (*RecycleBinResource) Register

func (rs *RecycleBinResource) Register(router *gin.RouterGroup)

type ShareResource

type ShareResource struct {
	jwtutil.JWTUtil
	// contains filtered or unexported fields
}

func (*ShareResource) Register

func (rs *ShareResource) Register(router *gin.RouterGroup)

type Storage

type Storage struct {
	jwtutil.JWTUtil
}

func NewStorageResource

func NewStorageResource() *Storage

func (*Storage) Register

func (rs *Storage) Register(router *gin.RouterGroup)

type TokenResource

type TokenResource struct {
	// contains filtered or unexported fields
}

func NewTokenResource

func NewTokenResource() *TokenResource

func (*TokenResource) Register

func (rs *TokenResource) Register(router *gin.RouterGroup)

type UserKeyResource added in v1.6.0

type UserKeyResource struct {
	// contains filtered or unexported fields
}

func NewUserKeyResource added in v1.6.0

func NewUserKeyResource() *UserKeyResource

func (*UserKeyResource) Register added in v1.6.0

func (rs *UserKeyResource) Register(router *gin.RouterGroup)

type UserResource

type UserResource struct {
	// contains filtered or unexported fields
}

func NewUserResource

func NewUserResource() *UserResource

func (*UserResource) Register

func (rs *UserResource) Register(router *gin.RouterGroup)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL