Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Component = &component.Component{ Dependencies: component.Components{ grpc.Component, grpcClientConfig.Component, manager.Component, repeater.Component, }, Init: component.StepFunc(func(container container.Container) error { return container.Provide(NewService) }), PreExecute: component.StepFunc(func(container container.Container) error { return container.Invoke(func(r repeater.Repeater, s *Service, grpc *grpc.Server, delayConfig *manager.Delay) error { service.RegisterReplicaServer(grpc.GetGRPC(), s) return r.AddProcess(repeater.NewUnlockTask("cluster.grpc.replica", delayConfig.SyncState, s.Process)) }) }), }
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
service.UnimplementedReplicaServer
// contains filtered or unexported fields
}
func NewService ¶
Click to show internal directories.
Click to hide internal directories.