Versions in this module Expand all Collapse all v4 v4.0.0 Jun 1, 2022 Changes in this version + const ReqMimeType + const UserAgent + var ErrPEMDecode = errors.New("failed to decode PEM block containing private key") + func NewMTLSTransport(opts ...MTLSOption) http.RoundTripper + type ClientDefaults struct + OrganisationID *strfmt.UUID + func NewClientDefaults() *ClientDefaults + func (*ClientDefaults) GetBool(objectName, attributeName string) bool + func (*ClientDefaults) GetBoolPtr(objectName, attributeName string) *bool + func (*ClientDefaults) GetFloat64(objectName, attributeName string) float64 + func (*ClientDefaults) GetFloat64Ptr(objectName, attributeName string) *float64 + func (*ClientDefaults) GetInt32(objectName, attributeName string) int32 + func (*ClientDefaults) GetInt64(objectName, attributeName string) int64 + func (*ClientDefaults) GetInt64Ptr(objectName, attributeName string) *int64 + func (*ClientDefaults) GetMapStringInterface(objectName, attributeName string) map[string]interface{} + func (*ClientDefaults) GetStrfmtDate(objectName, attributeName string) strfmt.Date + func (*ClientDefaults) GetStrfmtDatePtr(objectName, attributeName string) *strfmt.Date + func (*ClientDefaults) GetStrfmtDateTime(objectName, attributeName string) strfmt.DateTime + func (*ClientDefaults) GetStrfmtDateTimePtr(objectName, attributeName string) *strfmt.DateTime + func (*ClientDefaults) GetStrfmtURI(objectName, attributeName string) strfmt.URI + func (*ClientDefaults) GetStrfmtURIPtr(objectName, attributeName string) *strfmt.URI + func (*ClientDefaults) GetString(objectName, attributeName string) string + func (*ClientDefaults) GetStringArray(objectName, attributeName string) []string + func (*ClientDefaults) GetStringPtr(objectName, attributeName string) *string + func (d *ClientDefaults) GetStrfmtUUID(objectName, attributeName string) strfmt.UUID + func (d *ClientDefaults) GetStrfmtUUIDPtr(objectName, attributeName string) *strfmt.UUID + type ErrMissingEnvVariable struct + func (e *ErrMissingEnvVariable) Error() string + type F3 struct + func New(opts ...Option) (*F3, error) + func NewFromEnv() (*F3, error) + type MTLSOption func(transport *MTLSTransportBuilder) + func WithCertificate(c tls.Certificate) MTLSOption + func WithIgnoreSkipVerify(skip bool) MTLSOption + type MTLSTransportBuilder struct + type Option func(*F3) + func WithBaseURL(u url.URL) Option + func WithHTTPClient(c *http.Client) Option + func WithOrganisationID(u uuid.UUID) Option + func WithRequestSigningTransport(opts ...RequestSigningOption) Option + func WithTokenTransport(opts ...TokenOption) Option + type RequestSigningOption func(*RequestSigningTransport) + func WithPrivateKey(key *rsa.PrivateKey) RequestSigningOption + func WithPublicKeyID(keyID uuid.UUID) RequestSigningOption + func WithUnderlyingRequestSigningTransport(tr http.RoundTripper) RequestSigningOption + type RequestSigningTransport struct + func NewRequestSigningTransport(opts ...RequestSigningOption) *RequestSigningTransport + func (t *RequestSigningTransport) RoundTrip(req *http.Request) (*http.Response, error) + type TokenOption func(*TokenTransport) + func WithClientID(clientID uuid.UUID) TokenOption + func WithClientSecret(secret string) TokenOption + func WithInitialToken(token string) TokenOption + func WithUnderlyingTokenTransport(tr http.RoundTripper) TokenOption + type TokenTransport struct + func NewTokenTransport(opts ...TokenOption) *TokenTransport + func (t *TokenTransport) RoundTrip(req *http.Request) (*http.Response, error) Other modules containing this package github.com/form3tech-oss/go-form3 github.com/form3tech-oss/go-form3/v2 github.com/form3tech-oss/go-form3/v3 github.com/form3tech-oss/go-form3/v5 github.com/form3tech-oss/go-form3/v6