server

package
v0.0.0-...-996dda8 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(c *config.Config)

Types

type Response

type Response string

Response is a string response the server returns

const (
	// Server health is healthy
	Healthy Response = `{"status":"ok"}`
	// Server health is unhealthy
	UnHealthy Response = `{"status":"not ok"}`
	// Server welcome message
	WelcomeMsg Response = "welcome to the demo go app"
)

Jump to

Keyboard shortcuts

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