hello

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(config Config) http.Handler

Handler for Hello request. Should be use with net/http

func Swagger added in v1.5.0

func Swagger() (swagger.Configuration, error)

Swagger provides swagger configuration for

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

Config of package

func Flags

func Flags(fs *flag.FlagSet, prefix string) Config

Flags adds flags for configuring package

type Hello

type Hello struct {
	Name string `json:"greeting"`
}

Hello represents the outputted welcome message

Jump to

Keyboard shortcuts

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