client

command
v0.0.0-...-5929aaf Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2021 License: MIT Imports: 11 Imported by: 0

README

Test client

With this client you can test auth service.

Run

For running use:

go run .

Example

Example of the successfull output:

INFO[0000] Loaded config: {NATS:{Hostname:localhost Request:{Subject:auth-request Queue:robin}}} 
INFO[0000] Send success auth request                    
INFO[0000] Response: &{AuthUserResponse:success:true}   
INFO[0000] Send failed auth request                     
INFO[0000] Response: &{Error:reason:"Failed to parse proto msg: proto: cannot parse invalid wire-format data"}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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