ui

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SortIcon

func SortIcon(fieldIsSorted bool, sortDir string, uq *cloudcostexplorer.URLQuery) string

Types

type HTTPHandlerWithError

type HTTPHandlerWithError func(http.ResponseWriter, *http.Request) error

func (HTTPHandlerWithError) ServeHTTP

type HTTPOutput

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

func NewHTTPOutput

func NewHTTPOutput(w http.ResponseWriter) *HTTPOutput

func (*HTTPOutput) BodyBegin

func (out *HTTPOutput) BodyBegin()

func (*HTTPOutput) BodyEnd

func (out *HTTPOutput) BodyEnd()

func (*HTTPOutput) DocBegin

func (out *HTTPOutput) DocBegin(title string)

func (*HTTPOutput) DocEnd

func (out *HTTPOutput) DocEnd()

func (*HTTPOutput) NavBegin

func (out *HTTPOutput) NavBegin(homeLink string)

func (*HTTPOutput) NavDropdownBegin

func (out *HTTPOutput) NavDropdownBegin(title string)

func (*HTTPOutput) NavDropdownDivider

func (out *HTTPOutput) NavDropdownDivider()

func (*HTTPOutput) NavDropdownEnd

func (out *HTTPOutput) NavDropdownEnd()

func (*HTTPOutput) NavDropdownHeader

func (out *HTTPOutput) NavDropdownHeader(title string)

func (*HTTPOutput) NavDropdownItem

func (out *HTTPOutput) NavDropdownItem(title string, url string)

func (*HTTPOutput) NavEnd

func (out *HTTPOutput) NavEnd()

func (*HTTPOutput) NavMenuBegin

func (out *HTTPOutput) NavMenuBegin()

func (*HTTPOutput) NavMenuEnd

func (out *HTTPOutput) NavMenuEnd()

func (*HTTPOutput) NavSearch

func (out *HTTPOutput) NavSearch(search string, uq *cloudcostexplorer.URLQuery)

func (*HTTPOutput) NavText

func (out *HTTPOutput) NavText(title, value string)

func (*HTTPOutput) NavTextCustom

func (out *HTTPOutput) NavTextCustom(title, value string)

func (*HTTPOutput) Write

func (out *HTTPOutput) Write(s string)

func (*HTTPOutput) Writef

func (out *HTTPOutput) Writef(format string, args ...any)

func (*HTTPOutput) Writeln

func (out *HTTPOutput) Writeln(s string)

Jump to

Keyboard shortcuts

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