ofgem

package
v0.2.0-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Unlicense Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeUrl

func MakeUrl(uri string, public bool) string

Types

type CertificateSearch

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

func NewCertificateSearch

func NewCertificateSearch() *CertificateSearch

func (*CertificateSearch) Countries

func (cs *CertificateSearch) Countries(countries string) error

func (*CertificateSearch) Debug

func (cs *CertificateSearch) Debug(onoff bool)

func (*CertificateSearch) GetResults

func (cs *CertificateSearch) GetResults() (result gore.ResultSet)

func (*CertificateSearch) Scheme

func (cs *CertificateSearch) Scheme(schemes string) error

func (*CertificateSearch) SetMonth

func (cs *CertificateSearch) SetMonth(month int) error

func (*CertificateSearch) SetPeriod

func (cs *CertificateSearch) SetPeriod(month, year int) error

func (*CertificateSearch) SetYear

func (cs *CertificateSearch) SetYear(year int) error

type HTMLElement

type HTMLElement struct {
	Name string
	Text string

	DOM *goquery.Selection
	// contains filtered or unexported fields
}

func NewHTMLElement

func NewHTMLElement(n *html.Node, s *goquery.Selection) *HTMLElement

func (*HTMLElement) Attr

func (h *HTMLElement) Attr(k string) string

func (*HTMLElement) ForEach

func (h *HTMLElement) ForEach(goquerySelector string, callback func(*HTMLElement))

type StationSearch

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

func NewStationSearch

func NewStationSearch() *StationSearch

func (*StationSearch) AccreditationMonth

func (ss *StationSearch) AccreditationMonth(month int) error

func (*StationSearch) AccreditationYear

func (ss *StationSearch) AccreditationYear(year int) error

func (*StationSearch) CommissionMonth

func (ss *StationSearch) CommissionMonth(month int) error

func (*StationSearch) CommissionYear

func (ss *StationSearch) CommissionYear(year int) error

func (*StationSearch) GetResults

func (ss *StationSearch) GetResults() (result gore.ResultSet)

func (*StationSearch) Scheme

func (ss *StationSearch) Scheme(scheme string) error

Jump to

Keyboard shortcuts

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