Versions in this module Expand all Collapse all v2 v2.0.0 Sep 17, 2024 Changes in this version + func Compare(t *testing.T, want interface{}, got interface{}) + func NewServer(opts ...func(*http.ServeMux)) (*httptest.Server, func()) + func NewWebsocketServer(opts ...func(*http.ServeMux)) (*httptest.Server, func()) + func Ptr[T any](v T) *T + func WithHandlerOption(path, method string, status int, respBody []byte) func(*http.ServeMux) + func WithWebsocketHandlerOption(path string, respBody []byte) func(*http.ServeMux)