service

command module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: MIT Imports: 19 Imported by: 0

README

SERVICE

Service code for kjvonly.

Example output

$(echo password | htpasswd -BinC 10 admin | cut -d: -f2)
$ curl -X POST  --data '{"username": "user@example.com", "password": "gophers"}' http://localhost:8080/v1/UserService.Authenticate
{"token":"eyJhbGciOiJSUzI1NiIsImtpZCI6IjU0YmIyMTY1LTcxZTEtNDFhNi1hZjNlLTdkYTRhMGUxZTJjMSIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJidWQgcHJvamVjdCIsInN1YiI6ImYyZjFjZTM1LWM4OTAtNDM4ZS1iZDIzLWIyZmFlZDk5MGIzZSIsImV4cCI6MTY4NjQzMTkzMywiaWF0IjoxNjg2NDI4MzMzLCJyb2xlcyI6WyJBRE1JTiJdfQ.LdIGDioGtVLK1YRPMBMFqGdzJwd77MgTgCbhirl_rgWR33F17cX-7vDdY_B-bX1_gy-SeWnaLfK1zeoI2QTa8eAKVlQrf1Plx2l--o11xhDY880zOjO5SFy3MZ2exV5pQn3B6rz43M0qfn4u7MJHIvZEb9DObPRRq8PSCOpXRNFwAL6SOzpXHgawkBTmCMg6eN7cKcNrxygoHl14MFafdLt44Y5P-a7ly5QeHzeHqFm9g_rcGPrSgxRCP2IjmNj8inL6XxT53u2XFf1dypRxjNiLIh3gXJESEAkmtn90kIBc_dUDviL8r53yX0GfKSQnHn4efsXkERHxTtFStAifgw"}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
services
bible
Code generated by fertilize; DO NOT EDIT.
Code generated by fertilize; DO NOT EDIT.
user
Code generated by fertilize; DO NOT EDIT.
Code generated by fertilize; DO NOT EDIT.
tooling
services/kjvonly-admin
This program performs administrative tasks for the kjvonly service.
This program performs administrative tasks for the kjvonly service.
services/kjvonly-admin/commands
Package commands contains the functionality for the set of commands currently supported by the CLI tooling.
Package commands contains the functionality for the set of commands currently supported by the CLI tooling.

Jump to

Keyboard shortcuts

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