MCPcopy
hub / github.com/mattermost/mattermost / App

Struct App

server/channels/app/app.go:25–27  ·  view source on GitHub ↗

App is a pure functional component that does not have any fields, except Server. It is a request-scoped struct constructed every time a request hits the server, and its only purpose is to provide business logic to Server via its methods.

Source from the content-addressed store, hash-verified

23// It is a request-scoped struct constructed every time a request hits the server,
24// and its only purpose is to provide business logic to Server via its methods.
25type App struct {
26 ch *Channels
27}
28
29func New(options ...AppOption) *App {
30 app := &App{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected