Documentation ¶
Index ¶
- 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWebsocketServer ¶
NewWebsocketServer :
func WithHandlerOption ¶
WithHandlerOption :
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.