You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
type IService interface {
Name() string
IsRunning() bool
Register(listener *net.Listener)
Go(waitGroup *sync.WaitGroup)
}
- Name() returns the name of the service
- IsRunning() returns if the service is still running.
- Register(listener *net.Listener) allows for the service to register GRPC server on an existing listening port.
- Go(waitGroup *sync.WaitGroup) the main entry point of the service.