fasthttp

package
v0.0.0-...-55d5d5f Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	ports.AccountOps
	logger.Logger
}

func (*Account) Delete

func (a *Account) Delete(ctx *fasthttp.RequestCtx)

func (*Account) Login

func (a *Account) Login(ctx *fasthttp.RequestCtx)

func (*Account) Register

func (a *Account) Register(ctx *fasthttp.RequestCtx)

func (*Account) Update

func (a *Account) Update(ctx *fasthttp.RequestCtx)

type Data

type Data struct {
	ports.DataOps
	logger.Logger
}

func (*Data) Chess

func (d *Data) Chess(ctx *fasthttp.RequestCtx)

func (*Data) GitHub

func (d *Data) GitHub(ctx *fasthttp.RequestCtx)

type GraphQL

type GraphQL struct {
	ports.GraphQLOps
	logger.Logger
}

func (*GraphQL) GraphQL

func (g *GraphQL) GraphQL(ctx *fasthttp.RequestCtx)

type Plugins

type Plugins struct {
	ports.PluginOps
	// contains filtered or unexported fields
}

func (*Plugins) Delete

func (p *Plugins) Delete(ctx *fasthttp.RequestCtx)

func (*Plugins) Get

func (p *Plugins) Get(ctx *fasthttp.RequestCtx)

func (*Plugins) Install

func (p *Plugins) Install(ctx *fasthttp.RequestCtx)

func (*Plugins) Trigger

func (p *Plugins) Trigger(ctx *fasthttp.RequestCtx)

func (*Plugins) Update

func (p *Plugins) Update(ctx *fasthttp.RequestCtx)

type Router

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

func NewRouter

func NewRouter(config *models.Config) *Router

func (*Router) SetRouter

func (r *Router) SetRouter(services ports.Services, log logger.Logger) *router.Router

TODO: setup auth middleware TODO: setup payload validators at controller layers TODO: setup proper http response codes

type Schedule

type Schedule struct {
	ports.ScheduleOps
	logger.Logger
}

func (*Schedule) Create

func (s *Schedule) Create(ctx *fasthttp.RequestCtx)

func (*Schedule) Delete

func (s *Schedule) Delete(ctx *fasthttp.RequestCtx)

func (*Schedule) Get

func (s *Schedule) Get(ctx *fasthttp.RequestCtx)

func (*Schedule) Update

func (s *Schedule) Update(ctx *fasthttp.RequestCtx)

Jump to

Keyboard shortcuts

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