_id stringlengths 2 7 | text stringlengths 6 2.61k | title stringclasses 1
value |
|---|---|---|
c10500 | // Subscriber returns the subscriber. | |
c10501 | // String returns a readable string representation of a Hello_Echo_Args
// struct. | |
c10502 | // Equals returns true if all the fields of this Hello_Echo_Args match the
// provided Hello_Echo_Args.
//
// This function performs a deep comparison. | |
c10503 | // MarshalLogObject implements zapcore.ObjectMarshaler, enabling
// fast logging of Hello_Echo_Args. | |
c10504 | // GetEcho returns the value of Echo if it is set or its
// zero value if it is unset. | |
c10505 | // Newf returns a new Status.
//
// The Code should never be CodeOK, if it is, this will return nil. | |
c10506 | // FromError returns the Status for the provided error. If the provided error
// is not a Status, a new error with code CodeUnknown is returned.
//
// Returns nil if the provided error is nil. | |
c10507 | // New sets up a new empty Configurator. The returned Configurator does not
// know about any Transports, peer lists, or peer list updaters. | |
c10508 | // RegisterTransport registers a TransportSpec with the Configurator, teaching
// it how to load configuration and build inbounds and outbounds for that
// transport.
//
// An error is returned if the TransportSpec is invalid. Use
// MustRegisterTransport if you want to panic in case of registration failure.
//
// If a... | |
c10509 | // MustRegisterTransport registers the given TransportSpec with the
// Configurator. This function panics if the TransportSpec is invalid. | |
c10510 | // RegisterPeerChooser registers a PeerChooserSpec with the given Configurator,
// teaching it how to build peer choosers of this kind from configuration.
//
// An error is returned if the PeerChooserSpec is invalid. Use
// MustRegisterPeerChooser to panic in the case of registration failure.
//
// If a peer chooser wi... | |
c10511 | // MustRegisterPeerChooser registers the given PeerChooserSpec with the
// Configurator.
// This function panics if the PeerChooserSpec is invalid. | |
c10512 | // RegisterPeerList registers a PeerListSpec with the given Configurator,
// teaching it how to build peer lists of this kind from configuration.
//
// An error is returned if the PeerListSpec is invalid. Use
// MustRegisterPeerList to panic in the case of registration failure.
//
// If a peer list with the same name a... | |
c10513 | // MustRegisterPeerList registers the given PeerListSpec with the Configurator.
// This function panics if the PeerListSpec is invalid. | |
c10514 | // RegisterPeerListUpdater registers a PeerListUpdaterSpec with the given
// Configurator, teaching it how to build peer list updaters of this kind from
// configuration.
//
// Returns an error if the PeerListUpdaterSpec is invalid. Use
// MustRegisterPeerListUpdater to panic if the registration fails.
//
// If a peer... | |
c10515 | // MustRegisterPeerListUpdater registers the given PeerListUpdaterSpec with
// the Configurator. This function panics if the PeerListUpdaterSpec is
// invalid. | |
c10516 | // NewDispatcherFromYAML builds a Dispatcher from the given YAML
// configuration. | |
c10517 | // NewDispatcher builds a new Dispatcher from the given configuration data. | |
c10518 | // Returns the compiled spec for the transport with the given name or an error | |
c10519 | // Phone implements the phone procedure | |
c10520 | // Start starts all required Crossdock test servers | |
c10521 | // Stop stops all required Crossdock test servers | |
c10522 | // AllFunctions returns a list of all functions for this service including
// inherited functions. | |
c10523 | // Parent returns the immediate parent of this service or nil if it doesn't
// have any. | |
c10524 | // ServerPackagePath returns the import path to the server package for this
// service. | |
c10525 | // ParentServerPackagePath returns the import path for the immediate parent
// service's YARPC server package or an empty string if this service doesn't
// extend another service. | |
c10526 | // ParentClientPackagePath returns the import path for the immediate parent
// service's YARPC client package or an empty string if this service doesn't
// extend another service. | |
c10527 | // Run tests a grpc-go call to the yarpc server. | |
c10528 | // Introspect returns detailed information about the dispatcher. This function
// acquires a lots of locks throughout and should only be called with some
// reserve. This method is public merely for use by the package yarpcmeta. The
// result of this function is internal to yarpc anyway. | |
c10529 | // NewHTTPServer wraps the given http.Server into an HTTPServer. | |
c10530 | // Listener returns the listener for this server or nil if the server isn't
// yet listening. | |
c10531 | // Shutdown stops the server. An error is returned if the server stopped
// unexpectedly.
//
// Once a server is stopped, it cannot be started again with ListenAndServe. | |
c10532 | // NewDialer creates a transport that is decorated to retain peers with
// additional gRPC dial options. | |
c10533 | // RetainPeer retains the identified peer, passing dial options. | |
c10534 | // ReleasePeer releases the identified peer. | |
c10535 | // GetValue implements GetValue. | |
c10536 | // SetValue implements SetValue. | |
c10537 | // SetNextError sets the error to return on the next call to KeyValueYARPCServer. | |
c10538 | // NewSinkYARPCServer returns a new SinkYARPCServer. | |
c10539 | // Fire implements Fire. | |
c10540 | // Values returns a copy of the values that have been fired. | |
c10541 | // WaitFireDone blocks until a fire is done, if withFireDone is set.
//
// If will timeout after FireDoneTimeout and return error. | |
c10542 | // EchoOut reads from a stream and echos all requests in the response. | |
c10543 | // EchoIn echos a series of requests back on a stream. | |
c10544 | // EchoBoth immediately echos a request back to the client. | |
c10545 | // NewOutbound builds a new TChannel outbound that selects a peer for each
// request using the given peer chooser. | |
c10546 | // NewSingleOutbound builds a new TChannel outbound always using the peer with
// the given address. | |
c10547 | // Call sends an RPC to this specific peer. | |
c10548 | // callWithPeer sends a request with the chosen peer. | |
c10549 | // Start starts the TChannel outbound. | |
c10550 | // Stop stops the TChannel outbound. | |
c10551 | // ToName gets the procedure name we should use for a method
// with the given service name and method name. | |
c10552 | // FromName gets the service name and method name from a procdure name. | |
c10553 | // New creates a new pending heap. | |
c10554 | // nextRand is a convenience function for creating a new rand.Rand from a given
// seed. | |
c10555 | // String returns a readable string representation of a ResourceDoesNotExist
// struct. | |
c10556 | // Equals returns true if all the fields of this ResourceDoesNotExist match the
// provided ResourceDoesNotExist.
//
// This function performs a deep comparison. | |
c10557 | // MarshalLogObject implements zapcore.ObjectMarshaler, enabling
// fast logging of ResourceDoesNotExist. | |
c10558 | // NewKeyValueYARPCClient builds a new YARPC client for the KeyValue service. | |
c10559 | // BuildKeyValueYARPCProcedures prepares an implementation of the KeyValue service for YARPC registration. | |
c10560 | // NewSinkYARPCClient builds a new YARPC client for the Sink service. | |
c10561 | // BuildSinkYARPCProcedures prepares an implementation of the Sink service for YARPC registration. | |
c10562 | // NewFooYARPCClient builds a new YARPC client for the Foo service. | |
c10563 | // BuildFooYARPCProcedures prepares an implementation of the Foo service for YARPC registration. | |
c10564 | // Seed specifies the seed for generating random choices. | |
c10565 | // Source is a source of randomness for the peer list. | |
c10566 | // New creates a new random peer list. | |
c10567 | // Submit submits a task for execution on the ErrorWaiter.
//
// The function returns immediately. | |
c10568 | // Procedure builds a Procedure from the given raw handler. | |
c10569 | // OnewayProcedure builds a Procedure from the given raw handler | |
c10570 | // SleepRaw responds to raw requests over any transport by sleeping for one
// second. | |
c10571 | // WaitForTimeoutRaw waits after the context deadline then returns the context
// error. yarpc should interpret this as an handler timeout, which in turns
// should be forwarded to the yarpc client as a remote handler timeout. | |
c10572 | // RequestBodyEncodeError builds a YARPC error with code
// yarpcerrors.CodeInvalidArgument that represents a failure to encode
// the request body. | |
c10573 | // RequestHeadersEncodeError builds a YARPC error with code
// yarpcerrors.CodeInvalidArgument that represents a failure to
// encode the request headers. | |
c10574 | // ResponseHeadersDecodeError builds a YARPC error with code
// yarpcerrors.CodeInvalidArgument that represents a failure to
// decode the response headers. | |
c10575 | // readFromStream reads a proto.Message from a stream. | |
c10576 | // writeToStream writes a proto.Message to a stream. | |
c10577 | // NewHandler returns a http.HandlerFunc to expose dispatcher status and package versions. | |
c10578 | // Swap implements the heap.Interface. Do NOT use this method directly. | |
c10579 | // Push implements the heap.Interface. Do NOT use this method directly.
// Use pushPeer instead. | |
c10580 | // Pop implements the heap.Interface. Do NOT use this method directly.
// Use popPeer instead. | |
c10581 | // Bytes generates the given number of random bytes. | |
c10582 | // String generates a random string of the given size. | |
c10583 | // String returns the the string representation of the Code. | |
c10584 | // NewSingleOutbound builds an outbound that sends YARPC requests over HTTP
// to the specified URL.
//
// The URLTemplate option has no effect in this form. | |
c10585 | // Call makes a HTTP request | |
c10586 | // CallOneway makes a oneway request | |
c10587 | // Only does verification if there is a response header | |
c10588 | // String returns a readable string representation of a RPC
// struct. | |
c10589 | // Equals returns true if all the fields of this RPC match the
// provided RPC.
//
// This function performs a deep comparison. | |
c10590 | // MarshalLogObject implements zapcore.ObjectMarshaler, enabling
// fast logging of _Map_String_String_Zapper. | |
c10591 | // MarshalLogObject implements zapcore.ObjectMarshaler, enabling
// fast logging of RPC. | |
c10592 | // GetSpanContext returns the value of SpanContext if it is set or its
// zero value if it is unset. | |
c10593 | // GetCallerName returns the value of CallerName if it is set or its
// zero value if it is unset. | |
c10594 | // GetServiceName returns the value of ServiceName if it is set or its
// zero value if it is unset. | |
c10595 | // GetEncoding returns the value of Encoding if it is set or its
// zero value if it is unset. | |
c10596 | // GetProcedure returns the value of Procedure if it is set or its
// zero value if it is unset. | |
c10597 | // GetHeaders returns the value of Headers if it is set or its
// zero value if it is unset. | |
c10598 | // GetShardKey returns the value of ShardKey if it is set or its
// zero value if it is unset. | |
c10599 | // GetRoutingKey returns the value of RoutingKey if it is set or its
// zero value if it is unset. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.