gemini

package
v1.69.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2018 License: AGPL-3.0 Imports: 11 Imported by: 3

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 Gemini

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 (*Provider) Render(ctx *provider.Context, config, data string) string

Render converts Gemini 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