Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeBody ¶
DecodeBody extracts and base64-decodes the body for a given target ("request" or "response"). Returns the decoded bytes and the content-type header value. Does not filter by content type.
Returns (nil, "", nil) when the entry has no response (target "response") or the body is nil/empty.
func FetchEntry ¶
func FetchEntry(ctx context.Context, c *client.Client, ec *cache.EntryCache, sessionID, entryID string) (*client.SessionEntry, error)
FetchEntry retrieves an entry by ID, checking the cache first. If not cached, it fetches from the API client and caches the result.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.