Documentation ¶
Index ¶
- func Addr(ctx iris.Context)
- func GenerateApiKey(n int) (string, error)
- func GenerateConfig(n int) error
- func IpfsAddDir(url, path string) (string, error)
- func IpfsGetAddr(url string) ([]string, error)
- func IsValidMAC(message, messageMAC, key []byte) bool
- func NewWithConfig(cfgfile string) (iris.Handler, error)
- func ParseBody(ctx iris.Context)
- func RebuildWithHugo(hugo, path string) error
- func RebuildWithMake(path string, targets ...string) error
- func RecordBody(ctx iris.Context)
- func UpdateGitRepo(url, path, branchname string) error
- func VerifyGithubSignature(ctx iris.Context)
- func WithConfig(cfg *Config) iris.Handler
- type Config
- type GoDaddyConfig
- type IpfsConfig
- type SiteConfig
- type StripeConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateApiKey ¶
func GenerateConfig ¶
func IpfsAddDir ¶
func IpfsGetAddr ¶
func IsValidMAC ¶
func NewWithConfig ¶
func RebuildWithHugo ¶
func RebuildWithMake ¶
func RecordBody ¶
func RecordBody(ctx iris.Context)
func UpdateGitRepo ¶
func VerifyGithubSignature ¶
func VerifyGithubSignature(ctx iris.Context)
func WithConfig ¶
func WithConfig(cfg *Config) iris.Handler
Types ¶
type Config ¶
type Config struct { Filename string `json:"-"` Apikey string `json:"apikey"` Domain string `json:"domain"` Site SiteConfig `json:"site"` Ipfs IpfsConfig `json:"ipfs"` Stripe StripeConfig `json:"stripe"` GoDaddy GoDaddyConfig `json:"godaddy"` }
func ReadConfig ¶
type GoDaddyConfig ¶
type IpfsConfig ¶
type IpfsConfig struct {
Url string `json:"url"`
}
type SiteConfig ¶
Click to show internal directories.
Click to hide internal directories.