26 lines
856 B
Go
26 lines
856 B
Go
package server
|
|
|
|
import (
|
|
"context"
|
|
|
|
"connectrpc.com/connect"
|
|
"github.com/tigorlazuardi/bluemage/go/api"
|
|
images "github.com/tigorlazuardi/bluemage/go/gen/proto/images/v1"
|
|
)
|
|
|
|
type ImageHandler struct {
|
|
API *api.API
|
|
}
|
|
|
|
func (im *ImageHandler) ListImages(ctx context.Context, request *connect.Request[images.ListImagesRequest]) (*connect.Response[images.ListImagesResponse], error) {
|
|
panic("not implemented") // TODO: Implement
|
|
}
|
|
|
|
func (im *ImageHandler) DeleteImages(ctx context.Context, request *connect.Request[images.DeleteImagesRequest]) (*connect.Response[images.DeleteImagesResponse], error) {
|
|
panic("not implemented") // TODO: Implement
|
|
}
|
|
|
|
func (im *ImageHandler) GetImage(ctx context.Context, request *connect.Request[images.GetImageRequest]) (*connect.Response[images.GetImageResponse], error) {
|
|
panic("not implemented") // TODO: Implement
|
|
}
|