package
Version:
v0.0.0-...-d777169
Opens a new window with list of versions in this module.
Published: Oct 12, 2023
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Exported routes variables
getRoutes ...
creates our routes for our entire application. This way every
group of routes can be defined in their own files.
URLValidation ...
IsValidDomain returns true if the domain is valid.
It uses a simple regular expression to check the domain validity.
type DateTime struct {
DateTime time.Time `json:"datetime"`
}
DateTime struct
type Default struct {
IP string `json:"ip"`
Message string `json:"message"`
}
Default struct
type Hash struct {
Text string `json:"text" binding:"required" validate:"nonzero"`
HashTypeMD5 string `json:"hash (md5)"`
HashTypeSHA1 string `json:"hash (sha1)"`
HashTypeSHA256 string `json:"hash (sha256)"`
HashTypeSHA512 string `json:"hash (sha512)"`
}
Hash struct
type Msg struct {
Message string `json:"message"`
}
Msg struct
Source Files
¶
Click to show internal directories.
Click to hide internal directories.