Documentation ¶
Index ¶
Constants ¶
View Source
const ( CandleTableName = "eth_candles" TimeFormat = "2006-01-02 15:04:05" )
View Source
const CookieName = "fukkatsuso-cryptocurrency"
Variables ¶
View Source
var ( APIKey string APISecret string ProductCode string CandleDuration time.Duration TradeHour int )
View Source
var ( COOKIE_HASHKEY = []byte(os.Getenv("COOKIE_HASHKEY")) // at least 32 bytes long COOKIE_BLOCKKEY = []byte(os.Getenv("COOKIE_BLOCKKEY")) // 16 bytes (AES-128) or 32 bytes (AES-256) long )
View Source
var ( MYSQL_USER = os.Getenv("MYSQL_USER") MYSQL_PASSWORD = os.Getenv("MYSQL_PASSWORD") MYSQL_HOST = os.Getenv("MYSQL_HOST") MYSQL_PORT = os.Getenv("MYSQL_PORT") MYSQL_DATABASE = os.Getenv("MYSQL_DATABASE") MYSQL_CONNECTION_NAME = os.Getenv("MYSQL_CONNECTION_NAME") MYSQL_OPTION = "?parseTime=true" )
View Source
var ( SlackBotToken string SlackChannelID string )
View Source
var DB *sql.DB
View Source
var (
LocalTime *time.Location
)
View Source
var SecureCookie *securecookie.SecureCookie
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.