Documentation ¶
Overview ¶
Package ctxsetters is an implementation detail for twirp generated code, used by the generated servers to set values in contexts for later access with the twirp package's accessors.
Do not use ctxsetters outside of twirp's generated code.
Index ¶
- func WithMethodName(ctx context.Context, name string) context.Context
- func WithPackageName(ctx context.Context, name string) context.Context
- func WithResponseWriter(ctx context.Context, w http.ResponseWriter) context.Context
- func WithServiceName(ctx context.Context, name string) context.Context
- func WithStatusCode(ctx context.Context, code int) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithResponseWriter ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.