_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c28300 | train | // Get returns a key value | {
"resource": ""
} | ||
c28301 | train | // Int returns the value associated with the key as a int. | {
"resource": ""
} | ||
c28302 | train | // Int8 returns the value associated with the key as a int8. | {
"resource": ""
} | ||
c28303 | train | // Int16 returns the value associated with the key as a int16. | {
"resource": ""
} | ||
c28304 | train | // Int32 returns the value associated with the key as a int32. | {
"resource": ""
} | ||
c28305 | train | // Int64 returns the value associated with the key as a int64. | {
"resource": ""
} | ||
c28306 | train | // Uint returns the value associated with the key as a uint. | {
"resource": ""
} | ||
c28307 | train | // Uint8 returns the value associated with the key as a uint8. | {
"resource": ""
} | ||
c28308 | train | // Uint16 returns the value associated with the key as a uint16. | {
"resource": ""
} | ||
c28309 | train | // Uint32 returns the value associated with the key as a uint32. | {
"resource": ""
} | ||
c28310 | train | // Uint64 returns the value associated with the key as a uint64. | {
"resource": ""
} | ||
c28311 | train | // Float32 returns the value associated with the key as a float32. | {
"resource": ""
} | ||
c28312 | train | // Float64 returns the value associated with the key as a float64. | {
"resource": ""
} | ||
c28313 | train | // String returns the value associated with the key as a string. | {
"resource": ""
} | ||
c28314 | train | // PushToFront updates the session in the frontend | {
"resource": ""
} | ||
c28315 | train | // Clear releases all data related to current session | {
"resource": ""
} | ||
c28316 | train | // SetHandshakeData sets the handshake data received by the client. | {
"resource": ""
} | ||
c28317 | train | // Marshal returns the protobuf encoding of v. | {
"resource": ""
} | ||
c28318 | train | // Unmarshal parses the protobuf-encoded data and stores the result
// in the value pointed to by v. | {
"resource": ""
} | ||
c28319 | train | // NewTimer creates a cron job | {
"resource": ""
} | ||
c28320 | train | // Stop turns off a timer. After Stop, fn will not be called forever | {
"resource": ""
} | ||
c28321 | train | // execute job function with protection | {
"resource": ""
} | ||
c28322 | train | // NewMockPacketEncoder creates a new mock instance | {
"resource": ""
} | ||
c28323 | train | // AsJSONString returns the server as a json string | {
"resource": ""
} | ||
c28324 | train | // RPC calls a method in a different server | {
"resource": ""
} | ||
c28325 | train | // RPCTo send a rpc to a specific server | {
"resource": ""
} | ||
c28326 | train | // ReliableRPC enqueues RPC to worker so it's executed asynchronously
// Default enqueue options are used | {
"resource": ""
} | ||
c28327 | train | // ReliableRPCWithOptions enqueues RPC to worker
// Receive worker options for this specific RPC | {
"resource": ""
} | ||
c28328 | train | // NewGRPCClient returns a new instance of GRPCClient | {
"resource": ""
} | ||
c28329 | train | // Call makes a RPC Call | {
"resource": ""
} | ||
c28330 | train | // Send not implemented in grpc client | {
"resource": ""
} | ||
c28331 | train | // BroadcastSessionBind sends the binding information to other servers that may be interested in this info | {
"resource": ""
} | ||
c28332 | train | // SendKick sends a kick to an user | {
"resource": ""
} | ||
c28333 | train | // AddServer is called when a new server is discovered | {
"resource": ""
} | ||
c28334 | train | // RemoveServer is called when a server is removed | {
"resource": ""
} | ||
c28335 | train | // Unmarshal parses the JSON-encoded data and stores the result
// in the value pointed to by v. | {
"resource": ""
} | ||
c28336 | train | // HandlerNoArg is a simple handler that do not have any arguments | {
"resource": ""
} | ||
c28337 | train | // Simple example of an after pipeline. The 2nd argument is the handler response. | {
"resource": ""
} | ||
c28338 | train | // Register register a component with options | {
"resource": ""
} | ||
c28339 | train | // RegisterRemote register a remote component with options | {
"resource": ""
} | ||
c28340 | train | // GetUserMessagesTopic get the topic for user | {
"resource": ""
} | ||
c28341 | train | // GetUserKickTopic get the topic for kicking an user | {
"resource": ""
} | ||
c28342 | train | // onSessionBind should be called on each session bind | {
"resource": ""
} | ||
c28343 | train | // Init inits nats rpc server | {
"resource": ""
} | ||
c28344 | train | // NewRoute creates a new route | {
"resource": ""
} | ||
c28345 | train | // String transforms the route into a string | {
"resource": ""
} | ||
c28346 | train | // Short transforms the route into a string without the server type | {
"resource": ""
} | ||
c28347 | train | // Decode decodes the route | {
"resource": ""
} | ||
c28348 | train | // SetCounter sets custom my_counter | {
"resource": ""
} | ||
c28349 | train | // SetGauge1 sets custom my_gauge_1 | {
"resource": ""
} | ||
c28350 | train | // SetSummary sets custom my_summary | {
"resource": ""
} | ||
c28351 | train | // NewRemoteService creates and return a new RemoteService | {
"resource": ""
} | ||
c28352 | train | // AddRemoteBindingListener adds a listener | {
"resource": ""
} | ||
c28353 | train | // Call processes a remote call | {
"resource": ""
} | ||
c28354 | train | // SessionBindRemote is called when a remote server binds a user session and want us to acknowledge it | {
"resource": ""
} | ||
c28355 | train | // PushToUser sends a push to user | {
"resource": ""
} | ||
c28356 | train | // KickUser sends a kick to user | {
"resource": ""
} | ||
c28357 | train | // DoRPC do rpc and get answer | {
"resource": ""
} | ||
c28358 | train | // RPC makes rpcs | {
"resource": ""
} | ||
c28359 | train | // Docs returns documentation for remotes | {
"resource": ""
} | ||
c28360 | train | // isRemoteMethod decide a method is suitable remote method | {
"resource": ""
} | ||
c28361 | train | // isHandlerMethod decide a method is suitable handler method | {
"resource": ""
} | ||
c28362 | train | // BindSession binds the local session | {
"resource": ""
} | ||
c28363 | train | // Kick kicks a local user | {
"resource": ""
} | ||
c28364 | train | // RemoteFunc is a function that will be called remotelly | {
"resource": ""
} | ||
c28365 | train | // RegisterModule registers a module, by default it register after registered modules | {
"resource": ""
} | ||
c28366 | train | // RegisterModuleAfter registers a module after all registered modules | {
"resource": ""
} | ||
c28367 | train | // GetModule gets a module with a name | {
"resource": ""
} | ||
c28368 | train | // startModules starts all modules in order | {
"resource": ""
} | ||
c28369 | train | // shutdownModules starts all modules in reverse order | {
"resource": ""
} | ||
c28370 | train | // NewStatsdReporter returns an instance of statsd reportar and an error if something fails | {
"resource": ""
} | ||
c28371 | train | // ReportCount sends count reports to statsd | {
"resource": ""
} | ||
c28372 | train | // ReportGauge sents the gauge value and reports to statsd | {
"resource": ""
} | ||
c28373 | train | // GroupCreate creates a group | {
"resource": ""
} | ||
c28374 | train | // GroupCreateWithTTL creates a group with given TTL | {
"resource": ""
} | ||
c28375 | train | // GroupBroadcast pushes the message to all members inside group | {
"resource": ""
} | ||
c28376 | train | // GroupContainsMember checks whether an UID is contained in group or not | {
"resource": ""
} | ||
c28377 | train | // GroupRemoveAll clears all UIDs | {
"resource": ""
} | ||
c28378 | train | // GroupRenewTTL renews group with the initial TTL | {
"resource": ""
} | ||
c28379 | train | // GroupDelete deletes whole group, including UIDs and base group | {
"resource": ""
} | ||
c28380 | train | // SendPushToUsers sends a message to the given list of users | {
"resource": ""
} | ||
c28381 | train | // Init inits grpc rpc server | {
"resource": ""
} | ||
c28382 | train | // ReportTimingFromCtx reports the latency from the context | {
"resource": ""
} | ||
c28383 | train | // ReportMessageProcessDelayFromCtx reports the delay to process the messages | {
"resource": ""
} | ||
c28384 | train | // ReportNumberOfConnectedClients reports the number of connected clients | {
"resource": ""
} | ||
c28385 | train | // ReportSysMetrics reports sys metrics | {
"resource": ""
} | ||
c28386 | train | // NewMemoryGroupService returns a new group instance | {
"resource": ""
} | ||
c28387 | train | // GroupCreate creates a group without TTL | {
"resource": ""
} | ||
c28388 | train | // GroupCreateWithTTL creates a group with TTL, which the go routine will clean later | {
"resource": ""
} | ||
c28389 | train | // GroupMembers returns all member's UID in given group | {
"resource": ""
} | ||
c28390 | train | // GroupContainsMember check whether an UID is contained in given group or not | {
"resource": ""
} | ||
c28391 | train | // GroupRemoveMember removes specific UID from group | {
"resource": ""
} | ||
c28392 | train | // GroupRemoveAll clears all UIDs from group | {
"resource": ""
} | ||
c28393 | train | // GroupDelete deletes the whole group, including members and base group | {
"resource": ""
} | ||
c28394 | train | // GroupRenewTTL will renew lease TTL | {
"resource": ""
} | ||
c28395 | train | // NewETCDBindingStorage returns a new instance of BindingStorage | {
"resource": ""
} | ||
c28396 | train | // PutBinding puts the binding info into etcd | {
"resource": ""
} | ||
c28397 | train | // Init starts the binding storage module | {
"resource": ""
} | ||
c28398 | train | // NewAPIDocsGen creates a new APIDocsGen | {
"resource": ""
} | ||
c28399 | train | // Init is called on init method | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.