papertrail

package
v1.61.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2018 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

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

Provider represents Papertrail

func (*Provider) Command

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

Command handles authentication, workspace listing and items retrieval.

func (*Provider) Meta

func (*Provider) Meta() provider.TypeMeta

Meta describes us.

func (*Provider) Refresh

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

Refresh just sends back data as-is.

func (*Provider) Render

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

Render converts Papertrail data into HTML suitable for browser rendering.

Jump to

Keyboard shortcuts

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