stocksched

package
v0.0.0-...-55fb956 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ODFWHttpClient = &http.Client{
		Timeout: 10 * time.Second,
	}
)

Functions

This section is empty.

Types

type Stock

type Stock struct {
	WaterBody string    // DETROIT RES
	Starting  time.Time // Jun. 28, 2021
	Zone      string    // Willamette
	Office    string    // Corvallis
	Legals    int64     // 1,110
	Trophy    int64     // 3,800
	Brood     int64     // 0
	Total     int64     // 4,900
}

func (Stock) String

func (s Stock) String() string

type TroutCounts

type TroutCounts struct {
	Stockings []Stock
}

func LoadTroutCounts

func LoadTroutCounts(client *http.Client, zone Zone) (*TroutCounts, error)

type Zone

type Zone string
const (
	UnknownZone Zone = "0"
	Central     Zone = "1"
	Northeast   Zone = "2"
	Northwest   Zone = "3"
	Southeast   Zone = "4"
	Southwest   Zone = "5"
	Willamette  Zone = "6"
)

Jump to

Keyboard shortcuts

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