handler

package
v0.0.0-...-5c0b9ed Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminHanler

type AdminHanler struct{}

AdminHanler ...

func (*AdminHanler) CreateAdmin

func (sah *AdminHanler) CreateAdmin(stub shim.ChaincodeStubInterface, args []string) pb.Response

CreateAdmin ...

func (*AdminHanler) GetAdminByID

func (sah *AdminHanler) GetAdminByID(stub shim.ChaincodeStubInterface, args []string) pb.Response

GetAdminByID ...

func (*AdminHanler) GetAllAdmin

func (sah *AdminHanler) GetAllAdmin(stub shim.ChaincodeStubInterface, args []string) pb.Response

GetAllAdmin ...

func (*AdminHanler) UpdateAdmin

func (sah *AdminHanler) UpdateAdmin(stub shim.ChaincodeStubInterface, args []string) pb.Response

UpdateAdmin ...

type ApprovalHanler

type ApprovalHanler struct{}

ApprovalHanler ...

func (*ApprovalHanler) CreateApproval

func (sah *ApprovalHanler) CreateApproval(stub shim.ChaincodeStubInterface, args []string) pb.Response

CreateApproval ...

func (*ApprovalHanler) GetAllApproval

func (sah *ApprovalHanler) GetAllApproval(stub shim.ChaincodeStubInterface, args []string) pb.Response

GetAllApproval ...

func (*ApprovalHanler) GetApprovalByID

func (sah *ApprovalHanler) GetApprovalByID(stub shim.ChaincodeStubInterface, args []string) pb.Response

GetApprovalByID ...

func (*ApprovalHanler) UpdateApproval

func (sah *ApprovalHanler) UpdateApproval(stub shim.ChaincodeStubInterface, args []string) pb.Response

UpdateApproval ...

type Handler

type Handler struct {
	SuperAdminHanler *SuperAdminHanler
	AdminHanler      *AdminHanler
	ProposalHanler   *ProposalHanler
	ApprovalHanler   *ApprovalHanler
}

Handler ...

func (*Handler) InitHandler

func (h *Handler) InitHandler()

InitHandler ...

type ProposalHanler

type ProposalHanler struct{}

ProposalHanler ...

func (*ProposalHanler) CommitProposal

func (sah *ProposalHanler) CommitProposal(stub shim.ChaincodeStubInterface, args []string) pb.Response

CommitProposal ...

func (*ProposalHanler) CreateProposal

func (sah *ProposalHanler) CreateProposal(stub shim.ChaincodeStubInterface, args []string) pb.Response

CreateProposal ...

func (*ProposalHanler) GetAllProposal

func (sah *ProposalHanler) GetAllProposal(stub shim.ChaincodeStubInterface, args []string) pb.Response

GetAllProposal ...

func (*ProposalHanler) GetPendingProposalBySuperAdminID

func (sah *ProposalHanler) GetPendingProposalBySuperAdminID(stub shim.ChaincodeStubInterface, args []string) pb.Response

GetPendingProposalBySuperAdminID ...

func (*ProposalHanler) GetProposalByID

func (sah *ProposalHanler) GetProposalByID(stub shim.ChaincodeStubInterface, args []string) pb.Response

GetProposalByID ...

func (*ProposalHanler) UpdateProposal

func (sah *ProposalHanler) UpdateProposal(stub shim.ChaincodeStubInterface, args []string) pb.Response

UpdateProposal ...

type SuperAdminHanler

type SuperAdminHanler struct{}

SuperAdminHanler ...

func (*SuperAdminHanler) CreateSuperAdmin

func (sah *SuperAdminHanler) CreateSuperAdmin(stub shim.ChaincodeStubInterface, args []string) pb.Response

CreateSuperAdmin ...

func (*SuperAdminHanler) GetAllSuperAdmin

func (sah *SuperAdminHanler) GetAllSuperAdmin(stub shim.ChaincodeStubInterface, args []string) pb.Response

GetAllSuperAdmin ...

func (*SuperAdminHanler) GetSuperAdminByID

func (sah *SuperAdminHanler) GetSuperAdminByID(stub shim.ChaincodeStubInterface, args []string) pb.Response

GetSuperAdminByID ...

func (*SuperAdminHanler) UpdateSuperAdmin

func (sah *SuperAdminHanler) UpdateSuperAdmin(stub shim.ChaincodeStubInterface, args []string) pb.Response

UpdateSuperAdmin ...

Jump to

Keyboard shortcuts

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