feat: logging
This commit is contained in:
parent
778d5ef146
commit
fe5e40162b
10 changed files with 151 additions and 75 deletions
|
|
@ -17,7 +17,7 @@ var _ Handler = UnimplementedHandler{}
|
|||
//
|
||||
// Get available satellites.
|
||||
//
|
||||
// GET /satellite
|
||||
// GET /api/v1/satellite
|
||||
func (UnimplementedHandler) GetSatellites(ctx context.Context) (r *GetSatellitesOK, _ error) {
|
||||
return r, ht.ErrNotImplemented
|
||||
}
|
||||
|
|
@ -26,7 +26,7 @@ func (UnimplementedHandler) GetSatellites(ctx context.Context) (r *GetSatellites
|
|||
//
|
||||
// Get available stations.
|
||||
//
|
||||
// GET /station
|
||||
// GET /api/v1/station
|
||||
func (UnimplementedHandler) GetStations(ctx context.Context) (r *GetStationsOK, _ error) {
|
||||
return r, ht.ErrNotImplemented
|
||||
}
|
||||
|
|
@ -35,7 +35,7 @@ func (UnimplementedHandler) GetStations(ctx context.Context) (r *GetStationsOK,
|
|||
//
|
||||
// Get current subscriptions.
|
||||
//
|
||||
// GET /subscription
|
||||
// GET /api/v1/subscription
|
||||
func (UnimplementedHandler) GetSubscriptions(ctx context.Context) (r *GetSubscriptionsOK, _ error) {
|
||||
return r, ht.ErrNotImplemented
|
||||
}
|
||||
|
|
@ -44,7 +44,7 @@ func (UnimplementedHandler) GetSubscriptions(ctx context.Context) (r *GetSubscri
|
|||
//
|
||||
// Subscribe to a given station.
|
||||
//
|
||||
// POST /satellite/subscribe
|
||||
// POST /api/v1/satellite/subscribe
|
||||
func (UnimplementedHandler) SubscribeSatellite(ctx context.Context, req *SubscribeSatelliteReq) (r *SubscribeSatelliteOK, _ error) {
|
||||
return r, ht.ErrNotImplemented
|
||||
}
|
||||
|
|
@ -53,7 +53,7 @@ func (UnimplementedHandler) SubscribeSatellite(ctx context.Context, req *Subscri
|
|||
//
|
||||
// Subscribe to a given station.
|
||||
//
|
||||
// POST /station/subscribe
|
||||
// POST /api/v1/station/subscribe
|
||||
func (UnimplementedHandler) SubscribeStation(ctx context.Context, req *SubscribeStationReq) (r *SubscribeStationOK, _ error) {
|
||||
return r, ht.ErrNotImplemented
|
||||
}
|
||||
|
|
@ -62,7 +62,7 @@ func (UnimplementedHandler) SubscribeStation(ctx context.Context, req *Subscribe
|
|||
//
|
||||
// Remove subscription by subscription ID.
|
||||
//
|
||||
// DELETE /subscription
|
||||
// DELETE /api/v1/subscription
|
||||
func (UnimplementedHandler) Unsubscribe(ctx context.Context, params UnsubscribeParams) error {
|
||||
return ht.ErrNotImplemented
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue