controller

package
v0.0.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2021 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func CreateInitControllersFn

func CreateInitControllersFn(gc *GatewayController) func(router fiber.Router)

Types

type GatewayController

type GatewayController struct {
	// contains filtered or unexported fields
}

func NewGatewayController

func NewGatewayController(opt *config.AppConfig, rdb *redis.Client, logger log.Logger,
	nr *newrelic.App,
	messageSvc pb.MessageSvcClient,
	middleSvc pb.MiddleSvcClient,
	workflowSvc pb.WorkflowSvcClient,
	chatbotSvc pb.ChatbotSvcClient,
	userSvc pb.UserSvcClient) *GatewayController

func (*GatewayController) Authorization

func (gc *GatewayController) Authorization(c *fiber.Ctx) error

func (*GatewayController) CreateActionMessage

func (gc *GatewayController) CreateActionMessage(c *fiber.Ctx) error

func (*GatewayController) CreateCredential

func (gc *GatewayController) CreateCredential(c *fiber.Ctx) error

func (*GatewayController) CreateSetting

func (gc *GatewayController) CreateSetting(c *fiber.Ctx) error

func (*GatewayController) DebugEvent

func (gc *GatewayController) DebugEvent(c *fiber.Ctx) error

func (*GatewayController) DeleteWorkflowMessage

func (gc *GatewayController) DeleteWorkflowMessage(c *fiber.Ctx) error

func (*GatewayController) GetActionMessages

func (gc *GatewayController) GetActionMessages(c *fiber.Ctx) error

func (*GatewayController) GetApps

func (gc *GatewayController) GetApps(c *fiber.Ctx) error

func (*GatewayController) GetCredential

func (gc *GatewayController) GetCredential(c *fiber.Ctx) error

func (*GatewayController) GetMaskingCredentials

func (gc *GatewayController) GetMaskingCredentials(c *fiber.Ctx) error

func (*GatewayController) GetMessages

func (gc *GatewayController) GetMessages(c *fiber.Ctx) error

func (*GatewayController) GetPage

func (gc *GatewayController) GetPage(c *fiber.Ctx) error

func (*GatewayController) GetRoleImage added in v0.0.25

func (gc *GatewayController) GetRoleImage(c *fiber.Ctx) error

func (*GatewayController) GetSettings

func (gc *GatewayController) GetSettings(c *fiber.Ctx) error

func (*GatewayController) Index

func (gc *GatewayController) Index(c *fiber.Ctx) error

func (*GatewayController) RunMessage

func (gc *GatewayController) RunMessage(c *fiber.Ctx) error

func (*GatewayController) SendMessage

func (gc *GatewayController) SendMessage(c *fiber.Ctx) error

func (*GatewayController) SlackEvent

func (gc *GatewayController) SlackEvent(c *fiber.Ctx) error

func (*GatewayController) StoreAppOAuth

func (gc *GatewayController) StoreAppOAuth(c *fiber.Ctx) error

func (*GatewayController) TelegramEvent

func (gc *GatewayController) TelegramEvent(c *fiber.Ctx) error

func (*GatewayController) WebhookTrigger

func (gc *GatewayController) WebhookTrigger(c *fiber.Ctx) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL