Documentation ¶ Index ¶ func StartListener(host string, port int) type Response Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func StartListener ¶ func StartListener(host string, port int) 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"` } Response defines the json structure to return as response after webhook call. Source Files ¶ View all Source files functions.go handlers.go server.go types.go Click to show internal directories. Click to hide internal directories.