Documentation
¶
Index ¶
- func Run(ctx context.Context, args []string) error
- type Broker
- type ImageServer
- func (s *ImageServer) LiveStream(req *schema.LiveStreamRequest, stream schema.ImageService_LiveStreamServer) error
- func (s *ImageServer) Start(ctx context.Context) error
- func (s *ImageServer) Stop()
- func (s *ImageServer) StoreRawImage(ctx context.Context, req *schema.StoreRawImageRequest) (*schema.StoreRawImageResponse, error)
- type Options
- type ProcessedImage
- type ProxyServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Broker ¶
type Broker[T any] struct { // contains filtered or unexported fields }
func (*Broker[T]) Unsubscribe ¶
func (b *Broker[T]) Unsubscribe(oldC chan T)
type ImageServer ¶
type ImageServer struct { schema.UnimplementedImageServiceServer // contains filtered or unexported fields }
func NewImageServer ¶
func NewImageServer(opt Options) (*ImageServer, error)
func (*ImageServer) LiveStream ¶
func (s *ImageServer) LiveStream(req *schema.LiveStreamRequest, stream schema.ImageService_LiveStreamServer) error
func (*ImageServer) Stop ¶
func (s *ImageServer) Stop()
func (*ImageServer) StoreRawImage ¶
func (s *ImageServer) StoreRawImage(ctx context.Context, req *schema.StoreRawImageRequest) (*schema.StoreRawImageResponse, error)
type ProxyServer ¶
type ProxyServer struct {
// contains filtered or unexported fields
}
func NewProxyServer ¶
func NewProxyServer(opt Options) *ProxyServer
func (*ProxyServer) Start ¶
func (s *ProxyServer) Start() error
func (*ProxyServer) Stop ¶
func (s *ProxyServer) Stop()
Click to show internal directories.
Click to hide internal directories.