config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   = "v1.0.0"
	Author    = "barry"
	Email     = "freeit@126.com"
	Name      = "go-webhook"
	Copyright = "@2020 github.com/yezihack/go-webhook"
	Usage     = "This is a github web hooks tools"
)

Functions

This section is empty.

Types

type Config

type Config struct {
	ScriptBash string // script bash path
	Port       int
	Secret     string // secret
	Quiet      bool   // only print info, errors
}

func New

func New(scriptBash, secret string, port int, quiet bool) (cfg Config, err error)

Jump to

Keyboard shortcuts

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