Attach attaches the given token to each kite. It replaces any previous token.
(token string)
| 14 | // Attach attaches the given token to each kite. It replaces any previous |
| 15 | // token. |
| 16 | func (k Kites) Attach(token string) { |
| 17 | for _, kite := range k { |
| 18 | kite.Token = token |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | // Shuffle shuffles the order of the kites. This is useful if you want send |
| 23 | // back a randomized list of kites. |
nothing calls this directly
no outgoing calls
no test coverage detected