config

package
v0.0.0-...-8dafb23 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Sheet   Sheet
	Twitter Twitter
	Google  jwt.Config
}

Config holds the main configuration information

func NewConfig

func NewConfig() *Config

NewConfig creates a new config struct for you based off of the json file

type Sheet

type Sheet struct {
	ID    string
	Range string
}

Sheet holds the information for the spreadsheed

type Twitter

type Twitter struct {
	Token          string
	Secret         string
	ConsumerKey    string
	ConsumerSecret string
}

Twitter holds the information for the twitter API

Jump to

Keyboard shortcuts

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