controller

package
v0.0.0-...-3986ddd Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2019 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiController

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

func NewApiController

func NewApiController(userService *service.UserService, roleService *service.RoleService, chainService *service.ChainService, channelService *service.ChannelService, chaincodeService *service.ChaincodeService, dashboardService *service.DashboardService) *ApiController

func (*ApiController) ChainAdd

func (a *ApiController) ChainAdd(ctx *gin.Context)

func (*ApiController) ChainBuild

func (a *ApiController) ChainBuild(ctx *gin.Context)

func (*ApiController) ChainDeleted

func (a *ApiController) ChainDeleted(ctx *gin.Context)

func (*ApiController) ChainDownload

func (a *ApiController) ChainDownload(ctx *gin.Context)

func (*ApiController) ChainGet

func (a *ApiController) ChainGet(ctx *gin.Context)

func (*ApiController) ChainList

func (a *ApiController) ChainList(ctx *gin.Context)

func (*ApiController) ChainRelease

func (a *ApiController) ChainRelease(ctx *gin.Context)

func (*ApiController) ChainRun

func (a *ApiController) ChainRun(ctx *gin.Context)

func (*ApiController) ChainStop

func (a *ApiController) ChainStop(ctx *gin.Context)

func (*ApiController) ChainUpdate

func (a *ApiController) ChainUpdate(ctx *gin.Context)

func (*ApiController) ChaincodeAdd

func (a *ApiController) ChaincodeAdd(ctx *gin.Context)

func (*ApiController) ChaincodeDeleted

func (a *ApiController) ChaincodeDeleted(ctx *gin.Context)

func (*ApiController) ChaincodeDeploy

func (a *ApiController) ChaincodeDeploy(ctx *gin.Context)

func (*ApiController) ChaincodeGet

func (a *ApiController) ChaincodeGet(ctx *gin.Context)

func (*ApiController) ChaincodeInvoke

func (a *ApiController) ChaincodeInvoke(ctx *gin.Context)

func (*ApiController) ChaincodeList

func (a *ApiController) ChaincodeList(ctx *gin.Context)

func (*ApiController) ChaincodeQuery

func (a *ApiController) ChaincodeQuery(ctx *gin.Context)

func (*ApiController) ChaincodeUpdate

func (a *ApiController) ChaincodeUpdate(ctx *gin.Context)

func (*ApiController) ChaincodeUpgrade

func (a *ApiController) ChaincodeUpgrade(ctx *gin.Context)

func (*ApiController) ChannelAdd

func (a *ApiController) ChannelAdd(ctx *gin.Context)

func (*ApiController) ChannelAll

func (a *ApiController) ChannelAll(ctx *gin.Context)

func (*ApiController) ChannelGet

func (a *ApiController) ChannelGet(ctx *gin.Context)

func (*ApiController) DashboardCounts

func (a *ApiController) DashboardCounts(ctx *gin.Context)

func (*ApiController) DashboardSevenDays

func (a *ApiController) DashboardSevenDays(ctx *gin.Context)

func (*ApiController) RoleAdd

func (a *ApiController) RoleAdd(ctx *gin.Context)

func (*ApiController) RoleAllList

func (a *ApiController) RoleAllList(ctx *gin.Context)

func (*ApiController) RoleDelete

func (a *ApiController) RoleDelete(ctx *gin.Context)

func (*ApiController) RoleList

func (a *ApiController) RoleList(ctx *gin.Context)

func (*ApiController) RoleUpdate

func (a *ApiController) RoleUpdate(ctx *gin.Context)

func (*ApiController) Upload

func (a *ApiController) Upload(ctx *gin.Context)

func (*ApiController) UserAdd

func (a *ApiController) UserAdd(ctx *gin.Context)

func (*ApiController) UserAddAuth

func (a *ApiController) UserAddAuth(ctx *gin.Context)

func (*ApiController) UserAuthorize

func (a *ApiController) UserAuthorize(ctx *gin.Context)

func (*ApiController) UserDelAuth

func (a *ApiController) UserDelAuth(ctx *gin.Context)

func (*ApiController) UserDelete

func (a *ApiController) UserDelete(ctx *gin.Context)

func (*ApiController) UserInfo

func (a *ApiController) UserInfo(ctx *gin.Context)

func (*ApiController) UserList

func (a *ApiController) UserList(ctx *gin.Context)

func (*ApiController) UserLogin

func (a *ApiController) UserLogin(ctx *gin.Context)

func (*ApiController) UserLogout

func (a *ApiController) UserLogout(ctx *gin.Context)

func (*ApiController) UserUpdate

func (a *ApiController) UserUpdate(ctx *gin.Context)

type LoginForm

type LoginForm struct {
	UserName string `form:"username" binding:"required"`
	Password string `form:"password" binding:"required"`
}

Jump to

Keyboard shortcuts

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