introspect

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithKit

func WithKit(ctx context.Context, api API) context.Context

Types

type API

type API interface {
	GetManifest(ctx context.Context, plugin config.Plugin) (config.Manifest, error)
	Options() Options
	Theme() Theme
}

func Kit

func Kit(ctx context.Context) API

type Options

type Options struct {
	Help         bool
	Autocomplete string
}

type Theme

type Theme struct {
	Title   *color.Color
	Error   *color.Color
	Keyword *color.Color
	Value   *color.Color
	Option  *color.Color
}

func NewDefaultTheme

func NewDefaultTheme() *Theme

Jump to

Keyboard shortcuts

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