Documentation ¶
Index ¶
- Variables
- type Demo
- type Index
- func (c *Index) Action(ctx context.Context)
- func (c *Index) GetContent(app *framework.Application, path string) (result []byte, err error)
- func (b *Index) GetFileContent(path string) (result []byte, err error)
- func (b *Index) ParseToMarkdown(data []byte) []byte
- func (b *Index) ResponseErr(w http.ResponseWriter, err error)
- func (b *Index) ResponseMarkdown(w http.ResponseWriter, data []byte)
Constants ¶
This section is empty.
Variables ¶
View Source
var GPathMap = map[string]interface{}{}
Functions ¶
This section is empty.
Types ¶
type Demo ¶
type Demo struct {
// contains filtered or unexported fields
}
func (*Demo) GetFileContent ¶
func (*Demo) ParseToMarkdown ¶
func (*Demo) ResponseErr ¶
func (b *Demo) ResponseErr(w http.ResponseWriter, err error)
func (*Demo) ResponseMarkdown ¶
func (b *Demo) ResponseMarkdown(w http.ResponseWriter, data []byte)
type Index ¶
type Index struct {
// contains filtered or unexported fields
}
func (*Index) GetContent ¶
func (*Index) GetFileContent ¶
func (*Index) ParseToMarkdown ¶
func (*Index) ResponseErr ¶
func (b *Index) ResponseErr(w http.ResponseWriter, err error)
func (*Index) ResponseMarkdown ¶
func (b *Index) ResponseMarkdown(w http.ResponseWriter, data []byte)
Click to show internal directories.
Click to hide internal directories.