Documentation ¶
Index ¶
- func NewServer(logger *slog.Logger, fsys writablefs.FS) (string, http.Handler)
- type Server
- func (s *Server) MkdirAll(ctx context.Context, req *connect.Request[wrapperspb.StringValue]) (*connect.Response[emptypb.Empty], error)
- func (s *Server) ReadDir(ctx context.Context, req *connect.Request[v1alpha1.ReadDirRequest]) (*connect.Response[v1alpha1.ReadDirResponse], error)
- func (s *Server) RemoveAll(ctx context.Context, req *connect.Request[wrapperspb.StringValue]) (*connect.Response[emptypb.Empty], error)
- func (s *Server) Stat(ctx context.Context, req *connect.Request[wrapperspb.StringValue]) (*connect.Response[v1alpha1.FileInfo], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.