heyefi-0.1.0.1: src/HEyefi/Constant.hs
module HEyefi.Constant where
port :: Int
port = 59278
configPath :: String
configPath = "/etc/heyefi/heyefi.config"
multipartBodyBoundary :: String
multipartBodyBoundary =
"---------------------------02468ace13579bdfcafebabef00d"
-- Messages
cardsFormatDoesNotMatch :: String
cardsFormatDoesNotMatch =
"Format of cards does not match [[MacAddress, Key],[MacAddress, Key],...]."
missingCardsDefinition :: String
missingCardsDefinition = "Configuration is missing a definition for `cards`."
uploadDirFormatDoesNotMatch :: String
uploadDirFormatDoesNotMatch =
"Format of upload_dir does not match \"/path/to/upload/dir\""
missingUploadDirDefinition :: String
missingUploadDirDefinition =
"Configuration is missing a definition for `upload_dir`."