api

package
v0.0.0-...-bc49087 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func New

func New(svc service.Service, port string) *Server

func (*Server) AuthHandler

func (s *Server) AuthHandler(ctx *fasthttp.RequestCtx, ps fasthttprouter.Params)

func (*Server) Shutdown

func (s *Server) Shutdown() error

func (*Server) SignInHandler

func (s *Server) SignInHandler(ctx *fasthttp.RequestCtx, ps fasthttprouter.Params)

func (*Server) SignUpHandler

func (s *Server) SignUpHandler(ctx *fasthttp.RequestCtx, ps fasthttprouter.Params)

func (*Server) Start

func (s *Server) Start() error

Jump to

Keyboard shortcuts

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