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