gemini

package
v1.48.2 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2017 License: AGPL-3.0 Imports: 10 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 {
}

Provider represents Gemini

func (*Provider) Command

func (*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 (*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