76 lines
2 KiB
Go
76 lines
2 KiB
Go
// Code generated by ogen, DO NOT EDIT.
|
|
|
|
package gsn
|
|
|
|
import (
|
|
"context"
|
|
|
|
ht "github.com/ogen-go/ogen/http"
|
|
)
|
|
|
|
// UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
|
|
type UnimplementedHandler struct{}
|
|
|
|
var _ Handler = UnimplementedHandler{}
|
|
|
|
// GetSatellites implements GetSatellites operation.
|
|
//
|
|
// Get available satellites.
|
|
//
|
|
// GET /satellite
|
|
func (UnimplementedHandler) GetSatellites(ctx context.Context) (r *GetSatellitesOK, _ error) {
|
|
return r, ht.ErrNotImplemented
|
|
}
|
|
|
|
// GetStations implements GetStations operation.
|
|
//
|
|
// Get available stations.
|
|
//
|
|
// GET /station
|
|
func (UnimplementedHandler) GetStations(ctx context.Context) (r *GetStationsOK, _ error) {
|
|
return r, ht.ErrNotImplemented
|
|
}
|
|
|
|
// GetSubscriptions implements GetSubscriptions operation.
|
|
//
|
|
// Get current subscriptions.
|
|
//
|
|
// GET /subscription
|
|
func (UnimplementedHandler) GetSubscriptions(ctx context.Context) (r *GetSubscriptionsOK, _ error) {
|
|
return r, ht.ErrNotImplemented
|
|
}
|
|
|
|
// SubscribeSatellite implements SubscribeSatellite operation.
|
|
//
|
|
// Subscribe to a given station.
|
|
//
|
|
// POST /satellite/subscribe
|
|
func (UnimplementedHandler) SubscribeSatellite(ctx context.Context, req *SubscribeSatelliteReq) (r *SubscribeSatelliteOK, _ error) {
|
|
return r, ht.ErrNotImplemented
|
|
}
|
|
|
|
// SubscribeStation implements SubscribeStation operation.
|
|
//
|
|
// Subscribe to a given station.
|
|
//
|
|
// POST /station/subscribe
|
|
func (UnimplementedHandler) SubscribeStation(ctx context.Context, req *SubscribeStationReq) (r *SubscribeStationOK, _ error) {
|
|
return r, ht.ErrNotImplemented
|
|
}
|
|
|
|
// Unsubscribe implements Unsubscribe operation.
|
|
//
|
|
// Remove subscription by subscription ID.
|
|
//
|
|
// DELETE /subscription
|
|
func (UnimplementedHandler) Unsubscribe(ctx context.Context, params UnsubscribeParams) error {
|
|
return ht.ErrNotImplemented
|
|
}
|
|
|
|
// NewError creates *ErrorStatusCode from error returned by handler.
|
|
//
|
|
// Used for common default response.
|
|
func (UnimplementedHandler) NewError(ctx context.Context, err error) (r *ErrorStatusCode) {
|
|
r = new(ErrorStatusCode)
|
|
return r
|
|
}
|