Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davemachado/public-api
/ types & classes
Types & classes
7 in github.com/davemachado/public-api
⨍
Functions
28
◇
Types & classes
7
Struct
Categories
Categories contains a set of category strings, and a count representing the length of that array.
handlers.go:26
Struct
Entries
Entries contains an array of API entries, and a count representing the length of that array.
handlers.go:21
Struct
Entry
Entry describes a single API reference.
handlers.go:31
Struct
Logger
Logger is a HTTP middleware handler that logs a request. Outputted information includes status, method, URL, remote address, size, and the time it too
logger.go:28
Struct
Options
Options is a struct for specifying configuration parameters for the Logger middleware.
logger.go:13
Struct
SearchRequest
SearchRequest describes an incoming search request.
handlers.go:12
Struct
customResponseWriter
customResponseWriter is a wrapper around golang's standard ResponseWriter to include a status code and response size
logger.go:33