Documentation ¶
Index ¶
- func AttachIndex(d *Dispatcher)
- func AttachPing(d *Dispatcher)
- func AttachRecipeHandler(d *Dispatcher)
- func AttachStyling(d *Dispatcher)
- func Index(c *gin.Context)
- func Ping(c *gin.Context)
- func RecipeData(c *gin.Context)
- func RecipeDataHtml(c *gin.Context, r *model.Recipe)
- func RecipeDataJson(c *gin.Context, r *model.Recipe)
- func RecipeDataYaml(c *gin.Context, r *model.Recipe)
- func ScanForExtension(dir string, ext string) ([]os.FileInfo, error)
- func UnifiedStyling(c *gin.Context)
- type Dispatcher
- type PingResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachIndex ¶
func AttachIndex(d *Dispatcher)
func AttachPing ¶
func AttachPing(d *Dispatcher)
func AttachRecipeHandler ¶
func AttachRecipeHandler(d *Dispatcher)
func AttachStyling ¶
func AttachStyling(d *Dispatcher)
func RecipeData ¶
func UnifiedStyling ¶
Types ¶
type Dispatcher ¶
type Dispatcher struct {
// contains filtered or unexported fields
}
func CreateDispatcher ¶
func CreateDispatcher(v *config.Values) *Dispatcher
func (*Dispatcher) AttachMiddleware ¶
func (d *Dispatcher) AttachMiddleware()
func (*Dispatcher) AttachPages ¶
func (d *Dispatcher) AttachPages()
func (*Dispatcher) AttachSupport ¶
func (d *Dispatcher) AttachSupport()
func (*Dispatcher) AttachUtility ¶
func (d *Dispatcher) AttachUtility()
func (*Dispatcher) ServerUrl ¶
func (d *Dispatcher) ServerUrl() url.URL
func (*Dispatcher) Shutdown ¶
func (d *Dispatcher) Shutdown()
func (*Dispatcher) Start ¶
func (d *Dispatcher) Start()
type PingResponse ¶
Click to show internal directories.
Click to hide internal directories.