Documentation ¶
Index ¶
- func CleanupDownloads()
- func ConcatenateErrors(errs *[]error) string
- func DownloadFile(url string, fileName string, isPrivate bool) (filePath string, size int64, err error)
- func EpochDate(date time.Time) int64
- func EpochHours() int64
- func EpochNow() int64
- func GetEnv(key string, required bool) string
- func MakeUrl(url string, isPrivate bool, skip_check bool, expiry int64) string
- func RemoveDuplicates(arr *[]string)
- func StringInSlice(list []string, a string) bool
- func ValidateAndRaiseError(request *gottp.Request, structure interface{}) bool
- type M
- type MailConn
- type Message
- type R
- type TimedWaitGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupDownloads ¶
func CleanupDownloads()
func ConcatenateErrors ¶
func DownloadFile ¶
func EpochHours ¶
func EpochHours() int64
func RemoveDuplicates ¶
func RemoveDuplicates(arr *[]string)
func StringInSlice ¶
func ValidateAndRaiseError ¶
func ValidateAndRaiseError(request *gottp.Request, structure interface{}) bool
Types ¶
type M ¶
func GetPaginationToQuery ¶
func GetPaginationToQuery(paginator *gottp.Paginator) *M
type MailConn ¶
type MailConn struct { HostName string UserName string Password string SenderName string Port string Host string }
func (*MailConn) MessageBytes ¶
type R ¶
func (R) SendOverWire ¶
type TimedWaitGroup ¶
func (*TimedWaitGroup) GetCompletionChannel ¶
func (self *TimedWaitGroup) GetCompletionChannel(completionChannel chan<- bool)
func (*TimedWaitGroup) TimedWait ¶
func (self *TimedWaitGroup) TimedWait() bool
Click to show internal directories.
Click to hide internal directories.