commons

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RegionCode_name = map[int32]string{
		0: "REGION_CODE_UNSPECIFIED",
		1: "US",
		2: "EU",
	}
	RegionCode_value = map[string]int32{
		"REGION_CODE_UNSPECIFIED": 0,
		"US":                      1,
		"EU":                      2,
	}
)

Enum value maps for RegionCode.

View Source
var File_scalekit_v1_commons_commons_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type RegionCode

type RegionCode int32
const (
	// If the region code is unspecified the selected region will automatically be decided based on the origin of the call.
	RegionCode_REGION_CODE_UNSPECIFIED RegionCode = 0
	RegionCode_US                      RegionCode = 1
	RegionCode_EU                      RegionCode = 2
)

func (RegionCode) Descriptor

func (RegionCode) Descriptor() protoreflect.EnumDescriptor

func (RegionCode) Enum

func (x RegionCode) Enum() *RegionCode

func (RegionCode) EnumDescriptor deprecated

func (RegionCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use RegionCode.Descriptor instead.

func (RegionCode) Number

func (x RegionCode) Number() protoreflect.EnumNumber

func (RegionCode) String

func (x RegionCode) String() string

func (RegionCode) Type

Jump to

Keyboard shortcuts

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