Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Component = &component.Component{ Dependencies: component.Components{ election.Component, grpc.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(grpc *grpc.Server, s *Service) { service.RegisterElectionServer(grpc.GetGRPC(), s) }) }), }
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
service.UnimplementedElectionServer
// contains filtered or unexported fields
}
func NewService ¶
Click to show internal directories.
Click to hide internal directories.