Versions in this module Expand all Collapse all v0 v0.2.0 Feb 17, 2024 Changes in this version + type Argon2 struct + Iterations int + Memory int + Parallelism int + Variant string + func (a *Argon2) Run() error + type Base struct + Log struct{ ... } + Version bool + func (b Base) BeforeReset(ctx *kong.Context) error + func (b Base) Logger() *slog.Logger + type Bcrypt struct + Rounds int + func (b *Bcrypt) Run() error + type Hash struct + Argon2 Argon2 + Bcrypt Bcrypt + PBKDF2 PBKDF2 + Scrypt Scrypt + type HashCommon struct + Password string + type LogLevel slog.Level + func (l *LogLevel) Decode(ctx *kong.DecodeContext) error + type PBKDF2 struct + Digest string + Iterations int + func (p *PBKDF2) Run() error + type Scrypt struct + Blocksize int + Cost int + Parallelism int + func (s *Scrypt) Run() error + type Server struct + Backend struct{ ... } + ListenAddr string + SessionTTL time.Duration + TLS struct{ ... } + func (s Server) NewDirectory() (directory.Directory, error) + func (s Server) Run(_ *kong.Context) error + func (s Server) TLSConfig() (*tls.Config, error) + type Tools struct + Hash Hash