keel/interfaces/pinger.go
Kevin Franklin Kim 07f0c394d5
feat: add GoRoutine service
moves all services into the service package
2023-09-08 12:17:23 +02:00

14 lines
216 B
Go

package interfaces
import "context"
// ErrorPinger interface
type ErrorPinger interface {
Ping() error
}
// ErrorPingerWithContext interface
type ErrorPingerWithContext interface {
Ping(context.Context) error
}