Versions in this module Expand all Collapse all v0 v0.0.1 Sep 26, 2022 Changes in this version + type Header map[string]string + type RequestProtocol interface + Execute func(ctx context.Context) (*Response[DataResponseType], error) + func NewRequest(target Target) RequestProtocol[DataResponseType] + type Response struct + Data T + Status string + StatusCode int + type Target interface + GetBody func() []byte + GetEndpoint func() string + GetHeader func() Header + GetMethod func() string