Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestServer ¶
TestServer wraps an HTTP server for testing schema resolution
func StartTestServer ¶
func StartTestServer() (*TestServer, error)
StartTestServer starts a test HTTP server serving JSON schemas
func (*TestServer) SchemaURL ¶
func (ts *TestServer) SchemaURL(path string) string
SchemaURL returns the full URL for a schema file
func (*TestServer) Stop ¶
func (ts *TestServer) Stop() error
Stop gracefully shuts down the test server
Click to show internal directories.
Click to hide internal directories.