controllers

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2021 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateInitControllersFn

func CreateInitControllersFn(gc *GatewayController) fasthttp.RequestHandler

Types

type GatewayController

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

func NewGatewayController

func NewGatewayController(opt *gateway.Options, rdb *redis.Client, logger *zap.Logger, subClient pb.SubscribeClient, msgClient pb.MessageClient) *GatewayController

func (*GatewayController) Apps

func (gc *GatewayController) Apps(c *fasthttp.RequestCtx)

func (*GatewayController) Index

func (gc *GatewayController) Index(c *fasthttp.RequestCtx)

func (*GatewayController) SlackCommand

func (gc *GatewayController) SlackCommand(c *fasthttp.RequestCtx)

func (*GatewayController) SlackEvent

func (gc *GatewayController) SlackEvent(c *fasthttp.RequestCtx)

func (*GatewayController) SlackShortcut

func (gc *GatewayController) SlackShortcut(c *fasthttp.RequestCtx)

Jump to

Keyboard shortcuts

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