Documentation
¶
Index ¶
- type API
- func (api *API) AddressOf(ctx context.Context, chainID uint64, username string) (*common.Address, error)
- func (api *API) ContentHash(ctx context.Context, chainID uint64, username string) ([]byte, error)
- func (api *API) ExpireAt(ctx context.Context, chainID uint64, username string) (*big.Int, error)
- func (api *API) OwnerOf(ctx context.Context, chainID uint64, username string) (*common.Address, error)
- func (api *API) Price(ctx context.Context, chainID uint64) (*big.Int, error)
- func (api *API) PublicKeyOf(ctx context.Context, chainID uint64, username string) (*publicKey, error)
- func (api *API) Resolver(ctx context.Context, chainID uint64, username string) (*common.Address, error)
- func (api *API) ResourceURL(ctx context.Context, chainID uint64, username string) (*uri, error)
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) ContentHash ¶
func (*API) PublicKeyOf ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a browsers service.
func NewService ¶
NewService initializes service instance.
Click to show internal directories.
Click to hide internal directories.