codegen

package
v0.0.0-...-884e2a4 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const BaseUrl = "https://wiki.teamfortress.com"

Variables

This section is empty.

Functions

func NewResponseTemplate

func NewResponseTemplate() *template.Template

Types

type ResponseTemplateData

type ResponseTemplateData struct {
	Timestamp time.Time
	URL       string
	Class     string
	Responses []responses.Response
}

type Scraper

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

func NewScraper

func NewScraper(class string) *Scraper

func (*Scraper) FetchDocument

func (s *Scraper) FetchDocument() error

func (*Scraper) GetURL

func (s *Scraper) GetURL() string

func (Scraper) Run

func (s Scraper) Run() ([]responses.Response, error)

Jump to

Keyboard shortcuts

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