1 /* 2 * GoBun replay download 3 * 4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 5 * 6 * API version: 0.0.1 7 * Generated by: OpenAPI Generator (https://openapi-generator.tech) 8 */ 9 10 package openapi 11 12 import ( 13 "context" 14 "net/http" 15 ) 16 17 18 19 // DefaultApiRouter defines the required methods for binding the api requests to a responses for the DefaultApi 20 // The DefaultApiRouter implementation should parse necessary information from the http request, 21 // pass the data to a DefaultApiServicer to perform the required actions, then write the service results to the http response. 22 type DefaultApiRouter interface { 23 ReplayIdGet(http.ResponseWriter, *http.Request) 24 StaffGet(http.ResponseWriter, *http.Request) 25 } 26 27 28 // DefaultApiServicer defines the api actions for the DefaultApi service 29 // This interface intended to stay up to date with the openapi yaml used to generate it, 30 // while the service implementation can be ignored with the .openapi-generator-ignore file 31 // and updated with the logic required for the API. 32 type DefaultApiServicer interface { 33 ReplayIdGet(context.Context, string) (ImplResponse, error) 34 StaffGet(context.Context, []string) (ImplResponse, error) 35 } 36