32 lines
763 B
Go
32 lines
763 B
Go
// Code generated by ogen, DO NOT EDIT.
|
|
|
|
package api
|
|
|
|
import (
|
|
"context"
|
|
|
|
ht "github.com/ogen-go/ogen/http"
|
|
)
|
|
|
|
// UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
|
|
type UnimplementedHandler struct{}
|
|
|
|
var _ Handler = UnimplementedHandler{}
|
|
|
|
// GetHealthz implements GetHealthz operation.
|
|
//
|
|
// Check whether the API process is responding.
|
|
//
|
|
// GET /api/v1/healthz
|
|
func (UnimplementedHandler) GetHealthz(ctx context.Context) (r *HealthResponse, _ error) {
|
|
return r, ht.ErrNotImplemented
|
|
}
|
|
|
|
// NewError creates *ProblemStatusCode from error returned by handler.
|
|
//
|
|
// Used for common default response.
|
|
func (UnimplementedHandler) NewError(ctx context.Context, err error) (r *ProblemStatusCode) {
|
|
r = new(ProblemStatusCode)
|
|
return r
|
|
}
|