Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DashboardHTTPHandler ¶
type DashboardHTTPHandler struct {
// contains filtered or unexported fields
}
DashboardHTTPHandler type
func NewDashboardHTTPHandler ¶
func NewDashboardHTTPHandler(tobConfig config.Config, logger *log.Logger) (*DashboardHTTPHandler, error)
NewDashboardHTTPHandler DashboardHTTPHandler's constructor
func (*DashboardHTTPHandler) GetServices ¶
func (h *DashboardHTTPHandler) GetServices() http.HandlerFunc
GetServices will return tob services
func (*DashboardHTTPHandler) HandleTobWebhook ¶
func (h *DashboardHTTPHandler) HandleTobWebhook() http.HandlerFunc
HandleTobWebhook will handle webhook that send by Tob
func (*DashboardHTTPHandler) Login ¶
func (h *DashboardHTTPHandler) Login(jwtService utils.JwtService) http.HandlerFunc
Login will handle user login
type Data ¶
type Data struct { Data map[string]map[string]interface{} `json:"data"` DashboardTitle string `json:"dashboardTitle"` }
Data type
type LoginPayload ¶
LoginPayload type
type LoginResponse ¶
LoginResponse type
type WebhookMessage ¶
type WebhookMessage struct {
Message string `json:"message"`
}
WebhookMessage type
Click to show internal directories.
Click to hide internal directories.