routes

package
v1.6.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BookmarkRoutes

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

func NewBookmarkRoutes

func NewBookmarkRoutes(logger *logrus.Logger, deps *config.Dependencies) *BookmarkRoutes

func (*BookmarkRoutes) Setup

func (r *BookmarkRoutes) Setup(group *gin.RouterGroup) model.Routes

type FrontendRoutes

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

func NewFrontendRoutes

func NewFrontendRoutes(logger *logrus.Logger, cfg *config.Config) *FrontendRoutes

func (*FrontendRoutes) Setup

func (r *FrontendRoutes) Setup(e *gin.Engine)

type LegacyAPIRoutes

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

func NewLegacyAPIRoutes

func NewLegacyAPIRoutes(logger *logrus.Logger, deps *config.Dependencies, cfg *config.Config) *LegacyAPIRoutes

func (*LegacyAPIRoutes) HandleLogin

func (r *LegacyAPIRoutes) HandleLogin(account model.Account, expTime time.Duration) (string, error)

func (*LegacyAPIRoutes) HandleLogout

func (r *LegacyAPIRoutes) HandleLogout(c *gin.Context) error

func (*LegacyAPIRoutes) Setup

func (r *LegacyAPIRoutes) Setup(g *gin.Engine)

type SwaggerAPIRoutes

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

func NewSwaggerAPIRoutes

func NewSwaggerAPIRoutes(logger *logrus.Logger) *SwaggerAPIRoutes

func (*SwaggerAPIRoutes) Setup

type SystemRoutes

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

func NewSystemRoutes

func NewSystemRoutes(logger *logrus.Logger) *SystemRoutes

func (*SystemRoutes) Setup

func (r *SystemRoutes) Setup(group *gin.RouterGroup) model.Routes

Directories

Path Synopsis
api
v1

Jump to

Keyboard shortcuts

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