Documentation ¶
Index ¶
- type Service
- func (s *Service) Close()
- func (s *Service) Ping(ctx context.Context) (err error)
- func (s *Service) ReadGrpcPingCount(c context.Context) model.PingCount
- func (s *Service) ReadHttpPingCount(c context.Context) model.PingCount
- func (s *Service) UpdateGrpcPingCount(c context.Context, pingcount model.PingCount)
- func (s *Service) UpdateHttpPingCount(c context.Context, pingcount model.PingCount)
- type ServiceConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { Confpath string // contains filtered or unexported fields }
Service service.
func (*Service) ReadGrpcPingCount ¶
func (*Service) ReadHttpPingCount ¶
func (*Service) UpdateGrpcPingCount ¶
grpc
type ServiceConfig ¶
type ServiceConfig struct {
Confversion string `yaml:"confversion"`
}
Service conf
Click to show internal directories.
Click to hide internal directories.