MCPcopy
hub / github.com/dapr/dapr / Server

Struct Server

pkg/scheduler/server/server.go:92–107  ·  view source on GitHub ↗

Server is the gRPC server for the Scheduler service.

Source from the content-addressed store, hash-verified

90
91// Server is the gRPC server for the Scheduler service.
92type Server struct {
93 listenAddress string
94 port int
95
96 sec security.Handler
97 serializer *serialize.Serializer
98 cron cron.Interface
99 etcd etcd.Interface
100 controller *controller.Controller
101
102 hzAPIServer healthz.Target
103
104 running atomic.Bool
105
106 closeCh chan struct{}
107}
108
109func New(ctx context.Context, opts Options) (*Server, error) {
110 var broadcastAddr string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected