Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // 10mb MaxRecvMsgSize = 1024 * 1024 * 10 MaxSendMsgSize = 1024 * 1024 * 10 )
Functions ¶
This section is empty.
Types ¶
type RapidaEnvironment ¶
type RapidaEnvironment string
const ( PRODUCTION RapidaEnvironment = "production" DEVELOPMENT RapidaEnvironment = "development" )
func (RapidaEnvironment) FromStr ¶
func (e RapidaEnvironment) FromStr(label string) RapidaEnvironment
FromStr returns the corresponding RapidaEnvironment for a given string, or DEVELOPMENT if the string does not match any environment.
func (RapidaEnvironment) Get ¶
func (e RapidaEnvironment) Get() string
Get returns the string value of the RapidaEnvironment
type RapidaRegion ¶
type RapidaRegion string
const ( AP RapidaRegion = "ap" US RapidaRegion = "us" EU RapidaRegion = "eu" ALL RapidaRegion = "all" )
func (RapidaRegion) FromStr ¶
func (r RapidaRegion) FromStr(label string) RapidaRegion
FromStr returns the corresponding RapidaRegion for a given string, or ALL if the string does not match any region.
func (RapidaRegion) Get ¶
func (r RapidaRegion) Get() string
Get returns the string value of the RapidaRegion
Click to show internal directories.
Click to hide internal directories.