api

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthController

func NewAuthController(router *gin.Engine, authManager auth.AuthManager, appConfig *configs.Configuration)

NewAuthController - Create controller

func NewPackageController

func NewPackageController(router *gin.Engine, authManager auth.AuthManager, contentService content.ContentService)

NewPackageController - Create controller

func NewRootController

func NewRootController(router *gin.Engine)

NewRootController - Create controller

Types

type AuthController

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

type CreateTokenRequest

type CreateTokenRequest struct {
	Name           string `json:"name"`
	ExpirationDate string `json:"expirationDate"`
}

type PackageController

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

Jump to

Keyboard shortcuts

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