MCPcopy Create free account
hub / github.com/golang/appengine / Start

Function Start

v2/module/module.go:91–101  ·  view source on GitHub ↗

Start starts the specified version of the specified module. If either module or version are the empty string, it means the default.

(c context.Context, module, version string)

Source from the content-addressed store, hash-verified

89// Start starts the specified version of the specified module.
90// If either module or version are the empty string, it means the default.
91func Start(c context.Context, module, version string) error {
92 req := &pb.StartModuleRequest{}
93 if module != "" {
94 req.Module = &module
95 }
96 if version != "" {
97 req.Version = &version
98 }
99 res := &pb.StartModuleResponse{}
100 return internal.Call(c, "modules", "StartModule", req, res)
101}
102
103// Stop stops the specified version of the specified module.
104// If either module or version are the empty string, it means the default.

Callers 1

TestStartFunction · 0.70

Calls 1

CallFunction · 0.92

Tested by 1

TestStartFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…