Update client.go

This commit is contained in:
Livio Amstutz 2022-04-21 15:49:50 +02:00 committed by GitHub
parent 84a5fb4471
commit 89758aae72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -125,7 +125,9 @@ func (c *Client) ClockSkew() time.Duration {
return c.clockSkew
}
//RegisterClients enables you to register clients for the example
//RegisterClients enables you to register clients for the example implementation
//there are some clients (web and native) to try out different cases
//add more if necessary
func RegisterClients(registerClients ...*Client) {
for _, client := range registerClients {
clients[client.id] = client