handlers

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandlers

func NewHandlers() func(param NewHandlersParam) *Handlers

func NewModules

func NewModules() fx.Option

Types

type Handlers

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

func (*Handlers) GetInstallAuth

func (h *Handlers) GetInstallAuth(ctx *gin.Context)

GetInstallAuth Receive auth code and request for access token.

func (*Handlers) PostCommandInfo

func (h *Handlers) PostCommandInfo(ctx *gin.Context)

type NewHandlersParam

type NewHandlersParam struct {
	fx.In

	Config   *configs.Config
	Logger   *logger.Logger
	Ent      *datastore.Ent
	SmrQueue *smrqueue.Queue
	Services *services.Services
}

Jump to

Keyboard shortcuts

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