Documentation
¶
Index ¶
Constants ¶
View Source
const ( ValidationError = "VALIDATION_ERROR" MalformedJSON = "MALFORMED_JSON" DupilcateShortCode = "DUPLICATE_SHORT_CODE" NotFound = "NOT_FOUND" InvalidShortCode = "INVALID_SHORT_CODE" )
View Source
const ( Forbidden = "FORBIDDEN" InvalidInput = "INVALID_INPUT" DatabaseError = "DATABASE_ERROR" NetworkError = "NETWORK_ERROR" InternalError = "INTERNAL_SERVER_ERROR" )
Variables ¶
This section is empty.
Functions ¶
func BindAndValidate ¶
func GenerateShortCode ¶
func GetServerAddress ¶
func GetServerAddress() string
Types ¶
Click to show internal directories.
Click to hide internal directories.