MCPcopy Create free account
hub / github.com/koding/kite / Attach

Method Attach

kontrol/kites.go:16–20  ·  view source on GitHub ↗

Attach attaches the given token to each kite. It replaces any previous token.

(token string)

Source from the content-addressed store, hash-verified

14// Attach attaches the given token to each kite. It replaces any previous
15// token.
16func (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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected