httpserver

package
v0.0.0-...-8fe99ee Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2022 License: MIT Imports: 11 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 {
	App      *gin.Engine
	Database *sqlx.DB
	Config   *config.Config
}

func NewHTTPServer

func NewHTTPServer(config *config.Config, db *sqlx.DB) *Server

func (*Server) SetupRouter

func (server *Server) SetupRouter()

@schemes http @host localhost:8888

func (*Server) Start

func (server *Server) Start()

Jump to

Keyboard shortcuts

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