http

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDemoHandler

func NewDemoHandler(gateway cx.HttpHandler, demoService demo.Service) delivery.HttpHandler

Types

type DemoHttpHandler

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

func (*DemoHttpHandler) CreateDepartment

func (d *DemoHttpHandler) CreateDepartment(c *gin.Context) error

func (*DemoHttpHandler) CreateUser

func (d *DemoHttpHandler) CreateUser(c *gin.Context) error

func (*DemoHttpHandler) DeleteDepartment

func (d *DemoHttpHandler) DeleteDepartment(c *gin.Context) error

func (*DemoHttpHandler) DeleteUser

func (d *DemoHttpHandler) DeleteUser(c *gin.Context) error

func (*DemoHttpHandler) GetDepartment

func (d *DemoHttpHandler) GetDepartment(c *gin.Context) error

func (*DemoHttpHandler) GetUser

func (d *DemoHttpHandler) GetUser(c *gin.Context) error

func (*DemoHttpHandler) ModifyDepartment

func (d *DemoHttpHandler) ModifyDepartment(c *gin.Context) error

func (*DemoHttpHandler) ModifyUser

func (d *DemoHttpHandler) ModifyUser(c *gin.Context) error

Jump to

Keyboard shortcuts

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