Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterFromFS ¶
RegisterFromFS registers all .json specs from an embedded FS directory.
func ServeIndex ¶
func ServeIndex(reg *Registry) http.HandlerFunc
func ServeSpec ¶
func ServeSpec(reg *Registry) http.HandlerFunc
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func NewRegistry() *Registry
Click to show internal directories.
Click to hide internal directories.