vsearch

package
v0.2.33 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Form added in v0.2.24

func Form(act string, q string, placeholder string, currTags []string, ps *cutil.PageState) string

func Match

func Match(params *search.Params, matches result.Matches) string

func Result

func Result(res *result.Result, params *search.Params, as *app.State, ps *cutil.PageState) string

func StreamForm added in v0.2.24

func StreamForm(qw422016 *qt422016.Writer, act string, q string, placeholder string, currTags []string, ps *cutil.PageState)

func StreamMatch

func StreamMatch(qw422016 *qt422016.Writer, params *search.Params, matches result.Matches)

func StreamResult

func StreamResult(qw422016 *qt422016.Writer, res *result.Result, params *search.Params, as *app.State, ps *cutil.PageState)

func WriteForm added in v0.2.24

func WriteForm(qq422016 qtio422016.Writer, act string, q string, placeholder string, currTags []string, ps *cutil.PageState)

func WriteMatch

func WriteMatch(qq422016 qtio422016.Writer, params *search.Params, matches result.Matches)

func WriteResult

func WriteResult(qq422016 qtio422016.Writer, res *result.Result, params *search.Params, as *app.State, ps *cutil.PageState)

Types

type Results

type Results struct {
	layout.Basic
	Params  *search.Params
	Results result.Results
	Errors  []error
}

func (*Results) Body

func (p *Results) Body(as *app.State, ps *cutil.PageState) string

func (*Results) StreamBody

func (p *Results) StreamBody(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)

func (*Results) WriteBody

func (p *Results) WriteBody(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)

Jump to

Keyboard shortcuts

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