Documentation ¶
Index ¶
- Variables
- func GetObejctURL(objectName string) string
- func GetObject(objectName string) (io.Reader, error)
- func GetObjectUrlForADay(objectName string) (string, error)
- func InitMail()
- func InitMinio()
- func InitSlack() *slacker.Slacker
- func PutObject(objectName string, r io.Reader, objectSize int64) error
- func SendEmail(to string, subject string, body string) error
- func SendHtmlEmail(to string, subject string, html string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var SlackBot *slacker.Slacker
SlackBot slack client.
Functions ¶
func GetObejctURL ¶
GetObejctURL get object url with objectName from minio.
func GetObjectUrlForADay ¶
GetObjectUrlForADay get object url from minio. Time is one day.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.