Skip to content

Latest commit

 

History

History
 
 

register

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

register

This example provides example of running simple registry and client with Digest auth. It has some external dependency so it is a submodule. To run in from root use workspace:

go work init 
go work use .
go work use ./example/register

Running server:

go run ./server -u "alice:alice,bob:bob" -ip 127.0.0.10:5060

Configure list of username:password with -u parameter.

Running client:

go run ./client -u alice -p alice -srv 127.0.0.10:5060
go run ./client -u bob -p bob -srv 127.0.0.10:5060