Documentation ¶
Index ¶
- type Config
- type GateIn
- func (g *GateIn) GetBarHandler(w http.ResponseWriter, req *http.Request, params httprouter.Params)
- func (g *GateIn) HealthCheckHandler(w http.ResponseWriter, req *http.Request, params httprouter.Params)
- func (g *GateIn) Metrics(w http.ResponseWriter, req *http.Request, _ httprouter.Params)
- func (g *GateIn) ReadynessHandler(w http.ResponseWriter, req *http.Request, params httprouter.Params)
- func (g *GateIn) Start() error
- func (g *GateIn) Stop() error
- func (g *GateIn) SwaggerHandler(w http.ResponseWriter, req *http.Request, _ httprouter.Params)
- func (g *GateIn) WelcomeHandler(w http.ResponseWriter, req *http.Request, _ httprouter.Params)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GateIn ¶
type GateIn struct {
// contains filtered or unexported fields
}
func New ¶
func New(ss domain.StartStopInterface, lg *slog.Logger, cnf *Config, fbi *usecases.FooBarInteractor, mtr *metrics.Metrics) *GateIn
func (*GateIn) GetBarHandler ¶
func (g *GateIn) GetBarHandler(w http.ResponseWriter, req *http.Request, params httprouter.Params)
func (*GateIn) HealthCheckHandler ¶
func (g *GateIn) HealthCheckHandler(w http.ResponseWriter, req *http.Request, params httprouter.Params)
func (*GateIn) Metrics ¶
func (g *GateIn) Metrics(w http.ResponseWriter, req *http.Request, _ httprouter.Params)
func (*GateIn) ReadynessHandler ¶
func (g *GateIn) ReadynessHandler(w http.ResponseWriter, req *http.Request, params httprouter.Params)
func (*GateIn) SwaggerHandler ¶
func (g *GateIn) SwaggerHandler(w http.ResponseWriter, req *http.Request, _ httprouter.Params)
func (*GateIn) WelcomeHandler ¶
func (g *GateIn) WelcomeHandler(w http.ResponseWriter, req *http.Request, _ httprouter.Params)
Click to show internal directories.
Click to hide internal directories.