types

package
v0.0.0-...-f6cc6f7 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EVMChain

type EVMChain string
const (
	GoerliEVMChain EVMChain = "goerli"
	MumbaiEVMChain EVMChain = "mumbai"
)

type ErrorCode

type ErrorCode = string
const (
	ErrNotFoundUser                   ErrorCode = "err_not_found_user"
	ErrNotFoundRefreshToken           ErrorCode = "err_not_found_refresh_token"
	ErrNotFoundState                  ErrorCode = "err_not_found_state"
	ErrNotFoundPasswordRecoveryToken  ErrorCode = "err_not_found_password_recovery_token"
	ErrNotFoundEmailVerificationToken ErrorCode = "err_not_found_email_verification_token"

	ErrUnprocessableEntityNotOAuth2User ErrorCode = "err_unprocessable_entity_not_oauth2_user"
	ErrUnprocessableEntityOAuth2User    ErrorCode = "err_unprocessable_entity_oauth2_user"
	ErrEmailAlreadyVerified             ErrorCode = "err_email_already_verified"

	ErrInsufficientPermissions ErrorCode = "err_insufficient_permissions"
	ErrInvalidJWTToken         ErrorCode = "err_invalid_jwt_token"
	ErrInvalidPassword         ErrorCode = "err_invalid_password"
	ErrInvalidEmail            ErrorCode = "err_invalid_email"

	ErrInvalidOAuth2State ErrorCode = "err_invalid_oauth2_state"
	ErrExpiredOAuth2State ErrorCode = "err_expired_oauth2_state"

	ErrInvalidOrExpiredOAuth2Code ErrorCode = "err_invalid_or_expired_oauth2_code"

	ErrInvalidPasswordRecoveryToken ErrorCode = "err_invalid_password_recovery_token"
	ErrExpiredPasswordRecoveryToken ErrorCode = "err_expired_password_recovery_token"

	ErrInvalidEmailVerificationToken ErrorCode = "err_invalid_email_verification_token"
	ErrExpiredEmailVerificationToken ErrorCode = "err_expired_email_verification_token"

	ErrConflictUserEmail ErrorCode = "err_conflict_user_email"
)

type OAuth2Provider

type OAuth2Provider string
const (
	GoogleOAuth2Provider OAuth2Provider = "google"
)

type PostStatus

type PostStatus string
const (
	NewPostStatus       PostStatus = "new"
	PendingPostStatus   PostStatus = "pending"
	ConfirmedPostStatus PostStatus = "confirmed"
	FailedPostStatus    PostStatus = "failed"
)

type RLPTransaction

type RLPTransaction types.Transaction

func (*RLPTransaction) Scan

func (t *RLPTransaction) Scan(src interface{}) error

func (RLPTransaction) Value

func (t RLPTransaction) Value() (driver.Value, error)

type Sorting

type Sorting string
const (
	AscSorting  Sorting = "asc"
	DescSorting Sorting = "desc"
)

Jump to

Keyboard shortcuts

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