_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c13800
// ErrorWithLevel sends an error to Rollbar with the given severity level.
c13801
// Errorf sends an error to Rollbar with the given format string and arguments.
c13802
// ErrorWithExtras sends an error to Rollbar with the given severity // level with extra custom data.
c13803
// ErrorWithExtrasAndContext sends an error to Rollbar with the given severity // level with extra custom data, within the given context.
c13804
// RequestError sends an error to Rollbar with the given severity level // and request-specific information.
c13805
// RequestErrorWithExtras sends an error to Rollbar with the given // severity level and request-specific information with extra custom data.
c13806
// RequestErrorWithExtrasAndContext sends an error to Rollbar with the given // severity level and request-specific information with extra custom data, within the given // context.
c13807
// ErrorWithStackSkip sends an error to Rollbar with the given severity // level and a given number of stack trace frames skipped.
c13808
// ErrorWithStackSkipWithExtras sends an error to Rollbar with the given // severity level and a given number of stack trace frames skipped with // extra custom data.
c13809
// ErrorWithStackSkipWithExtrasAndContext sends an error to Rollbar with the given // severity level and a given number of stack trace frames skipped with // extra custom data, within the given context.
c13810
// RequestErrorWithStackSkip sends an error to Rollbar with the given // severity level and a given number of stack trace frames skipped, in // addition to extra request-specific information.
c13811
// RequestErrorWithStackSkipWithExtras sends an error to Rollbar with // the given severity level and a given number of stack trace frames // skipped, in addition to extra request-specific information and extra // custom data.
c13812
// RequestErrorWithStackSkipWithExtrasAndContext sends an error to Rollbar with // the given severity level and a given number of stack trace frames // skipped, in addition to extra request-specific information and extra // custom data, within the given context.
c13813
// MessageWithExtras sends a message to Rollbar with the given severity // level with extra custom data.
c13814
// MessageWithExtrasAndContext sends a message to Rollbar with the given severity // level with extra custom data, within the given context.
c13815
// RequestMessage sends a message to Rollbar with the given severity level // and request-specific information.
c13816
// RequestMessageWithExtras sends a message to Rollbar with the given // severity level and request-specific information with extra custom data.
c13817
// RequestMessageWithExtrasAndContext sends a message to Rollbar with the given // severity level and request-specific information with extra custom data, within the given // context.
c13818
// NewPersonContext returns a new Context that carries the person as a value.
c13819
// PersonFromContext returns the Person value stored in ctx, if any.
c13820
// clientPost returns an error which indicates the type of error that occured while attempting to // send the body input to the endpoint given, or nil if no error occurred. If error is not nil, the // boolean return parameter indicates whether the error is temporary or not. If this boolean return // value is true then ...
c13821
// NewAsyncTransport builds an asynchronous transport which sends data to the Rollbar API at the // specified endpoint using the given access token. The channel is limited to the size of the input // buffer argument.
c13822
// Send the body to Rollbar if the channel is not currently full. // Returns ErrBufferFull if the underlying channel is full.
c13823
// Close is an alias for Wait for the asynchronous transport
c13824
// Install clones a remote repository to the rig directory // // Implements Installer
c13825
// setVersion attempts to checkout the version
c13826
// sync will clone or update a remote repo.
c13827
// String represents the version information as a well-formatted string.
c13828
// Install installs a rig.
c13829
// Update updates a rig.
c13830
// New determines and returns the correct Installer for the given source
c13831
// isRig checks if the directory contains a "Food" directory.
c13832
// Ohaif displays an informative message.
c13833
// Warningf displays a warning message.
c13834
// NewFromReader reads in an install receipt from an io.Reader. Useful when reading from a file stream.
c13835
// Save writes the install receipt into the given io.Writer.
c13836
// ensureFood checks to see if the default fish food exists. // // If the pack does not exist, this function will create it. // If it does, it will update to the latest.
c13837
// NewLocalInstaller creates a new LocalInstaller
c13838
// Install creates a symlink to the rig directory
c13839
// link creates a symlink from the rig source to the rig directory
c13840
// Uninstall attempts to uninstall the package, returning errors if it fails.
c13841
// Link creates links to any linked resources owned by the package.
c13842
// Unlink removes any linked resources owned by the package.
c13843
// Lint analyses a given fish food for potential errors, returning a list of errors.
c13844
// DownloadTo downloads a particular package to filePath, returning any errors if encountered.
c13845
// downloadCachedFileToPath will download a file from the given url to a directory, returning the // path to the cached file. If it already exists, it'll skip downloading the file and just return // the path to the cached file.
c13846
// Bool extracts a bool the JsonQuery
c13847
// Float extracts a float from the JsonQuery
c13848
// Int extracts an int from the JsonQuery
c13849
// String extracts a string from the JsonQuery
c13850
// Object extracts a json object from the JsonQuery
c13851
// ArrayOfStrings extracts an array of strings from some json
c13852
// ArrayOfInts extracts an array of ints from some json
c13853
// ArrayOfFloats extracts an array of float64s from some json
c13854
// ArrayOfBools extracts an array of bools from some json
c13855
// Recursively query a decoded json blob
c13856
// NewError creates new atomic error object
c13857
// Load atomically loads the wrapped error
c13858
// NewString creates a String.
c13859
// Load atomically loads the wrapped string.
c13860
// Add atomically adds to the wrapped int32 and returns the new value.
c13861
// Sub atomically subtracts from the wrapped int32 and returns the new value.
c13862
// Swap atomically swaps the wrapped int32 and returns the old value.
c13863
// Add atomically adds to the wrapped int64 and returns the new value.
c13864
// Sub atomically subtracts from the wrapped int64 and returns the new value.
c13865
// Swap atomically swaps the wrapped int64 and returns the old value.
c13866
// Add atomically adds to the wrapped uint32 and returns the new value.
c13867
// Sub atomically subtracts from the wrapped uint32 and returns the new value.
c13868
// Swap atomically swaps the wrapped uint32 and returns the old value.
c13869
// Add atomically adds to the wrapped uint64 and returns the new value.
c13870
// Sub atomically subtracts from the wrapped uint64 and returns the new value.
c13871
// Swap atomically swaps the wrapped uint64 and returns the old value.
c13872
// Swap sets the given value and returns the previous value.
c13873
// Add atomically adds to the wrapped float64 and returns the new value.
c13874
// NewDuration creates a Duration.
c13875
// Add atomically adds to the wrapped time.Duration and returns the new value.
c13876
// Sub atomically subtracts from the wrapped time.Duration and returns the new value.
c13877
// Swap atomically swaps the wrapped time.Duration and returns the old value.
c13878
// NewPool returns a new pool.
c13879
// Add a server with rate.
c13880
// Remove a server.
c13881
// Status gets job status from job server. // !!!Not fully tested.!!!
c13882
// Send a something out, get the samething back.
c13883
// Encode a Request to byte slice
c13884
// New returns a client.
c13885
// Status gets job status from job server.
c13886
// Create the agent of job server.
c13887
// read length bytes from the socket
c13888
// Internal write the encoded job.
c13889
// Write with lock
c13890
// Encode a job to byte slice
c13891
// Extract the error message
c13892
// inner error handling
c13893
// Broadcast an outpack to all Gearman server.
c13894
// RemoveFunc removes a function.
c13895
// inner package handling
c13896
// Connect to Gearman server and tell every server // what can this worker do.
c13897
// Main loop, block here // Most of time, this should be evaluated in goroutine.
c13898
// custome handling warper
c13899
// Close connection and exit main loop