Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶ added in v0.0.3
type Option func(*Service)
func WithHealthProbe ¶ added in v0.0.3
func WithVersion ¶ added in v0.0.3
type Service ¶
type Service struct {
//public
Name string `json:"Name"`
Port int `json:"Port"`
HealthProbe bool `json:"HealthProbe"`
ExitAppChan <-chan struct{} `json:"-"`
GinEngine *gin.Engine `json:"-"`
AppHealthz bool `json:"AppHealthz"`
AppReadyz bool `json:"AppReadyz"`
Version int `json:"Version"`
CORSEnabled bool `json:"CorsEnabled"`
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.