Documentation ¶
Index ¶
- type Controller
- func (s *Controller) AddFile(ctx context.Context, r *pb.AddFileRequest) (*pb.AddFileReply, error)
- func (s *Controller) AllFileNames(_ context.Context, _ *pb.Void) (*pb.AllFileNamesReply, error)
- func (s *Controller) Close() error
- func (s *Controller) File(_ context.Context, r *pb.FileRequest) (*pb.FileReply, error)
- func (s *Controller) UpdateToFileStr(_ *pb.UpdateToFileStrRequest, r pb.Repo_UpdateToFileStrServer) error
- type Options
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func (*Controller) AddFile ¶
func (s *Controller) AddFile(ctx context.Context, r *pb.AddFileRequest) (*pb.AddFileReply, error)
func (*Controller) AllFileNames ¶
func (s *Controller) AllFileNames(_ context.Context, _ *pb.Void) (*pb.AllFileNamesReply, error)
func (*Controller) Close ¶
func (s *Controller) Close() error
func (*Controller) File ¶
func (s *Controller) File(_ context.Context, r *pb.FileRequest) (*pb.FileReply, error)
func (*Controller) UpdateToFileStr ¶
func (s *Controller) UpdateToFileStr(_ *pb.UpdateToFileStrRequest, r pb.Repo_UpdateToFileStrServer) error
Click to show internal directories.
Click to hide internal directories.