Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { CommonOpts Storage *storage.BoltDB Templates *tpl.Templates // contains filtered or unexported fields }
App is a Hook application
type CommonOpts ¶
type CommonOpts struct { AppURL string BoltPath string BoltTTL int StaticPath string TmlPath string TplExt string }
CommonOpts is the options that provided into handlers
func (*CommonOpts) SetCommon ¶
func (c *CommonOpts) SetCommon(commonOpts CommonOpts)
SetCommon apply the options
Click to show internal directories.
Click to hide internal directories.