Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExposeMiddleware ¶
ExposeMiddleware adds the http.Request and http.ResponseWriter to the context for the Operations handler.
Types ¶
type ExportInput ¶ added in v0.2.11
type ExportInput struct {
Auth string `header:"Authorization" doc:"nostr nip-98 (and expiring variant)" required:"true"`
}
ExportInput is the parameters for the HTTP API Export method.
type ExportOutput ¶ added in v0.2.11
type ExportOutput struct{ RawBody []byte }
ExportOutput is the return value of Export. It usually will be line structured JSON. In future there may be more output formats.
type Operations ¶
func (*Operations) RegisterExport ¶ added in v0.2.11
func (x *Operations) RegisterExport(api huma.API)
RegisterExport implements the Export HTTP API method.
Click to show internal directories.
Click to hide internal directories.