feat: init
This commit is contained in:
parent
7688020b52
commit
6302dd62d6
33 changed files with 6027 additions and 0 deletions
43
internal/transport/rest/handler.go
Normal file
43
internal/transport/rest/handler.go
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
package rest
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
api "git.intra.yksa.space/gsn/gsn-proxy/pkg/rest"
|
||||
)
|
||||
|
||||
var (
|
||||
_ api.Handler = (*Handler)(nil)
|
||||
)
|
||||
|
||||
type Handler struct {
|
||||
svc Service
|
||||
}
|
||||
|
||||
func (h *Handler) GetSatellites(ctx context.Context) (*api.GetSatellitesOK, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
func (h *Handler) GetStations(ctx context.Context) (*api.GetStationsOK, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
func (h *Handler) GetSubscriptions(ctx context.Context) (*api.GetSubscriptionsOK, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
func (h *Handler) SubscribeSatellite(ctx context.Context, req *api.SubscribeSatelliteReq) (*api.SubscribeSatelliteOK, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
func (h *Handler) SubscribeStation(ctx context.Context, req *api.SubscribeStationReq) (*api.SubscribeStationOK, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
func (h *Handler) Unsubscribe(ctx context.Context, params api.UnsubscribeParams) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (h *Handler) NewError(ctx context.Context, err error) *api.ErrorStatusCode {
|
||||
return nil
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue