Documentation ¶
Index ¶
- func Decode_Punycode(name string) (string, error)
- func Encode_Punycode(name string) (string, error)
- type Client
- func (c *Client) ApiAuthConf(ctx *gin.Context, request *idl.ApiAuthConfRequest) (*IDL.CommonResponse, error)
- func (c *Client) ApiAuthInit(ctx *gin.Context, request *idl.ApiAuthInitRequest) (*IDL.CommonResponse, error)
- func (c *Client) ApiAuthRevoke(ctx *gin.Context, request *idl.ApiAuthRevRequest) (*IDL.CommonResponse, error)
- func (c *Client) ApiDOAuthQuery(ctx *gin.Context, request *idl.ApiDOAuthQueryRequest) (*idl.ApiDOQueryResponse, error)
- func (c *Client) ApiDOCreate(ctx *gin.Context, request *idl.ApiDOCreateRequest) (*idl.ApiDisResponse, error)
- func (c *Client) ApiDOCreateBatch(ctx *gin.Context, request *idl.ApiDOCreateBatchRequest) (*idl.ApiDisResponse, error)
- func (c *Client) ApiDODelete(ctx *gin.Context, request *idl.ApiDODeleteRequest) (*idl.ApiDisResponse, error)
- func (c *Client) ApiDOQuery(ctx *gin.Context, request *idl.ApiDOQueryRequest) (*idl.ApiDOQueryResponse, error)
- func (c *Client) ApiDOUpdate(ctx *gin.Context, request *idl.ApiDOUpdateRequest) (*idl.ApiDisResponse, error)
- func (c *Client) ApiDOUpdateBatch(ctx *gin.Context, request *idl.ApiDOUpdateBatchRequest) (*idl.ApiDisResponse, error)
- func (c *Client) ApiExchangeOwnershipConf(ctx *gin.Context, request *idl.ApiExchangeOwnershipRequest) (*IDL.CommonResponse, error)
- func (c *Client) ApiExchangeOwnershipInit(ctx *gin.Context, request *idl.ApiExchangeOwnershipRequest) (*IDL.CommonResponse, error)
- func (c *Client) ApiGetRegistrationData(ctx *gin.Context, request *idl.ApiRegDataRequest) (*IDL.CommonResponse, error)
- func (c *Client) ApiGetRegistrationDataByOrg(ctx *gin.Context, request *idl.ApiWhoisByOrgRequest) (*IDL.CommonResponse, error)
- func (c *Client) ApiHashManagement(ctx *gin.Context, request *idl.ApiHashManageRequest) (*idl.ApiDisResponse, error)
- func (c *Client) ApiRegistrationDataUpdate(ctx *gin.Context, request *idl.ApiWhoisUpdateRequest) (*idl.ApiDisResponse, error)
- func (c *Client) ApiTransactionGet(ctx *gin.Context, request *idl.ApiTransactionInfoRequest) (*IDL.CommonResponse, error)
- func (c *Client) ApiWhoisManagement(ctx *gin.Context, request *idl.ApiWhoisManageRequest) (*idl.ApiDisResponse, error)
- func (c *Client) GetDataOwner(ctx *gin.Context, request *idl.ApiDataOwnerRequest) (*IDL.CommonResponse, error)
- func (c *Client) GetPublicKey(ctx *gin.Context, request *idl.ApiPublicKeyRequest) (*IDL.CommonResponse, error)
- func (c *Client) InitDao(daoHost string) *Client
- func (c *Client) InitDis(disHost string) *Client
- func (c *Client) InitDisQ(disqHost string) *Client
- func (c *Client) InitLogger(logger *zap.Logger) *Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode_Punycode ¶
func Encode_Punycode ¶
Types ¶
type Client ¶
func (*Client) ApiAuthConf ¶
func (c *Client) ApiAuthConf(ctx *gin.Context, request *idl.ApiAuthConfRequest) (*IDL.CommonResponse, error)
授权确认
func (*Client) ApiAuthInit ¶
func (c *Client) ApiAuthInit(ctx *gin.Context, request *idl.ApiAuthInitRequest) (*IDL.CommonResponse, error)
授权发起
func (*Client) ApiAuthRevoke ¶
func (c *Client) ApiAuthRevoke(ctx *gin.Context, request *idl.ApiAuthRevRequest) (*IDL.CommonResponse, error)
func (*Client) ApiDOAuthQuery ¶
func (c *Client) ApiDOAuthQuery(ctx *gin.Context, request *idl.ApiDOAuthQueryRequest) (*idl.ApiDOQueryResponse, error)
数据对象权属查询
func (*Client) ApiDOCreate ¶
func (c *Client) ApiDOCreate(ctx *gin.Context, request *idl.ApiDOCreateRequest) (*idl.ApiDisResponse, error)
数据对象属性注册
func (*Client) ApiDOCreateBatch ¶
func (c *Client) ApiDOCreateBatch(ctx *gin.Context, request *idl.ApiDOCreateBatchRequest) (*idl.ApiDisResponse, error)
数据对象属性批量注册
func (*Client) ApiDODelete ¶
func (c *Client) ApiDODelete(ctx *gin.Context, request *idl.ApiDODeleteRequest) (*idl.ApiDisResponse, error)
数据对象属性删除
func (*Client) ApiDOQuery ¶
func (c *Client) ApiDOQuery(ctx *gin.Context, request *idl.ApiDOQueryRequest) (*idl.ApiDOQueryResponse, error)
数据对象属性查询
func (*Client) ApiDOUpdate ¶
func (c *Client) ApiDOUpdate(ctx *gin.Context, request *idl.ApiDOUpdateRequest) (*idl.ApiDisResponse, error)
数据对象属性更新
func (*Client) ApiDOUpdateBatch ¶
func (c *Client) ApiDOUpdateBatch(ctx *gin.Context, request *idl.ApiDOUpdateBatchRequest) (*idl.ApiDisResponse, error)
数据对象属性批量更新
func (*Client) ApiExchangeOwnershipConf ¶
func (c *Client) ApiExchangeOwnershipConf(ctx *gin.Context, request *idl.ApiExchangeOwnershipRequest) (*IDL.CommonResponse, error)
交换所有权确认
func (*Client) ApiExchangeOwnershipInit ¶
func (c *Client) ApiExchangeOwnershipInit(ctx *gin.Context, request *idl.ApiExchangeOwnershipRequest) (*IDL.CommonResponse, error)
授权发起
func (*Client) ApiGetRegistrationData ¶
func (c *Client) ApiGetRegistrationData(ctx *gin.Context, request *idl.ApiRegDataRequest) (*IDL.CommonResponse, error)
注册数据查询(链查询)
func (*Client) ApiGetRegistrationDataByOrg ¶
func (c *Client) ApiGetRegistrationDataByOrg(ctx *gin.Context, request *idl.ApiWhoisByOrgRequest) (*IDL.CommonResponse, error)
WHOIS数据局部查询1:根据org进行查询(mongoDB)
func (*Client) ApiHashManagement ¶
func (c *Client) ApiHashManagement(ctx *gin.Context, request *idl.ApiHashManageRequest) (*idl.ApiDisResponse, error)
func (*Client) ApiRegistrationDataUpdate ¶
func (c *Client) ApiRegistrationDataUpdate(ctx *gin.Context, request *idl.ApiWhoisUpdateRequest) (*idl.ApiDisResponse, error)
WHOIS数据更新
func (*Client) ApiTransactionGet ¶
func (c *Client) ApiTransactionGet(ctx *gin.Context, request *idl.ApiTransactionInfoRequest) (*IDL.CommonResponse, error)
查询transaction
func (*Client) ApiWhoisManagement ¶
func (c *Client) ApiWhoisManagement(ctx *gin.Context, request *idl.ApiWhoisManageRequest) (*idl.ApiDisResponse, error)
func (*Client) GetDataOwner ¶
func (c *Client) GetDataOwner(ctx *gin.Context, request *idl.ApiDataOwnerRequest) (*IDL.CommonResponse, error)
func (*Client) GetPublicKey ¶
func (c *Client) GetPublicKey(ctx *gin.Context, request *idl.ApiPublicKeyRequest) (*IDL.CommonResponse, error)
Click to show internal directories.
Click to hide internal directories.