_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c21100 | train | // IsLongitude is the validation function for validating if the field's value is a valid longitude coordinate. | {
"resource": ""
} | ||
c21101 | train | // IsDataURI is the validation function for validating if the field's value is a valid data URI. | {
"resource": ""
} | ||
c21102 | train | // HasMultiByteCharacter is the validation function for validating if the field's value has a multi byte character. | {
"resource": ""
} | ||
c21103 | train | // IsISBN13 is the validation function for validating if the field's value is a valid v13 ISBN. | {
"resource": ""
} | ||
c21104 | train | // IsISBN10 is the validation function for validating if the field's value is a valid v10 ISBN. | {
"resource": ""
} | ||
c21105 | train | // IsEthereumAddress is the validation function for validating if the field's value is a valid ethereum address based currently only on the format | {
"resource": ""
} | ||
c21106 | train | // IsBitcoinAddress is the validation function for validating if the field's value is a valid btc address | {
"resource": ""
} | ||
c21107 | train | // IsBitcoinBech32Address is the validation function for validating if the field's value is a valid bech32 btc address | {
"resource": ""
} | ||
c21108 | train | // ContainsRune is the validation function for validating that the field's value contains the rune specified within the param. | {
"resource": ""
} | ||
c21109 | train | // ContainsAny is the validation function for validating that the field's value contains any of the characters specified within the param. | {
"resource": ""
} | ||
c21110 | train | // Contains is the validation function for validating that the field's value contains the text specified within the param. | {
"resource": ""
} | ||
c21111 | train | // StartsWith is the validation function for validating that the field's value starts with the text specified within the param. | {
"resource": ""
} | ||
c21112 | train | // EndsWith is the validation function for validating that the field's value ends with the text specified within the param. | {
"resource": ""
} | ||
c21113 | train | // FieldContains is the validation function for validating if the current field's value contains the field specified by the param's value. | {
"resource": ""
} | ||
c21114 | train | // FieldExcludes is the validation function for validating if the current field's value excludes the field specified by the param's value. | {
"resource": ""
} | ||
c21115 | train | // IsEqCrossStructField is the validation function for validating that the current field's value is equal to the field, within a separate struct, specified by the param's value. | {
"resource": ""
} | ||
c21116 | train | // IsEq is the validation function for validating if the current field's value is equal to the param's value. | {
"resource": ""
} | ||
c21117 | train | // IsURI is the validation function for validating if the current field's value is a valid URI. | {
"resource": ""
} | ||
c21118 | train | // isUrnRFC2141 is the validation function for validating if the current field's value is a valid URN as per RFC 2141. | {
"resource": ""
} | ||
c21119 | train | // IsFile is the validation function for validating if the current field's value is a valid file path. | {
"resource": ""
} | ||
c21120 | train | // IsNumber is the validation function for validating if the current field's value is a valid number. | {
"resource": ""
} | ||
c21121 | train | // HasValue is the validation function for validating if the current field's value is not the default static value. | {
"resource": ""
} | ||
c21122 | train | // IsLte is the validation function for validating if the current field's value is less than or equal to the param's value. | {
"resource": ""
} | ||
c21123 | train | // IsTCP4AddrResolvable is the validation function for validating if the field's value is a resolvable tcp4 address. | {
"resource": ""
} | ||
c21124 | train | // IsUDPAddrResolvable is the validation function for validating if the field's value is a resolvable udp address. | {
"resource": ""
} | ||
c21125 | train | // IsIP4AddrResolvable is the validation function for validating if the field's value is a resolvable ip4 address. | {
"resource": ""
} | ||
c21126 | train | // IsIP6AddrResolvable is the validation function for validating if the field's value is a resolvable ip6 address. | {
"resource": ""
} | ||
c21127 | train | // IsIPAddrResolvable is the validation function for validating if the field's value is a resolvable ip address. | {
"resource": ""
} | ||
c21128 | train | // IsUnixAddrResolvable is the validation function for validating if the field's value is a resolvable unix address. | {
"resource": ""
} | ||
c21129 | train | // extractTypeInternal gets the actual underlying type of field value.
// It will dive into pointers, customTypes and return you the
// underlying value and it's kind. | {
"resource": ""
} | ||
c21130 | train | // asInt returns the parameter as a int64
// or panics if it can't convert | {
"resource": ""
} | ||
c21131 | train | // asUint returns the parameter as a uint64
// or panics if it can't convert | {
"resource": ""
} | ||
c21132 | train | // asFloat returns the parameter as a float64
// or panics if it can't convert | {
"resource": ""
} | ||
c21133 | train | // New returns a new instance of 'validate' with sane defaults. | {
"resource": ""
} | ||
c21134 | train | // RegisterValidationCtx does the same as RegisterValidation on accepts a FuncCtx validation
// allowing context.Context validation support. | {
"resource": ""
} | ||
c21135 | train | // RegisterTranslation registers translations against the provided tag. | {
"resource": ""
} | ||
c21136 | train | // parent and current will be the same the first run of validateStruct | {
"resource": ""
} | ||
c21137 | train | // GetStructFieldOK returns Param returns param for validation against current field | {
"resource": ""
} | ||
c21138 | train | // Register this resource with the container to setup all the routes | {
"resource": ""
} | ||
c21139 | train | // Validate checks an incoming request for data errors | {
"resource": ""
} | ||
c21140 | train | // RegisterBee gets called by Bees to register themselves. | {
"resource": ""
} | ||
c21141 | train | // GetBee returns a bee with a specific name. | {
"resource": ""
} | ||
c21142 | train | // GetBees returns all known bees. | {
"resource": ""
} | ||
c21143 | train | // startBee starts a bee and recovers from panics. | {
"resource": ""
} | ||
c21144 | train | // NewBeeInstance sets up a new Bee with supplied config. | {
"resource": ""
} | ||
c21145 | train | // StartBee starts a bee. | {
"resource": ""
} | ||
c21146 | train | // StartBees starts all registered bees. | {
"resource": ""
} | ||
c21147 | train | // StopBees stops all bees gracefully. | {
"resource": ""
} | ||
c21148 | train | // RestartBee restarts a Bee. | {
"resource": ""
} | ||
c21149 | train | // NewBee returns a new bee and sets up sig-channel & waitGroup. | {
"resource": ""
} | ||
c21150 | train | // Stop gracefully stops a Bee. | {
"resource": ""
} | ||
c21151 | train | // Logln logs args | {
"resource": ""
} | ||
c21152 | train | // Logf logs a formatted string | {
"resource": ""
} | ||
c21153 | train | // LogErrorf logs a formatted error string | {
"resource": ""
} | ||
c21154 | train | // LogFatal logs a fatal error | {
"resource": ""
} | ||
c21155 | train | // handleEvents handles incoming events and executes matching Chains. | {
"resource": ""
} | ||
c21156 | train | // GetFilter returns a filter with a specific name | {
"resource": ""
} | ||
c21157 | train | // AddAction adds a action to the response | {
"resource": ""
} | ||
c21158 | train | // AddLog adds a log to the response | {
"resource": ""
} | ||
c21159 | train | // GetAction returns one action with a specific ID. | {
"resource": ""
} | ||
c21160 | train | // execAction executes an action and map its ins & outs. | {
"resource": ""
} | ||
c21161 | train | // NewAPIContext returns a new polly context | {
"resource": ""
} | ||
c21162 | train | // SetValue sets a value in the Placeholder slice. | {
"resource": ""
} | ||
c21163 | train | // Value retrieves a value from a Placeholder slice. | {
"resource": ""
} | ||
c21164 | train | // Bind a value from a Placeholder slice. | {
"resource": ""
} | ||
c21165 | train | // GetActionDescriptor returns the ActionDescriptor matching an action. | {
"resource": ""
} | ||
c21166 | train | // GetEventDescriptor returns the EventDescriptor matching an event. | {
"resource": ""
} | ||
c21167 | train | // States returns the state values provided by this Bee. | {
"resource": ""
} | ||
c21168 | train | // AddChain adds a chain to the response | {
"resource": ""
} | ||
c21169 | train | // Look for obvious nonsense in the config. | {
"resource": ""
} | ||
c21170 | train | // Returns an array filled with all values between a and b considering
// the base. | {
"resource": ""
} | ||
c21171 | train | // NewLogMessage returns a newly composed LogMessage | {
"resource": ""
} | ||
c21172 | train | // Log adds a new LogMessage to the log | {
"resource": ""
} | ||
c21173 | train | // GetLogs returns all logs for a Bee. | {
"resource": ""
} | ||
c21174 | train | // Colored wraps val in color styling tags. | {
"resource": ""
} | ||
c21175 | train | // Value retrieves a value from a BeeOptions slice. | {
"resource": ""
} | ||
c21176 | train | // Bind a value from a BeeOptions slice. | {
"resource": ""
} | ||
c21177 | train | // Gets the Bot's API key from a file, the recipe config or the
// TELEGRAM_API_KEY environment variable. | {
"resource": ""
} | ||
c21178 | train | // NewBeeConfig validates a configuration and sets up a new BeeConfig | {
"resource": ""
} | ||
c21179 | train | // BeeConfigs returns configs for all Bees. | {
"resource": ""
} | ||
c21180 | train | // execFilter executes a filter. Returns whether the filter passed or not. | {
"resource": ""
} | ||
c21181 | train | // WeatherInformationEvent triggers a weather event | {
"resource": ""
} | ||
c21182 | train | // Passes returns true when the Filter matched the data. | {
"resource": ""
} | ||
c21183 | train | // AddHive adds a hive to the response | {
"resource": ""
} | ||
c21184 | train | // AddBee adds a bee to the response | {
"resource": ""
} | ||
c21185 | train | // Run sets up the restful API container and an HTTP server go-routine | {
"resource": ""
} | ||
c21186 | train | // Returns the time.Duration until the next event. | {
"resource": ""
} | ||
c21187 | train | // This functions calculates the next event | {
"resource": ""
} | ||
c21188 | train | // Calculates the next valid Month based upon the previous results. | {
"resource": ""
} | ||
c21189 | train | // Calculates the next valid Day based upon the previous results. | {
"resource": ""
} | ||
c21190 | train | // Calculates the next valid Hour based upon the previous results. | {
"resource": ""
} | ||
c21191 | train | // Calculates the next valid Minute based upon the previous results. | {
"resource": ""
} | ||
c21192 | train | // Calculates the next valid Second based upon the previous results. | {
"resource": ""
} | ||
c21193 | train | // GetFactory returns the factory with a specific name. | {
"resource": ""
} | ||
c21194 | train | // GetFactories returns all known bee factories. | {
"resource": ""
} | ||
c21195 | train | // GetChain returns a chain with a specific id | {
"resource": ""
} | ||
c21196 | train | // SetChains sets the currently configured chains | {
"resource": ""
} | ||
c21197 | train | // execChains executes chains for an event we received | {
"resource": ""
} | ||
c21198 | train | // AddFlags adds CliFlags to appflags | {
"resource": ""
} | ||
c21199 | train | // Run sets up all the cli-param mappings | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.