conf

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal added in v0.2.5

func Marshal(debug func(string, ...any), requests any, have []*entry.Entry, p Prompter) error

func WriteOut added in v0.2.5

func WriteOut(service string, request any) error

Types

type Prompt added in v0.2.5

type Prompt struct {
	// contains filtered or unexported fields
}

Prompt just queries for things

func NewPrompt added in v0.2.5

func NewPrompt(debug func(string, ...any)) *Prompt

func (*Prompt) Query added in v0.2.5

func (p *Prompt) Query(req *request.Request) (*entry.Entry, error)

type Prompter added in v0.2.5

type Prompter interface {
	Query(*request.Request) (*entry.Entry, error)
}

Jump to

Keyboard shortcuts

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