package
0.0.0-20220822164348-1fb92f6f5a50
Repository: https://github.com/vardius/go-api-boilerplate.git
Documentation: pkg.go.dev

# README

executioncontext GoDoc

Package executioncontext provides context helper function so set and get execution flags

Download:

go get -u github.com/vardius/go-api-boilerplate/pkg/executioncontext

Package executioncontext provides context helper function so set and get execution flags

# Functions

ClearFlag returns a new Context that no longer carries flag.
FromContext returns the slice of flags stored in ctx.
has returns the bool value based on flag occurrence in context.
ToggleFlag returns a new Context with toggled flag.
WithFlag returns a new Context that carries flag.

# Constants

live events handling.
replay events handling.

# Type aliases

Flag type.