Documentation
¶
Index ¶
Constants ¶
View Source
const CName = "any-ns.anynsclient"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnyNsClientService ¶
type AnyNsClientService interface {
// AccountAbstractions methods:
GetUserAccount(ctx context.Context, in *as.GetUserAccountRequest) (out *as.UserAccount, err error)
AdminFundUserAccount(ctx context.Context, in *as.AdminFundUserAccountRequestSigned) (out *as.OperationResponse, err error)
GetOperation(ctx context.Context, in *as.GetOperationStatusRequest) (out *as.OperationResponse, err error)
CreateOperation(ctx context.Context, in *as.CreateUserOperationRequestSigned) (out *as.OperationResponse, err error)
AnyNsClientServiceBase
}
func New ¶
func New() AnyNsClientService
type AnyNsClientServiceBase ¶ added in v0.0.4
type AnyNsClientServiceBase interface {
IsNameAvailable(ctx context.Context, in *as.NameAvailableRequest) (out *as.NameAvailableResponse, err error)
// reverse resolve
GetNameByAddress(ctx context.Context, in *as.NameByAddressRequest) (out *as.NameByAddressResponse, err error)
app.ComponentRunnable
}
* This client component can be used to access the Any Naming System (any-ns) * from other components.
Click to show internal directories.
Click to hide internal directories.