controller

package
v0.0.0-...-c722118 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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) Action

func (c *Demo) Action(ctx context.Context)

func (*Demo) GetFileContent

func (b *Demo) GetFileContent(path string) (result []byte, err error)

func (*Demo) ParseToMarkdown

func (b *Demo) ParseToMarkdown(data []byte) []byte

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) Action

func (c *Index) Action(ctx context.Context)

func (*Index) GetContent

func (c *Index) GetContent(app *framework.Application, path string) (result []byte, err error)

func (*Index) GetFileContent

func (b *Index) GetFileContent(path string) (result []byte, err error)

func (*Index) ParseToMarkdown

func (b *Index) ParseToMarkdown(data []byte) []byte

func (*Index) ResponseErr

func (b *Index) ResponseErr(w http.ResponseWriter, err error)

func (*Index) ResponseMarkdown

func (b *Index) ResponseMarkdown(w http.ResponseWriter, data []byte)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL