19 lines
228 B
Go
19 lines
228 B
Go
package service
|
|
|
|
import (
|
|
"go-common/library/rate/limit/bench/stress/conf"
|
|
)
|
|
|
|
// Service struct
|
|
type Service struct {
|
|
c *conf.Config
|
|
}
|
|
|
|
// New init
|
|
func New(c *conf.Config) (s *Service) {
|
|
s = &Service{
|
|
c: c,
|
|
}
|
|
return s
|
|
}
|