option.go 194 B

123456789101112131415
  1. package decoder
  2. import "context"
  3. type OptionFlags uint8
  4. const (
  5. FirstWinOption OptionFlags = 1 << iota
  6. ContextOption
  7. )
  8. type Option struct {
  9. Flags OptionFlags
  10. Context context.Context
  11. }