Versions in this module Expand all Collapse all v0 v0.1.0 Sep 21, 2019 Changes in this version + const Method_Active + const Method_AdminRegistrar + const Method_Init + const Method_Registrar + const Method_Revoke + func ActivePkHandler(cfg RegistrarConfig) activePkHandler + func AdminRegistrarHandler(cfg RegistrarConfig) adminRegistrarHandler + func GeneralInvokingTemplate(ccname string, cfg RegistrarConfig) (ret tx.CollectiveTxs) + func InitHandler(cfg RegistrarConfig) initHandler + func QueryPkHandler(cfg RegistrarConfig) queryPkHandler + func RegistrarHandler(cfg RegistrarConfig) registrarHandler + func RegistrarPreHandler(cfg RegistrarConfig) *regPreHandler + func RevokePkHandler(cfg RegistrarConfig) revokePkHandler + type GeneralCall struct + func (i *GeneralCall) ActivePk(key []byte) error + func (i *GeneralCall) AdminRegistrar(pkbytes []byte) error + func (i *GeneralCall) Global() (error, *pb.RegGlobalData) + func (i *GeneralCall) Init(enablePrivilege bool, managePriv string, regPriv string) error + func (i *GeneralCall) InitDebugMode() error + func (i *GeneralCall) Pubkey(key []byte) (error, *pb.RegData) + func (i *GeneralCall) Registrar(pkbytes []byte, region string) error + func (i *GeneralCall) RevokePk(pk crypto.Verifier) error + type RegistrarConfig interface + NewTx func(shim.ChaincodeStubInterface) RegistrarTxExt + type RegistrarTx interface + ActivePk func(key []byte) error + AdminRegistrar func(pkbyte []byte) error + Global func() (error, *pb.RegGlobalData) + Init func(enablePrivilege bool, managePriv string, regPriv string) error + Pubkey func(key []byte) (error, *pb.RegData) + Registrar func(pkbyte []byte, region string) error + RevokePk func(pk crypto.Verifier) error + type RegistrarTxExt interface + type StandardRegistrarConfig struct + ManagePrivAttrName string + Readonly bool + RegionAttrName string + Tag string + func (cfg *StandardRegistrarConfig) NewTx(stub shim.ChaincodeStubInterface) RegistrarTxExt