Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Identifier ¶
type Identifier ulid.ULID
func NewIdentifier ¶
func NewIdentifier() Identifier
func NewIdentifierFrom ¶
func NewIdentifierFrom(rawId string) (id Identifier, err error)
func (Identifier) Equals ¶
func (id Identifier) Equals(otherId Identifier) bool
func (Identifier) MarshalText ¶
func (id Identifier) MarshalText() ([]byte, error)
func (Identifier) String ¶
func (id Identifier) String() string
func (*Identifier) UnmarshalText ¶
func (id *Identifier) UnmarshalText(text []byte) error
type PasswordHash ¶
type PasswordHash string
func NewPasswordHash ¶
func NewPasswordHash(rawPassword string) PasswordHash
func (PasswordHash) String ¶
func (passwordHash PasswordHash) String() string
func (PasswordHash) Verify ¶
func (passwordHash PasswordHash) Verify(rawPassword string) bool
Click to show internal directories.
Click to hide internal directories.