Documentation ¶
Index ¶
- func AddAuthenticatedUsers(count int)
- func AddCachedUsers(count int)
- func AddFollows(count int)
- func AddLikes(count int, targetType string)
- func AddPlaylists(count int)
- func AddSongs(count int)
- func CompleteCache()
- func FailCache(err error)
- func HandleError(bubbledErr StatusError, r *http.Request, b []byte, t time.Time)
- func LogFetch(r *http.Request)
- func LogFetchCompleted(resp *http.Response, b []byte, t time.Time)
- func LogFetchErrored(r *http.Request, resp *http.Response)
- func LogRequest(r *http.Request, b []byte)
- func LogRequestCompletion(w bytes.Buffer, r *http.Request, t time.Time)
- func ServeLogs()
- func WebsocketError(err error)
- func WebsocketMessage(msgType string, sender string, content string)
- type StatusError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAuthenticatedUsers ¶
func AddAuthenticatedUsers(count int)
func AddCachedUsers ¶
func AddCachedUsers(count int)
func AddFollows ¶
func AddFollows(count int)
func AddPlaylists ¶
func AddPlaylists(count int)
func CompleteCache ¶
func CompleteCache()
func HandleError ¶
func LogRequest ¶
func WebsocketError ¶
func WebsocketError(err error)
func WebsocketMessage ¶
Types ¶
type StatusError ¶
func SE ¶
func SE(code int, err error) *StatusError
Click to show internal directories.
Click to hide internal directories.