common

package
v0.179.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AndroidPlatform = "android"
	WindowsPlatform = "windows"
)

Variables

View Source
var ErrInvalidDisplayNameEthSuffix = errors.New(`usernames ending with "eth" are not allowed`)
View Source
var ErrInvalidDisplayNameNotAllowed = errors.New("name is not allowed")
View Source
var ErrInvalidDisplayNameRegExp = errors.New("only letters, numbers, underscores and hyphens allowed")

Functions

func OperatingSystemIs added in v0.171.1

func OperatingSystemIs(targetOS string) bool

func RecoverKey added in v0.171.21

func ValidateDisplayName added in v0.178.1

func ValidateDisplayName(displayName *string) error

Types

type StatusService

type StatusService interface {
	Start() error
	Stop() error
	Protocols() []p2p.Protocol
	APIs() []rpc.API
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL