Documentation ¶
Index ¶
- type AdminHanler
- func (sah *AdminHanler) CreateAdmin(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func (sah *AdminHanler) GetAdminByID(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func (sah *AdminHanler) GetAllAdmin(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func (sah *AdminHanler) UpdateAdmin(stub shim.ChaincodeStubInterface, args []string) pb.Response
- type ApprovalHanler
- func (sah *ApprovalHanler) CreateApproval(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func (sah *ApprovalHanler) GetAllApproval(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func (sah *ApprovalHanler) GetApprovalByID(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func (sah *ApprovalHanler) UpdateApproval(stub shim.ChaincodeStubInterface, args []string) pb.Response
- type Handler
- type ProposalHanler
- func (sah *ProposalHanler) CommitProposal(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func (sah *ProposalHanler) CreateProposal(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func (sah *ProposalHanler) GetAllProposal(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func (sah *ProposalHanler) GetPendingProposalBySuperAdminID(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func (sah *ProposalHanler) GetProposalByID(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func (sah *ProposalHanler) UpdateProposal(stub shim.ChaincodeStubInterface, args []string) pb.Response
- type SuperAdminHanler
- func (sah *SuperAdminHanler) CreateSuperAdmin(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func (sah *SuperAdminHanler) GetAllSuperAdmin(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func (sah *SuperAdminHanler) GetSuperAdminByID(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func (sah *SuperAdminHanler) UpdateSuperAdmin(stub shim.ChaincodeStubInterface, args []string) pb.Response
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 ...
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 ...
Click to show internal directories.
Click to hide internal directories.