Versions in this module Expand all Collapse all v5 v5.0.0 Mar 28, 2023 Changes in this version + const Version + var ErrInvalidArgument = errors.New("invalid arguments provided") + var ErrMarshaling = errors.New("marshaling input") + var ErrUnmarshaling = errors.New("unmarshaling output") + func ContextWithOptions(ctx context.Context, opts ...ContextOption) context.Context + type ContextOption func(*contextOptions) + func WithContextHeaders(h http.Header) ContextOption + func WithContextLog(l log.Interface) ContextOption + type Option func(*session) + func WithClient(client *http.Client) Option + func WithHTTPTracing(trace bool) Option + func WithLog(l log.Interface) Option + func WithRequestLimit(requestLimit int) Option + func WithSigner(signer edgegrid.Signer) Option + func WithUserAgent(u string) Option + type Session interface + Client func() *http.Client + Exec func(r *http.Request, out interface{}, in ...interface{}) (*http.Response, error) + Log func(ctx context.Context) log.Interface + Sign func(r *http.Request) error + func Must(sess Session, err error) Session + func New(opts ...Option) (Session, error) Other modules containing this package github.com/akamai/AkamaiOPEN-edgegrid-golang/v2 github.com/akamai/AkamaiOPEN-edgegrid-golang/v3 github.com/akamai/AkamaiOPEN-edgegrid-golang/v4 github.com/akamai/AkamaiOPEN-edgegrid-golang/v6 github.com/akamai/AkamaiOPEN-edgegrid-golang/v7 github.com/akamai/AkamaiOPEN-edgegrid-golang/v8 github.com/akamai/AkamaiOPEN-edgegrid-golang/v9