MCPcopy Index your code
hub / github.com/koding/kite / New

Function New

kite.go:163–165  ·  view source on GitHub ↗

New creates, initializes and then returns a new Kite instance. Version must be in 3-digit semantic form. Name is important that it's also used to be searched by others.

(name, version string)

Source from the content-addressed store, hash-verified

161//
162// Name is important that it's also used to be searched by others.
163func New(name, version string) *Kite {
164 return NewWithConfig(name, version, config.New())
165}
166
167// NewWithConfig builds a new kite value for the given configuration.
168func NewWithConfig(name, version string, cfg *config.Config) *Kite {

Callers 8

TestMethod_ThrottlingFunction · 0.70
TestMethod_LatestFunction · 0.70
TestMethod_FirstFunction · 0.70
TestMethod_ErrorFunction · 0.70
TestMethod_BaseFunction · 0.70
TestContextFunction · 0.70
TestMultipleFunction · 0.70
newXhrKiteFunction · 0.70

Calls 1

NewWithConfigFunction · 0.85

Tested by 8

TestMethod_ThrottlingFunction · 0.56
TestMethod_LatestFunction · 0.56
TestMethod_FirstFunction · 0.56
TestMethod_ErrorFunction · 0.56
TestMethod_BaseFunction · 0.56
TestContextFunction · 0.56
TestMultipleFunction · 0.56
newXhrKiteFunction · 0.56