Documentation ¶
Index ¶
- Constants
- func NameServiceStrings() []string
- func NewAuthenticationTransport(apiKey string) http.RoundTripper
- type AuthenticationTransport
- type NameResolver
- type NameService
- func (i NameService) IsANameService() bool
- func (i NameService) MarshalJSON() ([]byte, error)
- func (i *NameService) Scan(value interface{}) error
- func (i NameService) String() string
- func (i *NameService) UnmarshalJSON(data []byte) error
- func (i NameService) Value() (driver.Value, error)
- func (NameService) Values() []string
- type UserNameProof
Constants ¶
View Source
const ( ErrUnregisterName = "unregistered name" ErrUnSupportName = "unsupport name service resolution" )
Variables ¶
This section is empty.
Functions ¶
func NameServiceStrings ¶
func NameServiceStrings() []string
NameServiceStrings returns a slice of all String values of the enum
func NewAuthenticationTransport ¶
func NewAuthenticationTransport(apiKey string) http.RoundTripper
Types ¶
type AuthenticationTransport ¶
type AuthenticationTransport struct { APIKey string // contains filtered or unexported fields }
type NameResolver ¶
type NameResolver struct {
// contains filtered or unexported fields
}
func NewNameResolver ¶
func NewNameResolver(ctx context.Context, config *config.RPCNetwork) (*NameResolver, error)
type NameService ¶
type NameService int
const ( NameServiceUnknown NameService = iota // unknown NameServiceENS // eth NameServiceCSB // csb NameServiceLens // lens NameServiceFarcaster // fc )
func NameServiceString ¶
func NameServiceString(s string) (NameService, error)
NameServiceString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func NameServiceValues ¶
func NameServiceValues() []NameService
NameServiceValues returns all values of the enum
func (NameService) IsANameService ¶
func (i NameService) IsANameService() bool
IsANameService returns "true" if the value is listed in the enum definition. "false" otherwise
func (NameService) MarshalJSON ¶
func (i NameService) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for NameService
func (*NameService) Scan ¶
func (i *NameService) Scan(value interface{}) error
func (NameService) String ¶
func (i NameService) String() string
func (*NameService) UnmarshalJSON ¶
func (i *NameService) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for NameService
func (NameService) Values ¶
func (NameService) Values() []string
Click to show internal directories.
Click to hide internal directories.