statink

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2022 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Overview

Package statink contains implementations of core.Shift and core.ShiftIterator with associated methods to retrieve shifts from arbitrary stat.ink instances.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllShifts

func GetAllShifts(statInkServer types.Server, client *http.Client, quiet bool) (errs []error)

GetAllShifts downloads every shiftStatInk from the provided stat.ink server and saves it to a gzipped jsonlines file.

func LoadFromFileIterator

func LoadFromFileIterator(server types.Server) (core.ShiftIterator, []error)

LoadFromFileIterator creates a core.ShiftIterator that iterates over the stat.ink jsonlimnes in the file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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