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.BoltStorage
HashEncoder *hash.Hash
Templates *tpl.Templates
// contains filtered or unexported fields
}
App is a Pad application
type CommonOpts ¶
type CommonOpts struct {
BoltPath string
SecretKey string
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.