server

package
v0.0.33 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddService

func AddService(addedservice service.Config)

func AddServices

func AddServices(addedservices []service.Config)

func EnableHealthCheck

func EnableHealthCheck()

func EnableSwagger

func EnableSwagger()

func InitService

func InitService(config service.Config)

func SetCORS

func SetCORS()

SetCORS applies CORS config to the gin router

func SetSPA

func SetSPA(url string, dir string)

SetSPA hosts a Single Page App directory at the specified url

func Start

func Start()

Types

This section is empty.

Jump to

Keyboard shortcuts

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