types

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	Port      int
	StartDate string
	EndDate   string
	Storage   string
}

type AppError

type AppError struct {
	Message string
	Code    int
}

func (*AppError) Error

func (err *AppError) Error() string

type Config

type Config struct {
	RDB     RDBConfig
	App     AppConfig
	SjisCsv SjisCsvConfig `toml:"sjis_csv"`
}

type RDBConfig

type RDBConfig struct {
	Dbms                  string
	User                  string
	Password              string
	Host                  string
	Port                  int
	DBName                string
	Protocol              string
	IsOtherHolidaysStored bool
	Debug                 bool
}

type Request

type Request struct {
	From  string `json:"from" form:"from" query:"from"`
	To    string `json:"to" form:"to" query:"to"`
	Types []int  `json:"types" form:"types" query:"types"`
}

type SjisCsvConfig

type SjisCsvConfig struct {
	Path string
}

Jump to

Keyboard shortcuts

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