routes

package
v0.27.3 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIEndpoints

type APIEndpoints interface {
	// RegisterAPIEndpoints register ADMIN endpoints.
	RegisterAPIEndpoints(router *gin.RouterGroup)
}

APIEndpoints registrar which will register routes in ADMIN routes group.

type APIEndpointsFunc

type APIEndpointsFunc func(router *gin.RouterGroup)

APIEndpointsFunc wrapping type for function to mark it as implementation of ApiEndpoints.

func (APIEndpointsFunc) RegisterAPIEndpoints

func (f APIEndpointsFunc) RegisterAPIEndpoints(router *gin.RouterGroup)

RegisterAPIEndpoints register API endpoints by registrar ApiEndpointsFunc.

type AdminEndpoints

type AdminEndpoints interface {
	// RegisterAdminEndpoints register root endpoints.
	RegisterAdminEndpoints(router *gin.RouterGroup)
}

AdminEndpoints registrar which will register routes with admin auth middleware.

type AdminEndpointsFunc

type AdminEndpointsFunc func(router *gin.RouterGroup)

AdminEndpointsFunc wrapping type for function to mark it as implementation of AdminEndpoints.

func (AdminEndpointsFunc) RegisterAdminEndpoints

func (f AdminEndpointsFunc) RegisterAdminEndpoints(router *gin.RouterGroup)

RegisterAdminEndpoints register root endpoints by registrar AdminEndpointsFunc.

type BaseEndpoints

type BaseEndpoints interface {
	// RegisterBaseEndpoints register BASE endpoints.
	RegisterBaseEndpoints(router *gin.RouterGroup)
}

BaseEndpoints registrar which will register routes in BASE routes group.

type BaseEndpointsFunc

type BaseEndpointsFunc func(router *gin.RouterGroup)

BaseEndpointsFunc wrapping type for function to mark it as implementation of BaseEndpoints.

func (BaseEndpointsFunc) RegisterBaseEndpoints

func (f BaseEndpointsFunc) RegisterBaseEndpoints(router *gin.RouterGroup)

RegisterBaseEndpoints register Base endpoints by registrar BaseEndpointsFunc.

type BasicEndpoints

type BasicEndpoints interface {
	// RegisterBasicEndpoints register BASIC endpoints.
	RegisterBasicEndpoints(router *gin.RouterGroup)
}

BasicEndpoints registrar which will register routes in BASIC routes group.

type BasicEndpointsFunc

type BasicEndpointsFunc func(router *gin.RouterGroup)

BasicEndpointsFunc wrapping type for function to mark it as implementation of BasicEndpoints.

func (BasicEndpointsFunc) RegisterBasicEndpoints

func (f BasicEndpointsFunc) RegisterBasicEndpoints(router *gin.RouterGroup)

RegisterBasicEndpoints register Basic endpoints by registrar BasicEndpointsFunc.

type CallbackEndpoints

type CallbackEndpoints interface {
	// RegisterCallbackEndpoints register CALLBACK endpoints.
	RegisterCallbackEndpoints(router *gin.RouterGroup)
}

CallbackEndpoints registrar which will register routes in CALLBACK routes group.

type CallbackEndpointsFunc

type CallbackEndpointsFunc func(router *gin.RouterGroup)

CallbackEndpointsFunc wrapping type for function to mark it as implementation of BaseEndpoints.

func (CallbackEndpointsFunc) RegisterCallbackEndpoints

func (f CallbackEndpointsFunc) RegisterCallbackEndpoints(router *gin.RouterGroup)

RegisterCallbackEndpoints register Callback endpoints by registrar CallbackEndpointsFunc.

Jump to

Keyboard shortcuts

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