Documentation ¶ Index ¶ func Marshal(debug func(string, ...any), requests any, have []*entry.Entry, p Prompter) error func WriteOut(service string, request any) error type Prompt func NewPrompt(debug func(string, ...any)) *Prompt func (p *Prompt) Query(req *request.Request) (*entry.Entry, error) type Prompter 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) } Source Files ¶ View all Source files conf.go marshal.go prompt.go Click to show internal directories. Click to hide internal directories.