package
Version:
v1.9.2
Opens a new window with list of versions in this module.
Published: May 30, 2023
License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
¶
render the alert status before sending alert message
func GetCurrentTime() int64
GetCurrentTime returns current timestamp
ParseString is used to get body according to template
Request is used to do a post request
type Option struct {
Protocol string `json:"protocol"`
Host string `json:"host"`
Path string `json:"path"`
Method string `json:"method"`
Body interface{} `json:"body"`
}
Option is used to post request
Source Files
¶
Click to show internal directories.
Click to hide internal directories.