MCPcopy
hub / github.com/gofiber/fiber / deleteService

Method deleteService

state.go:253–255  ·  view source on GitHub ↗

Delete removes a key-value pair from the State.

(srv Service)

Source from the content-addressed store, hash-verified

251
252// Delete removes a key-value pair from the State.
253func (s *State) deleteService(srv Service) {
254 s.Delete(s.serviceKey(srv.String()))
255}
256
257// serviceKeys returns a slice containing all keys present for services in the application's State.
258func (s *State) serviceKeys() []string {

Callers 2

TestState_ServiceFunction · 0.80
shutdownServicesMethod · 0.80

Calls 3

DeleteMethod · 0.95
serviceKeyMethod · 0.95
StringMethod · 0.65

Tested by 1

TestState_ServiceFunction · 0.64