Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshallDebug ¶
func MarshallDebug(x any)
Types ¶
type PastaService ¶
type PastaService struct {
// contains filtered or unexported fields
}
func NewPastaService ¶
func NewPastaService(conf PastaServiceConfig) (*PastaService, error)
func (*PastaService) RegisterIndexHandler ¶
func (p *PastaService) RegisterIndexHandler() (string, http.Handler)
func (*PastaService) RegisterStaticHandler ¶
func (p *PastaService) RegisterStaticHandler() (string, http.Handler)
func (*PastaService) Upload ¶
func (p *PastaService) Upload(ctx context.Context, req *connect.Request[pbv1.UploadRequest]) (*connect.Response[pbv1.UploadResponse], error)
type PastaServiceConfig ¶
type PastaServiceConfig struct { Logger zerolog.Logger FeatureSet *config.FeatureSet }
Click to show internal directories.
Click to hide internal directories.