Documentation ¶
Index ¶
- Constants
- func AddTrailingSlashIfNeeded(path string) string
- func BaseDirectory() string
- func CheckReqParams(source model.Source) error
- func CheckReqParamsWithPattern(source model.Source) error
- func Fatal(message string, args ...interface{})
- func HashFile(path string, hasher hash.Hash) (string, error)
- func Log(format string, args ...interface{})
- func OverrideLoggerArtifactory(logLevel string)
- func RemoveStartingSlashIfNeeded(path string) string
- func RetrieveArtDetails(source model.Source) (*config.ServerDetails, error)
- func RetrieveJsonRequest(v interface{}) error
- func SendJsonResponse(v interface{}) error
- func TransfertDetailsToMeta(result *cmdutils.Result) []model.Metadata
- type Filter
Constants ¶
View Source
const ( ART_SECURITY_FOLDER = "security/" TS_FORMAT = "2006-01-02T15:04:05.000Z" )
Variables ¶
This section is empty.
Functions ¶
func BaseDirectory ¶
func BaseDirectory() string
func CheckReqParams ¶
func OverrideLoggerArtifactory ¶
func OverrideLoggerArtifactory(logLevel string)
func RetrieveArtDetails ¶
func RetrieveArtDetails(source model.Source) (*config.ServerDetails, error)
func RetrieveJsonRequest ¶
func RetrieveJsonRequest(v interface{}) error
func SendJsonResponse ¶
func SendJsonResponse(v interface{}) error
Types ¶
Click to show internal directories.
Click to hide internal directories.