MCPcopy
hub / github.com/grafana/dskit / newServ

Function newServ

services/basic_service_test.go:34–40  ·  view source on GitHub ↗
(conf servConf)

Source from the content-addressed store, hash-verified

32}
33
34func newServ(conf servConf) *serv {
35 s := &serv{
36 conf: conf,
37 }
38 s.Service = NewBasicService(s.startUp, s.run, s.shutDown)
39 return s
40}
41
42func (s *serv) startUp(ctx context.Context) error {
43 select {

Callers 2

TestStopInNewFunction · 0.85
runTestCaseFunction · 0.85

Calls 1

NewBasicServiceFunction · 0.85

Tested by

no test coverage detected