package
0.0.0-20231019151736-3db3bfe6061f
Repository: https://github.com/42loco42/emo.git
Documentation: pkg.go.dev
# Functions
NewClient initializes new Client defined by OAS.
NewOptSongsPostReq returns new OptSongsPostReq with value set to v.
NewOptStat returns new OptStat with value set to v.
NewOptUser returns new OptUser with value set to v.
NewServer creates new Server.
WithClient specifies http client to use.
WithErrorHandler specifies error handler to use.
WithMaxMultipartMemory specifies limit of memory for storing file parts.
WithMeterProvider specifies a meter provider to use for creating a meter.
WithMethodNotAllowed specifies Method Not Allowed handler to use.
WithMiddleware specifies middlewares to use.
WithNotFound specifies Not Found handler to use.
WithPathPrefix specifies server path prefix.
WithServerURL sets context key to override server URL.
WithTracerProvider specifies a tracer provider to use for creating a tracer.
# Structs
Client implements OAS client.
No description provided by the author
ErrorStatusCode wraps Error with StatusCode.
No description provided by the author
LoginUserGetParams is parameters of GET /login/{user} operation.
OptSongsPostReq is optional SongsPostReq.
OptStat is optional Stat.
OptUser is optional User.
Route is route object.
Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.
Ref: #/components/schemas/Song.
SongsNameDeleteOK is response for SongsNameDelete operation.
SongsNameDeleteParams is parameters of DELETE /songs/{name} operation.
Ref: #/components/schemas/SongFile.
SongsNameFileGetParams is parameters of GET /songs/{name}/file operation.
SongsNameGetParams is parameters of GET /songs/{name} operation.
SongsPostOK is response for SongsPost operation.
No description provided by the author
Ref: #/components/schemas/Stat.
StatsBulkaddPostOK is response for StatsBulkaddPost operation.
StatsIDDeleteOK is response for StatsIDDelete operation.
StatsIDDeleteParams is parameters of DELETE /stats/{id} operation.
StatsIDGetParams is parameters of GET /stats/{id} operation.
StatsSongSongGetParams is parameters of GET /stats/song/{song} operation.
StatsUserUserGetParams is parameters of GET /stats/user/{user} operation.
Ref: #/components/schemas/User.
UsersNameDeleteOK is response for UsersNameDelete operation.
UsersNameDeleteParams is parameters of DELETE /users/{name} operation.
UsersNameGetParams is parameters of GET /users/{name} operation.
UsersPostOK is response for UsersPost operation.
# Interfaces
ClientOption is client config option.
Handler handles operations described by OpenAPI v3 specification.
Invoker invokes operations described by OpenAPI v3 specification.
Option is config option.
ServerOption is server config option.
# Type aliases
ErrorHandler is error handler.
Middleware is middleware type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author