_id stringlengths 2 7 | text stringlengths 6 2.61k | title stringclasses 1
value |
|---|---|---|
c182200 | // Startup is not required to use the ReplGroupStore; it will automatically
// connect to backend stores as needed. However, if you'd like to use the ring
// service to receive ring updates and have the ReplGroupStore automatically
// update itself accordingly, Startup will launch a connector to that service.
// Otherwise, you will need to call SetRing yourself to inform the
// ReplGroupStore of which backends to connect to. | |
c182201 | // shutdownFinished closes the shutdownComplete channel
// 10 miliseconds after being invoked (to give a cmd ctrl client
// a chance to return. | |
c182202 | // Stop the backend and shutdown all listeners.
// Does NOT exist the process. | |
c182203 | // Exit the backend and shutdown all listeners.
// Closes the ShutdownComplete chan when finsihed. | |
c182204 | // SelfUpgrade deploys an updated binary to disk using cmdctrl.GithubUpdater | |
c182205 | // SoftwareVersion returns the version of the currently running instance | |
c182206 | // Shutdown will close any existing connections; note that Startup may
// automatically get called with any further activity, but it will use a new
// connection. To ensure the groupStore has no further activity, use Close. | |
c182207 | // Fetches a rant and its comments given a valid rant id | |
c182208 | // Fetches ranter's profile data | |
c182209 | // Search for rants matching the search term | |
c182210 | // Returns a random rant | |
c182211 | // Returns the rants tagged for 'weekly' | |
c182212 | // Fetches the userId given a valid username | |
c182213 | // Shutdown will close all connections to backend stores and shutdown any
// running ring service connector. Note that the ReplValueStore can still be
// used after Shutdown, it will just start reconnecting to backends again. To
// relaunch the ring service connector, you will need to call Startup. | |
c182214 | // FExists true if a file or dir exists | |
c182215 | // Listen for a Shutdown signal or Outbound messages. | |
c182216 | // Group creates a Group type from a domain, with the given name and members | |
c182217 | // Groups lists the groups of a domain | |
c182218 | // GetGroup retrieves a group from a domain with the given group name | |
c182219 | // Reticence trucate the string in the space or on pontuation mark and put
// reticences in the resulting string. | |
c182220 | // Check the user password. Graphics character are allowed. See unicode.IsGraphic. | |
c182221 | // CleanUrl check the characteres in url and parser it with url.Parse.
// If url is ok return one string with it or if the scheme is missing
// return the url and an error. | |
c182222 | // A capacity of 2 seems to be a good guess for the number of aliases. | |
c182223 | // Params store the mapping of ParamName -> Parameter for the given structure.
// Since multiple names can be affected to a single parameter, multiple
// keys can be associated with a single parameter. | |
c182224 | // Parse discovers the given parameters structure and associates the structure's
// field names with their values into the Params structure. | |
c182225 | // Email returns the forwarder email on the primary domain | |
c182226 | // Forwarder returns a forwarder type with the given from and dest | |
c182227 | // Forwarders lists the forwarders of a domain | |
c182228 | // GetForwarder retreives a forwarder with the given name | |
c182229 | // New returns a new Communigate Pro client | |
c182230 | //EscapeCommaSeparated escapes the args and make a comma separeted list with it. | |
c182231 | // Alias creates an Alias type from an account | |
c182232 | // Email returns the alias email on the primary domain name | |
c182233 | // Aliases lists the aliases of an account | |
c182234 | // RealName return the real name of the account as registered | |
c182235 | // Email returns the primary email of the account | |
c182236 | // Account returns an account type with the given name | |
c182237 | // Accounts lists the acounts of a domain | |
c182238 | // Exists returns true if the domain | |
c182239 | // Aliases returns a list of domain aliases | |
c182240 | // Domain creates a domain type with the given name | |
c182241 | // Domains lists the domains on the server | |
c182242 | // New creates a new Err with the given Info and optional public message | |
c182243 | // Wrap the given error in an errs.Err. If err is nil, Wrap returns nil.
// Use Err.WrappedError for direct access to the wrapped error. | |
c182244 | // Merge in the given info and public message parts into this error | |
c182245 | // Get the string representation of the wrapper error,
// or an empty string if wrappedErr is nil | |
c182246 | // Helper to concatenate arguments into a string,
// with spaces between the arguments | |
c182247 | // MailingList creates a MailingList type from a domain, with the given name | |
c182248 | // Subscriber create a Subscriber type from a MalingList, with the given email
// and name | |
c182249 | // Subscribers returns a list of subscriber of a mailing list. | |
c182250 | // MailingLists lists the mailing lists of a domain | |
c182251 | // NewByteKeyItem creates a new item from bytes | |
c182252 | // CompareBytes is a byte item comparator | |
c182253 | // CompareInt is a helper integer item comparator | |
c182254 | // Malloc implements C like memory allocator | |
c182255 | // Free implements C like memory deallocator | |
c182256 | // Stats returns allocator statistics
// Returns jemalloc stats | |
c182257 | // FreeOSMemory forces jemalloc to scrub memory and release back to OS | |
c182258 | // Add an item into skiplist segment | |
c182259 | // NewSegment creates a new skiplist segment | |
c182260 | // Assemble multiple skiplist segments and form a parent skiplist | |
c182261 | // CompareNodeTable implements comparator for nodetable instances | |
c182262 | // New creates a nodetable instance | |
c182263 | // Stats returns nodetable statistics | |
c182264 | // MemoryInUse returns memory used by nodetable instance | |
c182265 | // Get returns node pointer for the lookup key | |
c182266 | // Update inserts or replaces an existing entry | |
c182267 | // Remove an item from the nodetable | |
c182268 | // Close destroys the nodetable | |
c182269 | // MemoryInUse returns total memory used by nodetables in a process | |
c182270 | // Fill free blocks with a const
// This can help debugging of memory reclaimer bugs | |
c182271 | // Seek to a specified key or the next bigger one if an item with key does not
// exist. | |
c182272 | // Next moves iterator cursor to the next item | |
c182273 | // Refresh is a helper API to call refresh accessor tokens manually
// This would enable SMR to reclaim objects faster if an iterator is
// alive for a longer duration of time. | |
c182274 | // Close executes destructor for iterator | |
c182275 | // NewIterator creates an iterator for a Nitro snapshot | |
c182276 | // SeekFirst moves cursor to the first item | |
c182277 | // Next moves cursor to the next item | |
c182278 | // Seek moves cursor to the specified item, if present | |
c182279 | // Keys returns all keys from the node list | |
c182280 | // Remove a key from the node list | |
c182281 | // Add a key into the node list | |
c182282 | // NewWithConfig creates a config from given config | |
c182283 | // FreeNode deallocates the skiplist node memory | |
c182284 | // MakeBuf creates an action buffer | |
c182285 | // Size returns the size of a node | |
c182286 | // NewLevel returns a random level for the next node | |
c182287 | // Insert adds an item into the skiplist | |
c182288 | // Insert2 is a more verbose version of Insert | |
c182289 | // Insert3 is more verbose version of Insert2 | |
c182290 | // Delete an item from the skiplist | |
c182291 | // DeleteNode an item from the skiplist by specifying its node | |
c182292 | // GetRangeSplitItems returns `nways` split range pivots of the skiplist items
// Explicit barrier and release should be used by the caller before
// and after this function call | |
c182293 | // Bytes return item data bytes | |
c182294 | // ItemSize returns total bytes consumed by item representation | |
c182295 | // KVFromBytes extracts key-value pair from item bytes returned by iterator | |
c182296 | // CompareKV is a comparator for KV item | |
c182297 | // Emits an Event from the EventController. Takes an EventBody which is used
// to build an Event. Returns number of handlers that
// received the event and error if an error was raised. | |
c182298 | // Unregisters Handler from the EventController. This is idempotent where if a Handler is
// not registered no error is returned. | |
c182299 | // Returns bool on whether the Handler is registered with this EventController. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.