Update client.go
This commit is contained in:
parent
84a5fb4471
commit
89758aae72
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue