api

package
v0.0.0-...-a347a26 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

type Router struct {
	Routes    []*echo.Route
	APIV1Auth *echo.Group
}

type Server

type Server struct {
	Config config.Server
	Echo   *echo.Echo
	Router *Router
	DB     *sql.DB
}

func NewServer

func NewServer(config config.Server) *Server

func (*Server) InitDB

func (s *Server) InitDB(ctx context.Context) error

func (*Server) Start

func (s *Server) Start() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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