feat: init
This commit is contained in:
parent
7688020b52
commit
6302dd62d6
33 changed files with 6027 additions and 0 deletions
76
pkg/rest/oas_unimplemented_gen.go
Normal file
76
pkg/rest/oas_unimplemented_gen.go
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
// 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue