Documentation ¶
Index ¶
- func SetServerConf(conf *settings.Server)
- func SetStorage(d *h.PythonData)
- type Server
- func (s *Server) DownloadFile(in *fb.DownloadFileRequest, stream fb.FileBrowserRpcService_DownloadFileServer) error
- func (s *Server) FileList(ctx context.Context, in *fb.FileListRequest) (*fb.FileListReply, error)
- func (s *Server) Login(ctx context.Context, in *fb.LoginRequest) (*fb.LoginReply, error)
- func (s *Server) UploadFile(stream fb.FileBrowserRpcService_UploadFileServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetServerConf ¶
func SetStorage ¶
func SetStorage(d *h.PythonData)
Types ¶
type Server ¶
type Server struct {
fb.UnimplementedFileBrowserRpcServiceServer
}
func (*Server) DownloadFile ¶
func (s *Server) DownloadFile(in *fb.DownloadFileRequest, stream fb.FileBrowserRpcService_DownloadFileServer) error
func (*Server) FileList ¶
func (s *Server) FileList(ctx context.Context, in *fb.FileListRequest) (*fb.FileListReply, error)
func (*Server) Login ¶
func (s *Server) Login(ctx context.Context, in *fb.LoginRequest) (*fb.LoginReply, error)
func (*Server) UploadFile ¶
func (s *Server) UploadFile(stream fb.FileBrowserRpcService_UploadFileServer) error
Click to show internal directories.
Click to hide internal directories.