Documentation ¶
Index ¶
- type Builder
- func (req *Builder) AppendMetadata(k string, v ...string) *Builder
- func (req *Builder) ApplicationId(appId int) *Builder
- func (req *Builder) Do(ctx context.Context) error
- func (req *Builder) JsonRequestBody(reqBody any) *Builder
- func (req *Builder) JsonResponseBody(respPtr any) *Builder
- func (req *Builder) Timeout(timeout time.Duration) *Builder
- type Middleware
- type RoundTripper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
func NewBuilder ¶
func NewBuilder(roundTripper RoundTripper, endpoint string) *Builder
func (*Builder) ApplicationId ¶
func (*Builder) JsonRequestBody ¶
func (*Builder) JsonResponseBody ¶
type Middleware ¶
type Middleware func(next RoundTripper) RoundTripper
Click to show internal directories.
Click to hide internal directories.