Versions in this module Expand all Collapse all v3 v3.1.2 Feb 5, 2024 Changes in this version + func GetRouteFunc(invoker protocol.Invoker, methodConfig *rest_config.RestMethodConfig) func(req RestServerRequest, resp RestServerResponse) + type RestServer interface + Deploy func(restMethodConfig *rest_config.RestMethodConfig, ...) + Destroy func() + Start func(url *common.URL) + UnDeploy func(restMethodConfig *rest_config.RestMethodConfig) + type RestServerRequest interface + BodyParameter func(name string) (string, error) + HeaderParameter func(name string) string + PathParameter func(name string) string + PathParameters func() map[string]string + QueryParameter func(name string) string + QueryParameters func(name string) []string + RawRequest func() *http.Request + ReadEntity func(entityPointer interface{}) error + type RestServerResponse interface + WriteEntity func(value interface{}) error + WriteError func(httpStatus int, err error) (writeErr error)