redemptioncode

package
v0.0.1-beta.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the redemptioncode type in the database.
	Label = "redemption_code"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCode holds the string denoting the code field in the database.
	FieldCode = "code"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldValue holds the string denoting the value field in the database.
	FieldValue = "value"
	// FieldRemark holds the string denoting the remark field in the database.
	FieldRemark = "remark"
	// FieldExpiresAt holds the string denoting the expires_at field in the database.
	FieldExpiresAt = "expires_at"
	// FieldResourceExpiresAt holds the string denoting the resource_expires_at field in the database.
	FieldResourceExpiresAt = "resource_expires_at"
	// FieldMaxUses holds the string denoting the max_uses field in the database.
	FieldMaxUses = "max_uses"
	// FieldUsedCount holds the string denoting the used_count field in the database.
	FieldUsedCount = "used_count"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// EdgeUses holds the string denoting the uses edge name in mutations.
	EdgeUses = "uses"
	// Table holds the table name of the redemptioncode in the database.
	Table = "redemption_codes"
	// UsesTable is the table that holds the uses relation/edge.
	UsesTable = "redemption_uses"
	// UsesInverseTable is the table name for the RedemptionUse entity.
	// It exists in this package in order to avoid circular dependency with the "redemptionuse" package.
	UsesInverseTable = "redemption_uses"
	// UsesColumn is the table column denoting the uses relation/edge.
	UsesColumn = "code_id"
)
View Source
const DefaultStatus = StatusActive

StatusActive is the default value of the Status enum.

Variables

View Source
var (
	// DefaultMaxUses holds the default value on creation for the "max_uses" field.
	DefaultMaxUses int
	// DefaultUsedCount holds the default value on creation for the "used_count" field.
	DefaultUsedCount int
	// DefaultCreatedBy holds the default value on creation for the "created_by" field.
	DefaultCreatedBy int64
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
)

Columns holds all SQL columns for redemptioncode fields.

Functions

func And

And groups predicates with the AND operator between them.

func Code

Code applies equality check predicate on the "code" field. It's identical to CodeEQ.

func CodeContains

func CodeContains(v string) predicate.RedemptionCode

CodeContains applies the Contains predicate on the "code" field.

func CodeContainsFold

func CodeContainsFold(v string) predicate.RedemptionCode

CodeContainsFold applies the ContainsFold predicate on the "code" field.

func CodeEQ

CodeEQ applies the EQ predicate on the "code" field.

func CodeEqualFold

func CodeEqualFold(v string) predicate.RedemptionCode

CodeEqualFold applies the EqualFold predicate on the "code" field.

func CodeGT

CodeGT applies the GT predicate on the "code" field.

func CodeGTE

func CodeGTE(v string) predicate.RedemptionCode

CodeGTE applies the GTE predicate on the "code" field.

func CodeHasPrefix

func CodeHasPrefix(v string) predicate.RedemptionCode

CodeHasPrefix applies the HasPrefix predicate on the "code" field.

func CodeHasSuffix

func CodeHasSuffix(v string) predicate.RedemptionCode

CodeHasSuffix applies the HasSuffix predicate on the "code" field.

func CodeIn

func CodeIn(vs ...string) predicate.RedemptionCode

CodeIn applies the In predicate on the "code" field.

func CodeLT

CodeLT applies the LT predicate on the "code" field.

func CodeLTE

func CodeLTE(v string) predicate.RedemptionCode

CodeLTE applies the LTE predicate on the "code" field.

func CodeNEQ

func CodeNEQ(v string) predicate.RedemptionCode

CodeNEQ applies the NEQ predicate on the "code" field.

func CodeNotIn

func CodeNotIn(vs ...string) predicate.RedemptionCode

CodeNotIn applies the NotIn predicate on the "code" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.RedemptionCode

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.RedemptionCode

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.RedemptionCode

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.RedemptionCode

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.RedemptionCode

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.RedemptionCode

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.RedemptionCode

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.RedemptionCode

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.RedemptionCode

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedBy

func CreatedBy(v int64) predicate.RedemptionCode

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByEQ

func CreatedByEQ(v int64) predicate.RedemptionCode

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v int64) predicate.RedemptionCode

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v int64) predicate.RedemptionCode

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...int64) predicate.RedemptionCode

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v int64) predicate.RedemptionCode

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v int64) predicate.RedemptionCode

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v int64) predicate.RedemptionCode

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...int64) predicate.RedemptionCode

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func ExpiresAt

func ExpiresAt(v time.Time) predicate.RedemptionCode

ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.

func ExpiresAtEQ

func ExpiresAtEQ(v time.Time) predicate.RedemptionCode

ExpiresAtEQ applies the EQ predicate on the "expires_at" field.

func ExpiresAtGT

func ExpiresAtGT(v time.Time) predicate.RedemptionCode

ExpiresAtGT applies the GT predicate on the "expires_at" field.

func ExpiresAtGTE

func ExpiresAtGTE(v time.Time) predicate.RedemptionCode

ExpiresAtGTE applies the GTE predicate on the "expires_at" field.

func ExpiresAtIn

func ExpiresAtIn(vs ...time.Time) predicate.RedemptionCode

ExpiresAtIn applies the In predicate on the "expires_at" field.

func ExpiresAtIsNil

func ExpiresAtIsNil() predicate.RedemptionCode

ExpiresAtIsNil applies the IsNil predicate on the "expires_at" field.

func ExpiresAtLT

func ExpiresAtLT(v time.Time) predicate.RedemptionCode

ExpiresAtLT applies the LT predicate on the "expires_at" field.

func ExpiresAtLTE

func ExpiresAtLTE(v time.Time) predicate.RedemptionCode

ExpiresAtLTE applies the LTE predicate on the "expires_at" field.

func ExpiresAtNEQ

func ExpiresAtNEQ(v time.Time) predicate.RedemptionCode

ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.

func ExpiresAtNotIn

func ExpiresAtNotIn(vs ...time.Time) predicate.RedemptionCode

ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.

func ExpiresAtNotNil

func ExpiresAtNotNil() predicate.RedemptionCode

ExpiresAtNotNil applies the NotNil predicate on the "expires_at" field.

func HasUses

func HasUses() predicate.RedemptionCode

HasUses applies the HasEdge predicate on the "uses" edge.

func HasUsesWith

func HasUsesWith(preds ...predicate.RedemptionUse) predicate.RedemptionCode

HasUsesWith applies the HasEdge predicate on the "uses" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.RedemptionCode

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int64) predicate.RedemptionCode

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.RedemptionCode

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.RedemptionCode

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int64) predicate.RedemptionCode

IDNotIn applies the NotIn predicate on the ID field.

func MaxUses

func MaxUses(v int) predicate.RedemptionCode

MaxUses applies equality check predicate on the "max_uses" field. It's identical to MaxUsesEQ.

func MaxUsesEQ

func MaxUsesEQ(v int) predicate.RedemptionCode

MaxUsesEQ applies the EQ predicate on the "max_uses" field.

func MaxUsesGT

func MaxUsesGT(v int) predicate.RedemptionCode

MaxUsesGT applies the GT predicate on the "max_uses" field.

func MaxUsesGTE

func MaxUsesGTE(v int) predicate.RedemptionCode

MaxUsesGTE applies the GTE predicate on the "max_uses" field.

func MaxUsesIn

func MaxUsesIn(vs ...int) predicate.RedemptionCode

MaxUsesIn applies the In predicate on the "max_uses" field.

func MaxUsesLT

func MaxUsesLT(v int) predicate.RedemptionCode

MaxUsesLT applies the LT predicate on the "max_uses" field.

func MaxUsesLTE

func MaxUsesLTE(v int) predicate.RedemptionCode

MaxUsesLTE applies the LTE predicate on the "max_uses" field.

func MaxUsesNEQ

func MaxUsesNEQ(v int) predicate.RedemptionCode

MaxUsesNEQ applies the NEQ predicate on the "max_uses" field.

func MaxUsesNotIn

func MaxUsesNotIn(vs ...int) predicate.RedemptionCode

MaxUsesNotIn applies the NotIn predicate on the "max_uses" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Remark

Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.

func RemarkContains

func RemarkContains(v string) predicate.RedemptionCode

RemarkContains applies the Contains predicate on the "remark" field.

func RemarkContainsFold

func RemarkContainsFold(v string) predicate.RedemptionCode

RemarkContainsFold applies the ContainsFold predicate on the "remark" field.

func RemarkEQ

func RemarkEQ(v string) predicate.RedemptionCode

RemarkEQ applies the EQ predicate on the "remark" field.

func RemarkEqualFold

func RemarkEqualFold(v string) predicate.RedemptionCode

RemarkEqualFold applies the EqualFold predicate on the "remark" field.

func RemarkGT

func RemarkGT(v string) predicate.RedemptionCode

RemarkGT applies the GT predicate on the "remark" field.

func RemarkGTE

func RemarkGTE(v string) predicate.RedemptionCode

RemarkGTE applies the GTE predicate on the "remark" field.

func RemarkHasPrefix

func RemarkHasPrefix(v string) predicate.RedemptionCode

RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.

func RemarkHasSuffix

func RemarkHasSuffix(v string) predicate.RedemptionCode

RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.

func RemarkIn

func RemarkIn(vs ...string) predicate.RedemptionCode

RemarkIn applies the In predicate on the "remark" field.

func RemarkIsNil

func RemarkIsNil() predicate.RedemptionCode

RemarkIsNil applies the IsNil predicate on the "remark" field.

func RemarkLT

func RemarkLT(v string) predicate.RedemptionCode

RemarkLT applies the LT predicate on the "remark" field.

func RemarkLTE

func RemarkLTE(v string) predicate.RedemptionCode

RemarkLTE applies the LTE predicate on the "remark" field.

func RemarkNEQ

func RemarkNEQ(v string) predicate.RedemptionCode

RemarkNEQ applies the NEQ predicate on the "remark" field.

func RemarkNotIn

func RemarkNotIn(vs ...string) predicate.RedemptionCode

RemarkNotIn applies the NotIn predicate on the "remark" field.

func RemarkNotNil

func RemarkNotNil() predicate.RedemptionCode

RemarkNotNil applies the NotNil predicate on the "remark" field.

func ResourceExpiresAt

func ResourceExpiresAt(v time.Time) predicate.RedemptionCode

ResourceExpiresAt applies equality check predicate on the "resource_expires_at" field. It's identical to ResourceExpiresAtEQ.

func ResourceExpiresAtEQ

func ResourceExpiresAtEQ(v time.Time) predicate.RedemptionCode

ResourceExpiresAtEQ applies the EQ predicate on the "resource_expires_at" field.

func ResourceExpiresAtGT

func ResourceExpiresAtGT(v time.Time) predicate.RedemptionCode

ResourceExpiresAtGT applies the GT predicate on the "resource_expires_at" field.

func ResourceExpiresAtGTE

func ResourceExpiresAtGTE(v time.Time) predicate.RedemptionCode

ResourceExpiresAtGTE applies the GTE predicate on the "resource_expires_at" field.

func ResourceExpiresAtIn

func ResourceExpiresAtIn(vs ...time.Time) predicate.RedemptionCode

ResourceExpiresAtIn applies the In predicate on the "resource_expires_at" field.

func ResourceExpiresAtIsNil

func ResourceExpiresAtIsNil() predicate.RedemptionCode

ResourceExpiresAtIsNil applies the IsNil predicate on the "resource_expires_at" field.

func ResourceExpiresAtLT

func ResourceExpiresAtLT(v time.Time) predicate.RedemptionCode

ResourceExpiresAtLT applies the LT predicate on the "resource_expires_at" field.

func ResourceExpiresAtLTE

func ResourceExpiresAtLTE(v time.Time) predicate.RedemptionCode

ResourceExpiresAtLTE applies the LTE predicate on the "resource_expires_at" field.

func ResourceExpiresAtNEQ

func ResourceExpiresAtNEQ(v time.Time) predicate.RedemptionCode

ResourceExpiresAtNEQ applies the NEQ predicate on the "resource_expires_at" field.

func ResourceExpiresAtNotIn

func ResourceExpiresAtNotIn(vs ...time.Time) predicate.RedemptionCode

ResourceExpiresAtNotIn applies the NotIn predicate on the "resource_expires_at" field.

func ResourceExpiresAtNotNil

func ResourceExpiresAtNotNil() predicate.RedemptionCode

ResourceExpiresAtNotNil applies the NotNil predicate on the "resource_expires_at" field.

func StatusEQ

func StatusEQ(v Status) predicate.RedemptionCode

StatusEQ applies the EQ predicate on the "status" field.

func StatusIn

func StatusIn(vs ...Status) predicate.RedemptionCode

StatusIn applies the In predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v Status) predicate.RedemptionCode

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...Status) predicate.RedemptionCode

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusValidator

func StatusValidator(s Status) error

StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.

func TypeEQ

func TypeEQ(v Type) predicate.RedemptionCode

TypeEQ applies the EQ predicate on the "type" field.

func TypeIn

func TypeIn(vs ...Type) predicate.RedemptionCode

TypeIn applies the In predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v Type) predicate.RedemptionCode

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...Type) predicate.RedemptionCode

TypeNotIn applies the NotIn predicate on the "type" field.

func TypeValidator

func TypeValidator(_type Type) error

TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.RedemptionCode

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.RedemptionCode

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.RedemptionCode

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.RedemptionCode

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.RedemptionCode

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.RedemptionCode

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.RedemptionCode

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.RedemptionCode

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.RedemptionCode

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UsedCount

func UsedCount(v int) predicate.RedemptionCode

UsedCount applies equality check predicate on the "used_count" field. It's identical to UsedCountEQ.

func UsedCountEQ

func UsedCountEQ(v int) predicate.RedemptionCode

UsedCountEQ applies the EQ predicate on the "used_count" field.

func UsedCountGT

func UsedCountGT(v int) predicate.RedemptionCode

UsedCountGT applies the GT predicate on the "used_count" field.

func UsedCountGTE

func UsedCountGTE(v int) predicate.RedemptionCode

UsedCountGTE applies the GTE predicate on the "used_count" field.

func UsedCountIn

func UsedCountIn(vs ...int) predicate.RedemptionCode

UsedCountIn applies the In predicate on the "used_count" field.

func UsedCountLT

func UsedCountLT(v int) predicate.RedemptionCode

UsedCountLT applies the LT predicate on the "used_count" field.

func UsedCountLTE

func UsedCountLTE(v int) predicate.RedemptionCode

UsedCountLTE applies the LTE predicate on the "used_count" field.

func UsedCountNEQ

func UsedCountNEQ(v int) predicate.RedemptionCode

UsedCountNEQ applies the NEQ predicate on the "used_count" field.

func UsedCountNotIn

func UsedCountNotIn(vs ...int) predicate.RedemptionCode

UsedCountNotIn applies the NotIn predicate on the "used_count" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func Value

Value applies equality check predicate on the "value" field. It's identical to ValueEQ.

func ValueEQ

func ValueEQ(v int64) predicate.RedemptionCode

ValueEQ applies the EQ predicate on the "value" field.

func ValueGT

func ValueGT(v int64) predicate.RedemptionCode

ValueGT applies the GT predicate on the "value" field.

func ValueGTE

func ValueGTE(v int64) predicate.RedemptionCode

ValueGTE applies the GTE predicate on the "value" field.

func ValueIn

func ValueIn(vs ...int64) predicate.RedemptionCode

ValueIn applies the In predicate on the "value" field.

func ValueLT

func ValueLT(v int64) predicate.RedemptionCode

ValueLT applies the LT predicate on the "value" field.

func ValueLTE

func ValueLTE(v int64) predicate.RedemptionCode

ValueLTE applies the LTE predicate on the "value" field.

func ValueNEQ

func ValueNEQ(v int64) predicate.RedemptionCode

ValueNEQ applies the NEQ predicate on the "value" field.

func ValueNotIn

func ValueNotIn(vs ...int64) predicate.RedemptionCode

ValueNotIn applies the NotIn predicate on the "value" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the RedemptionCode queries.

func ByCode

func ByCode(opts ...sql.OrderTermOption) OrderOption

ByCode orders the results by the code field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption

ByCreatedBy orders the results by the created_by field.

func ByExpiresAt

func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption

ByExpiresAt orders the results by the expires_at field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByMaxUses

func ByMaxUses(opts ...sql.OrderTermOption) OrderOption

ByMaxUses orders the results by the max_uses field.

func ByRemark

func ByRemark(opts ...sql.OrderTermOption) OrderOption

ByRemark orders the results by the remark field.

func ByResourceExpiresAt

func ByResourceExpiresAt(opts ...sql.OrderTermOption) OrderOption

ByResourceExpiresAt orders the results by the resource_expires_at field.

func ByStatus

func ByStatus(opts ...sql.OrderTermOption) OrderOption

ByStatus orders the results by the status field.

func ByType

func ByType(opts ...sql.OrderTermOption) OrderOption

ByType orders the results by the type field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByUsedCount

func ByUsedCount(opts ...sql.OrderTermOption) OrderOption

ByUsedCount orders the results by the used_count field.

func ByUses

func ByUses(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByUses orders the results by uses terms.

func ByUsesCount

func ByUsesCount(opts ...sql.OrderTermOption) OrderOption

ByUsesCount orders the results by uses count.

func ByValue

func ByValue(opts ...sql.OrderTermOption) OrderOption

ByValue orders the results by the value field.

type Status

type Status string

Status defines the type for the "status" enum field.

const (
	StatusActive   Status = "active"
	StatusDisabled Status = "disabled"
)

Status values.

func (Status) String

func (s Status) String() string

type Type

type Type string

Type defines the type for the "type" enum field.

const (
	TypeBalance     Type = "balance"
	TypeConcurrency Type = "concurrency"
	TypeTempBalance Type = "temp_balance"
)

Type values.

func (Type) String

func (_type Type) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL