loginout

package
v0.0.0-...-73a5773 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UserFromContext

func UserFromContext(ctx context.Context) string

func WithUser

func WithUser(ctx context.Context, user string) context.Context

Types

type Loginout

type Loginout struct {
	// contains filtered or unexported fields
}

func Must

func Must() *Loginout

func New

func New() (*Loginout, error)

func (Loginout) Render

func (l Loginout) Render(r *http.Request, attrs ui.Attributes) (*html.Node, error)

Jump to

Keyboard shortcuts

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