community: Index | Files

package gemini

import ""


Package Files

gemini.go model.go

type Provider Uses

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

Provider represents Gemini

func (*Provider) Command Uses

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

Command handles authentication, workspace listing and items retrieval.

func (*Provider) Meta Uses

func (*Provider) Meta() provider.TypeMeta

Meta describes us.

func (*Provider) Refresh Uses

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

Refresh just sends back data as-is.

func (*Provider) Render Uses

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

Render converts Gemini data into HTML suitable for browser rendering.

Package gemini imports 11 packages (graph) and is imported by 2 packages. Updated 2019-02-08. Refresh now. Tools for package owners.