Versions in this module Expand all Collapse all v1 v1.0.0 Sep 2, 2017 Changes in this version + const Version + func Invoke(ctx context.Context, call APICall, opts ...CallOption) error + func Sleep(ctx context.Context, d time.Duration) error + func XGoogHeader(keyval ...string) string + type APICall func(context.Context, CallSettings) error + type Backoff struct + Initial time.Duration + Max time.Duration + Multiplier float64 + func (bo *Backoff) Pause() time.Duration + type CallOption interface + Resolve func(cs *CallSettings) + func WithGRPCOptions(opt ...grpc.CallOption) CallOption + func WithRetry(fn func() Retryer) CallOption + type CallSettings struct + GRPC []grpc.CallOption + Retry func() Retryer + type ParseError struct + Message string + Pos int + Template string + func (pe ParseError) Error() string + type PathTemplate struct + func MustCompilePathTemplate(template string) *PathTemplate + func NewPathTemplate(template string) (*PathTemplate, error) + func (pt *PathTemplate) Match(path string) (map[string]string, error) + func (pt *PathTemplate) Render(binding map[string]string) (string, error) + type Retryer interface + Retry func(err error) (pause time.Duration, shouldRetry bool) + func OnCodes(cc []codes.Code, bo Backoff) Retryer Incompatible versions in this module v2.0.0+incompatible Sep 15, 2017