Documentation ¶
Index ¶
Constants ¶
View Source
const CtxKey = contextKey("console-logs")
CtxKey is a key against which api request will get stored in the context.
Variables ¶
This section is empty.
Functions ¶
func FromContext ¶
FromContext retrieves the logs saved in the context.
func LimitConsoleString ¶
LimitConsoleString truncates the data if the string is more than 10KB and returns a new string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.