rest

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(api *APIRest)

Auth func

func Index added in v0.0.6

func Index(api *APIRest)

Types

type APIRest

type APIRest struct {
	HTTP        *fiber.App
	Middlewares middleware.Middlewares
	Service     *service.Service
	Validator   *gowok.Validator
	Config      *gowok.Config
}

APIRest struct

func NewAPIRest

func NewAPIRest() *APIRest

func (*APIRest) ConfigureRoute

func (api *APIRest) ConfigureRoute()

ConfigureRoute func

func (APIRest) Index added in v0.0.6

func (api APIRest) Index(c *fiber.Ctx) error

func (APIRest) Login added in v0.0.7

func (api APIRest) Login(c *fiber.Ctx) error

Login func

func (APIRest) Me added in v0.0.7

func (api APIRest) Me(c *fiber.Ctx) error

Me func

func (*APIRest) Run

func (d *APIRest) Run()

func (*APIRest) Stop

func (d *APIRest) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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