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

Struct ServerModule

leader/example_server_test.go:18–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16)
17
18type ServerModule struct {
19 Sts *leader.Status
20}
21
22func (s ServerModule) ProvideHTTP(router *mux.Router) {
23 router.HandleFunc("/", func(writer http.ResponseWriter, request *http.Request) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected