Categorygithub.com/yarpc/yarpc-go
modulepackage
0.5.0
Repository: https://github.com/yarpc/yarpc-go.git
Documentation: pkg.go.dev

# README

yarpc-go GoDoc Build Status Coverage Status

A transport and encoding agnostic RPC framework.

Installation

go get -u go.uber.org/yarpc

If using Glide, at least glide version 0.12 is required to install:

$ glide --version
glide version 0.12.2

$ glide get 'go.uber.org/yarpc#~0.4'

Development Status: Alpha

Ready for adventurous users and early adopters, but there will likely be a few breaking changes and features required before releasing version 1.0.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package transport implements the low level concerns of sending and receiving bytes.
Package yarpctest provides utilities to test YARPC services and clients.

# Functions

CanonicalizeHeaderKey canonicalizes the given header key for storage into the Headers map.
Filters combines the given collection of filters in-order into a single Filter.
InjectClients injects clients from the given Dispatcher into the given struct.
Interceptors combines the given collection of interceptors in-order into a single Interceptor.
NewDispatcher builds a new Dispatcher using the specified Config.
NewHeaders builds a new Headers object.
NewReqMeta constructs a CallReqMeta with the given Context.
NewResMeta constructs a ResMeta.
RegisterClientBuilder registers a builder function for a specific client type.

# Constants

Version is the current version of YARPC.

# Structs

Config specifies the parameters of a new RPC constructed via New.

# Interfaces

CallReqMeta contains information about an outgoing YARPC request.
CallResMeta contains information about an incoming YARPC response.
Dispatcher object is used to configure a YARPC application; it is used by Clients to send RPCs, and by Procedures to recieve them.
ReqMeta contains information about an incoming YARPC request.
ResMeta contains information about an outgoing YARPC response.

# Type aliases

Headers defines application headers which will be sent over the wire to the recipient of an RPC call.
Inbounds contains a list of inbound transports.
Outbounds encapsulates a service and its outbounds.