auth-api

module
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: MIT

README

General authentication API

Build Status License GitHub version

Execute authentication and authorization with JSON Request and Response.

Getting Started

Prerequisites

Installed the following program.

  • Docker

Run

$ cp .env.example .env # with editing
$ docker compose up

Format Check

$ docker compose exec api sh -c 'go vet ./... && staticcheck ./...'

Test

$ docker compose exec api go test -v ./...

Build

$ docker compose exec api go build app/main.go

Swagger UI

Directories

Path Synopsis
app
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag

Jump to

Keyboard shortcuts

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