peony

package module
v0.0.0-...-6b4aa14 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: MIT Imports: 4 Imported by: 0

README

peony

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Router *gin.Engine
	// contains filtered or unexported fields
}

func New

func New(opts ...Option) *App

func (*App) Run

func (a *App) Run() error

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithConfigFile

func WithConfigFile(path string) Option

func WithPort

func WithPort(port int) Option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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