Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckCharRedundant ¶
CheckCharRedundant verify is a character is redundant in a string.
func GenerateURL ¶
GenerateURL generate random string for plak url.
func ParseExpiration ¶
ParseExpiration Parse "1d1h1m1s" duration format. Return 0 & error if error.
Types ¶
type ParseExpirationError ¶
type ParseExpirationError struct {
// contains filtered or unexported fields
}
func (*ParseExpirationError) Error ¶
func (m *ParseExpirationError) Error() string
Click to show internal directories.
Click to hide internal directories.