/*
 * MEC On-boarded Demo 4 API
 *
 * Demo 4 is an device application that can be instanciated over the UE Application interface
 *
 * API version: 0.0.1
 * Generated by: OpenAPI Generator (https://openapi-generator.tech)
 */

package server

import (
	"context"
	"net/http"
)

// FrontendApiRouter defines the required methods for binding the api requests to a responses for the FrontendApi
// The FrontendApiRouter implementation should parse necessary information from the http request,
// pass the data to a FrontendApiServicer to perform the required actions, then write the service results to the http response.
type FrontendApiRouter interface {
	Ping(http.ResponseWriter, *http.Request)
	Terminate(http.ResponseWriter, *http.Request)
}

// FrontendApiServicer defines the api actions for the FrontendApi service
// This interface intended to stay up to date with the openapi yaml used to generate it,
// while the service implementation can ignored with the .openapi-generator-ignore file
// and updated with the logic required for the API.
type FrontendApiServicer interface {
	Ping(context.Context) (interface{}, error)
	Terminate(context.Context) (interface{}, error)
}
