types

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entries

type Entries []*Entry

func DecodeEntriesYAML

func DecodeEntriesYAML(body []byte) (Entries, error)

type Entry

type Entry struct {
	URL       string `yaml:"url" json:"url"`
	Bucket    string `yaml:"bucket" json:"bucket"`
	KeyPrefix string `yaml:"key_prefix" json:"key_prefix"`
	Timezone  string `yaml:"timezone" json:"timezone"`
}

type GifRequest

type GifRequest struct {
	Bucket    string `yaml:"bucket" json:"bucket"`
	KeyPrefix string `yaml:"key_prefix" json:"key_prefix"`
	Year      int    `yaml:"year" json:"year"`
	Month     int    `yaml:"month" json:"month"`
	Day       int    `yaml:"day" json:"day"`
}

Jump to

Keyboard shortcuts

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