routes

package
v0.0.0-...-d389d3b Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Route

type Route interface {
	Setup()
}

Route interface.

func NewSwaggerRoutes

func NewSwaggerRoutes(handler routes.RequestHandler) Route

NewSwaggerRoutes creates new user controller.

type Routes

type Routes []Route

Routes contains multiple routes.

func NewRoutes

func NewRoutes(routes []Route) Routes

NewRoutes sets up routes. nolint: interfacer

func (Routes) Setup

func (r Routes) Setup()

Setup all the route.

type SwaggerRoutes

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

SwaggerRoutes struct.

func (SwaggerRoutes) Setup

func (s SwaggerRoutes) Setup()

Setup user routes.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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