Versions in this module Expand all Collapse all v0 v0.0.2 Aug 28, 2026 Changes in this version type Status + func (Status) EnumValues() []any v0.0.1 Jun 25, 2026 Changes in this version + var CarryOperationMeta = types.CarryOperationMeta + var CarryOperationMetaProvider = types.CarryOperationMetaProvider + var CarryRequest = types.CarryRequest + var CarryServers = contextx.Carry[tCtxServers, []string] + var MergeMetadata = metadata.Merge + var MustOperationMeta = types.MustOperationMeta + var MustOperationMetaProvider = types.MustOperationMetaProvider + var MustRequest = types.MustRequest + var MustServers = contextx.Must[tCtxServers, []string] + var OperationMetaFrom = types.OperationMetaFrom + var OperationMetaProviderFrom = types.OperationMetaProviderFrom + var RequestFrom = types.RequestFrom + var ServersFrom = contextx.From[tCtxServers, []string] + var WithOperationMeta = types.WithOperationMeta + var WithOperationMetaProvider = types.WithOperationMetaProvider + var WithRequest = types.WithRequest + var WithServers = contextx.With[tCtxServers, []string] + func ClientIP(r *http.Request) string + func ClientIPByHeaderForwardedFor(v string) string + func ClientIPByHeaderRealIP(v string) string + func IsStatusOK[Code ~int](v Code) bool + func Run(router Router, transports ...Transport) + type Client = client.Client + type Content = content.Content + type ContentLengthDescriber = content.LengthDescriber + type ContentMediaTypeDescriber = content.MediaTypeDescriber + type ContentProvider = content.Provider + type ContentReader = content.Reader + type Handler = route.Handler + type HttpTransport = func(rt http.RoundTripper) http.RoundTripper + type IncomingTransport = transport.Incoming + type Metadata = metadata.Metadata + type MetadataCarrier = metadata.Carrier + type MethodConnect struct + func (MethodConnect) Method() string + type MethodDelete struct + func (MethodDelete) Method() string + type MethodDescriptor = method.Describer + type MethodGet struct + func (MethodGet) Method() string + type MethodHead struct + func (MethodHead) Method() string + type MethodOptions struct + func (MethodOptions) Method() string + type MethodPatch struct + func (MethodPatch) Method() string + type MethodPost struct + func (MethodPost) Method() string + type MethodPut struct + func (MethodPut) Method() string + type MethodTrace struct + func (MethodTrace) Method() string + type Middleware = route.Middleware + func ApplyMiddlewares(middlewares ...Middleware) Middleware + type Operator = operator.Operator + type OutgoingTransport = transport.Outgoing + type Request = request.Request + type Response = response.Response[T] + func ErrorResponse(err error, appliers ...ResponseApplier) Response[error] + func WrapResponse[T any](v T, appliers ...ResponseApplier) Response[T] + type ResponseApplier = response.Applier + func WithContentLength(n int64) ResponseApplier + func WithContentType(t string) ResponseApplier + func WithCookies(cookies ...*http.Cookie) ResponseApplier + func WithMetadata(key string, values ...string) ResponseApplier + func WithStatusCode[Code ~int](code Code) ResponseApplier + type Result = client.Result + type RoundTrip func(r *http.Request) (*http.Response, error) + type Route = route.Route + type Router = route.Router + func BasePathRouter(path string) Router + func GroupRouter(group string) Router + func NewRouter(operators ...Operator) Router + type Routes = route.Routes + type Status int + const STATUS_UNKNOWN + const STATUS__ACCEPTED + const STATUS__ALREADY_REPORTED + const STATUS__BAD_GATEWAY + const STATUS__BAD_REQUEST + const STATUS__CLIENT_CLOSED_REQUEST + const STATUS__CONFLICT + const STATUS__CONTINUE + const STATUS__CREATED + const STATUS__EARLY_HINTS + const STATUS__EXPECTATION_FAILED + const STATUS__FAILED_DEPENDENCY + const STATUS__FORBIDDEN + const STATUS__FOUND + const STATUS__GATEWAY_TIMEOUT + const STATUS__GONE + const STATUS__HTTP_REQUEST_SENT_TO_HTTPS_PORT + const STATUS__HTTP_VERSION_NOT_SUPPORTED + const STATUS__IM_USED + const STATUS__INSUFFICIENT_STORAGE + const STATUS__INTERNAL_SERVER_ERROR + const STATUS__LENGTH_REQUIRED + const STATUS__LOCKED + const STATUS__LOOP_DETECTED + const STATUS__METHOD_NOT_ALLOWED + const STATUS__MISDIRECTED_REQUEST + const STATUS__MOVED_PERMANENTLY + const STATUS__MULTIPLE_CHOICES + const STATUS__MULTI_STATUS + const STATUS__NETWORK_AUTHENTICATION_REQUIRED + const STATUS__NON_AUTHORITATIVE_INFO + const STATUS__NOTFOUND + const STATUS__NOT_ACCEPTABLE + const STATUS__NOT_EXTENDED + const STATUS__NOT_IMPLEMENTED + const STATUS__NOT_MODIFIED + const STATUS__NO_CONTENT + const STATUS__NO_RESPONSE + const STATUS__OK + const STATUS__PARTIAL_CONTENT + const STATUS__PAYMENT_REQUIRED + const STATUS__PERMANENT_REDIRECT + const STATUS__PRECONDITION_FAILED + const STATUS__PRECONDITION_REQUIRED + const STATUS__PROCESSING + const STATUS__PROXY_AUTH_REQUIRED + const STATUS__REQUESTED_RANGE_NOT_SATISFIABLE + const STATUS__REQUEST_ENTITY_TOO_LARGE + const STATUS__REQUEST_HEADER_FIELDS_TOO_LARGE + const STATUS__REQUEST_HEADER_TOO_LARGE + const STATUS__REQUEST_TIMEOUT + const STATUS__REQUEST_URI_TOO_LONG + const STATUS__RESET_CONTENT + const STATUS__SEE_OTHER + const STATUS__SERVICE_UNAVAILABLE + const STATUS__SSL_CERTIFICATE_ERROR + const STATUS__SSL_CERTIFICATE_REQUIRED + const STATUS__SWITCHING_PROTOCOLS + const STATUS__TEAPOT + const STATUS__TEMPORARY_REDIRECT + const STATUS__TOO_EARLY + const STATUS__TOO_MANY_REQUESTS + const STATUS__UNAUTHORIZED + const STATUS__UNAVAILABLE_FOR_LEGAL_REASONS + const STATUS__UNPROCESSABLE_ENTITY + const STATUS__UNSUPPORTED_MEDIA_TYPE + const STATUS__UPGRADE_REQUIRED + const STATUS__USE_PROXY + const STATUS__VARIANT_ALSO_NEGOTIATES + func ParseStatus(key string) (Status, error) + func (Status) Values() []Status + func (s Status) IsValid() bool + func (s Status) StatusCode() int + func (s Status) StatusText() string + func (s Status) Wrap(err error) error + func (v *Status) Scan(src any) error + func (v *Status) UnmarshalText(data []byte) error + func (v Status) IsZero() bool + func (v Status) MarshalText() ([]byte, error) + func (v Status) String() string + func (v Status) Text() string + func (v Status) Value() (driver.Value, error) + type StatusDescriber = status.Describer + type StatusError = status.Error + type Transformer = transformer.Transformer + type TransformerProvider = transformer.Provider + type Transport interface + Serve func(Router) error + type Upgrader = transport.Upgrader