You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
304 B
Go
19 lines
304 B
Go
package health
|
|
|
|
import (
|
|
"github.com/ajikamaludin/go-grpc_basic/configs"
|
|
"github.com/sirupsen/logrus"
|
|
)
|
|
|
|
type Server struct {
|
|
config *configs.Configs
|
|
logger *logrus.Logger
|
|
}
|
|
|
|
func New(config *configs.Configs, logger *logrus.Logger) *Server {
|
|
return &Server{
|
|
config: config,
|
|
logger: logger,
|
|
}
|
|
}
|