Exemple #1
0
func New(client api.HTTP) *Service {
	return &Service{
		client:       client,
		config:       client.Config(),
		PollInterval: 30 * time.Second,
	}
}
Exemple #2
0
func New(client api.HTTP) *Service {
	return &Service{
		client: client,
		config: client.Config(),
	}
}