echox

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package echox provides common functionality for working with echo servers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustViperFlags

func MustViperFlags(v *viper.Viper, flags *pflag.FlagSet, defaultListen string)

MustViperFlags returns the cobra flags and wires them up with viper to prevent code duplication

func NewServer

func NewServer() *echo.Echo

NewServer will return an opinionated echo server for processing API requests.

Types

type Config

type Config struct {
	Listen string
}

Config is used to configure a new ginx server

Jump to

Keyboard shortcuts

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