handler

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Provide(New)

Functions

This section is empty.

Types

type Handler

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

Handler -

func New

func New(p Params) *Handler

New -

func (*Handler) GetGrillFirmware

func (c *Handler) GetGrillFirmware(ctx *fasthttp.RequestCtx)

GetGrillFirmware -

func (*Handler) GetGrillID

func (c *Handler) GetGrillID(ctx *fasthttp.RequestCtx)

GetGrillID -

func (*Handler) GetGrillState

func (c *Handler) GetGrillState(ctx *fasthttp.RequestCtx)

GetGrillState -

func (*Handler) GetSessionData

func (c *Handler) GetSessionData(ctx *fasthttp.RequestCtx)

func (*Handler) NewSession

func (c *Handler) NewSession(ctx *fasthttp.RequestCtx)

NewSession -

type Params

type Params struct {
	fx.In

	Logger      *logrus.Logger
	GrillClient gmg.Client
	Repository  repo.Repository
}

Params -

Jump to

Keyboard shortcuts

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