Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartListener ¶
StartListener for starting the gin server on given host:port
Types ¶
type Response ¶
type Response struct { StatusCode int `json:"status_code"` Ok bool `json:"ok"` Message string `json:"message,omitempty"` Data interface{} `json:"data,omitempty"` Version string `json:"version,omitempty"` BuildDate string `json:"build_date,omitempty"` }
Response defines the json structure to return as response after webhook call.
Click to show internal directories.
Click to hide internal directories.