server

command
v0.0.0-...-d6bf5a2 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 6 Imported by: 0

README

Server

This holds a pretty self-contained server that stores the identities and nuts in-memory. Using --help shows the options you might need for running it:

Usage of ./sqrl_server:
-cert string
        cert.pem file for TLS
-h string
        hostname used in creating URLs
-help string
        print usage
-key string
        key.pem file for TLS
-p int
        port to listen on (default 8000)
-path string
        path used as the root for the SQRL handlers (if not /)

Once running, there's page served from the root that provides the QR code and Login buttons.

You can run the server from this directory with:

go run main.go

or build a binary with:

go build -o sqrl_server .

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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