twirp: github.com/twitchtv/twirp/ctxsetters Index | Files

package ctxsetters

import "github.com/twitchtv/twirp/ctxsetters"

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

Package Files

ctxsetters.go

func WithMethodName Uses

func WithMethodName(ctx context.Context, name string) context.Context

func WithPackageName Uses

func WithPackageName(ctx context.Context, name string) context.Context

func WithResponseWriter Uses

func WithResponseWriter(ctx context.Context, w http.ResponseWriter) context.Context

func WithServiceName Uses

func WithServiceName(ctx context.Context, name string) context.Context

func WithStatusCode Uses

func WithStatusCode(ctx context.Context, code int) context.Context

Package ctxsetters imports 4 packages (graph) and is imported by 86 packages. Updated 2018-01-28. Refresh now. Tools for package owners.