server

package
v0.0.0-...-a378b08 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitRouter

func InitRouter() *mux.Router

InitRouter initializes the router for the api client

func InitRoutes

func InitRoutes(router *mux.Router)

InitRoutes setup all handlers routing

func ServSetup

func ServSetup() *http.ServeMux

ServSetup is a function that sets up the web server

Types

type Served

type Served struct {
	Router  *mux.Router
	ServeUp *http.ServeMux
}

Served is a struct that holds server and router

Jump to

Keyboard shortcuts

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