MCPcopy Index your code
hub / github.com/DoNewsCode/core / DocsModule

Struct DocsModule

srvhttp/docs.go:11–11  ·  view source on GitHub ↗

DocsModule defines a http provider for container.Container. It serves static files under `./docs`. `./docs` is supposed to contain doc serving engines such as Swagger, Docify or plain markdowns.

Source from the content-addressed store, hash-verified

9// DocsModule defines a http provider for container.Container. It serves static files under `./docs`.
10// `./docs` is supposed to contain doc serving engines such as Swagger, Docify or plain markdowns.
11type DocsModule struct{}
12
13// ProvideHTTP implements container.HTTPProvider
14func (d DocsModule) ProvideHTTP(router *mux.Router) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected