Documentation ¶
Index ¶
- type HTTPAdapter
- func (ha *HTTPAdapter) BuildCancelHandler(w http.ResponseWriter, r *http.Request)
- func (ha *HTTPAdapter) BuildRequestHandler(w http.ResponseWriter, r *http.Request)
- func (ha *HTTPAdapter) BuildStatusHandler(w http.ResponseWriter, r *http.Request)
- func (ha *HTTPAdapter) HealthHandler(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPAdapter ¶
type HTTPAdapter struct {
// contains filtered or unexported fields
}
HTTPAdapter holds the handlers for the HTTP endpoints
func NewHTTPAdapter ¶
func NewHTTPAdapter(gr *fgrpc.GrpcServer) *HTTPAdapter
func (*HTTPAdapter) BuildCancelHandler ¶
func (ha *HTTPAdapter) BuildCancelHandler(w http.ResponseWriter, r *http.Request)
func (*HTTPAdapter) BuildRequestHandler ¶
func (ha *HTTPAdapter) BuildRequestHandler(w http.ResponseWriter, r *http.Request)
REST interface handlers (proxy to gRPC handlers)
func (*HTTPAdapter) BuildStatusHandler ¶
func (ha *HTTPAdapter) BuildStatusHandler(w http.ResponseWriter, r *http.Request)
func (*HTTPAdapter) HealthHandler ¶
func (ha *HTTPAdapter) HealthHandler(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.