package
0.0.0-20220709153646-cd005297bbf2
Repository: https://github.com/erikbos/gatekeeper.git
Documentation: pkg.go.dev

# Functions

CheckIPinAccessList checks if ip addresses is in one of the subnets of IP ACL.
GetCurrentTimeMilliseconds returns current epoch time in milliseconds.
LoadYAMLConfiguration loads a configuration file and parses it as YAML.
NewLogger returns a new logger.
ServeEmbedDirectory serves a directory from an embedded filesystem, directory must provided via gin's URL param field ":path".
ServeEmbedFile serves one file from an embedded filesystem.
TimeMillisecondsToInt64 returns time.Time as int64, if not set -1 will be returned.
TimeMillisecondsToString return timestamp as string in UTC.

# Structs

Logger holds our log file configuration.