MCPcopy
hub / github.com/perkeep/perkeep / ProgramName

Method ProgramName

pkg/server/app/app.go:507–509  ·  view source on GitHub ↗

ProgramName returns the name of the app's binary. It may be a file name in CAMLI_APP_BINDIR or PATH, or an absolute path.

()

Source from the content-addressed store, hash-verified

505// ProgramName returns the name of the app's binary. It may be a file name in
506// CAMLI_APP_BINDIR or PATH, or an absolute path.
507func (a *Handler) ProgramName() string {
508 return a.name
509}
510
511// AuthMode returns the app handler's auth mode, which is also the auth that the
512// app's client will be configured with. This mode should be registered with

Callers 6

InitHandlerMethod · 0.95
setupHandlerMethod · 0.95
serveRestartMethod · 0.80
InitHandlerMethod · 0.80
StartAppsMethod · 0.80
AppURLMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected