Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Logger telemetry.Logger Settings *settingsv1.Settings GenerateConfig func() (*settingsv1.Settings, error) }
Config holds the configuration object for running the rate-limit service.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a run.Service implementation that runs the rate-limit service.
func New ¶
New returns a new run.Service that wraps rate-limit service. Setting the cfg to nil, expecting setting the rate-limit settings object from a file.
func (*Service) GracefulStop ¶
func (s *Service) GracefulStop()
GracefulStop stops the underlying process by sending interrupt.
Click to show internal directories.
Click to hide internal directories.