Documentation
¶
Overview ¶
Package remoteserver adds deployment authentication to the shared server.
Index ¶
- func GenerateToken() (string, error)
- func Handler(ctx context.Context, store *reviewstore.Store, account, token string, ...) (http.Handler, func() error, error)
- func MultiHandler(ctx context.Context, store *reviewstore.Store, assets fs.FS) (http.Handler, func() error, error)
- func Retention(days int) (time.Duration, error)
- func Run(ctx context.Context, settings Settings, ready func(string)) error
- type Settings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateToken ¶
GenerateToken returns a high-entropy credential suitable for bearer or Basic auth.
Types ¶
Click to show internal directories.
Click to hide internal directories.