community: github.com/documize/community/domain/section/code Index | Files

package code

import "github.com/documize/community/domain/section/code"

Index

Package Files

code.go

type Provider Uses

type Provider struct {
    Runtime *env.Runtime
    Store   *store.Store
}

Provider represents code snippet

func (*Provider) Command Uses

func (*Provider) Command(ctx *provider.Context, w http.ResponseWriter, r *http.Request)

Command stub.

func (*Provider) Meta Uses

func (*Provider) Meta() provider.TypeMeta

Meta describes us.

func (*Provider) Refresh Uses

func (*Provider) Refresh(ctx *provider.Context, config, data string) string

Refresh just sends back data as-is.

func (*Provider) Render Uses

func (*Provider) Render(ctx *provider.Context, config, data string) string

Render just sends back HMTL as-is.

Package code imports 4 packages (graph) and is imported by 1 packages. Updated 2018-10-20. Refresh now. Tools for package owners.