gin

package module
v0.0.0-...-75dc36a Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2017 License: MIT Imports: 9 Imported by: 0

README

gin GoDoc

Package gin provides a Gonzo stage for gin Go Server livereload utlity.

Documentation

Index

Constants

View Source
const (
	Description = `Live reload utility for Go web servers`
)

Variables

This section is empty.

Functions

func NewGin

func NewGin(config *Config, args ...string) kargar.Action

Types

type Config

type Config struct {
	Path      string // cwd.
	Tags      string //Tags to use for build.
	Port      int    //Port for the proxy server.    3000
	App       int    //Port for the Go web server.    3001
	Bin       string //Name of generated binary file. gin-bin
	Immediate bool   //Run the server immediatly after it's built" false.
}

func (*Config) SetDefaults

func (c *Config) SetDefaults() error

Jump to

Keyboard shortcuts

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