auth

module
v0.0.0-...-16263d8 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: GPL-2.0

README

auth package for golang

Example

To build and run the example server:

cd example go build ./example

Point your browser to localhost:8018 and try the /open/hello and api/secret buttons to see how those API calls respond when you are logged in or logged out. See example/pw.txt for usernames and passwords.

You can then look at the code in example.js to see how to use the auth package to provide authentication for your simple web app.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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