result

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewImpl)

ProviderSet is a provider set for wire

Functions

This section is empty.

Types

type IHandler

type IHandler interface {
	// GetByID serve user to get a key result by id
	GetByID(c *gin.Context)

	// List serve user to list all key results by page and size
	List(c *gin.Context)

	// Create serve user to create a key result for objective
	Create(c *gin.Context)

	// Update serve user to update a key result
	Update(c *gin.Context)

	// Delete serve user to delete a key result by id
	Delete(c *gin.Context)
}

IHandler declare key result api handler

func CreateIHandler

func CreateIHandler(biz result.IBiz) (IHandler, error)

func NewImpl

func NewImpl(biz result.IBiz) IHandler

NewImpl serve caller to create an IHandler

Jump to

Keyboard shortcuts

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