Documentation ¶
Index ¶
- func AddContextConfiguration(conf *config.Values) gin.HandlerFunc
- func AttachIndex(d *Dispatcher)
- func AttachPageHandler(d *Dispatcher)
- func AttachPing(d *Dispatcher)
- func AttachToc(d *Dispatcher)
- func ContextConfig(c *gin.Context) *config.Values
- func FindResourceFile(c *gin.Context, resource string) (resource.Renderer, string)
- func Index(c *gin.Context)
- func IndexListing(c *gin.Context)
- func IndexPage(c *gin.Context)
- func Page(c *gin.Context)
- func Ping(c *gin.Context)
- func RenderPath(path string, c *gin.Context)
- func SiteBaseDirectory(c *gin.Context) string
- func TableOfContents(c *gin.Context)
- type Dispatcher
- type PingResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddContextConfiguration ¶
func AddContextConfiguration(conf *config.Values) gin.HandlerFunc
func AttachIndex ¶
func AttachIndex(d *Dispatcher)
func AttachPageHandler ¶
func AttachPageHandler(d *Dispatcher)
func AttachPing ¶
func AttachPing(d *Dispatcher)
func AttachToc ¶
func AttachToc(d *Dispatcher)
func FindResourceFile ¶
func IndexListing ¶
func RenderPath ¶
func SiteBaseDirectory ¶
func TableOfContents ¶
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) 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.