Documentation ¶
Index ¶
- func Serve(cfg *config.Config)
- type Server
- func (p *Server) AppendAttachment(ctx context.Context, req *pb.AppendAttachmentRequest) (*pb.AppendAttachmentResponse, error)
- func (p *Server) CreateAttachment(ctx context.Context, req *pb.CreateAttachmentRequest) (*pb.CreateAttachmentResponse, error)
- func (p *Server) DeleteAttachments(ctx context.Context, req *pb.DeleteAttachmentsRequest) (*pb.DeleteAttachmentsResponse, error)
- func (p *Server) GetAttachment(ctx context.Context, req *pb.GetAttachmentRequest) (*pb.GetAttachmentResponse, error)
- func (p *Server) GetAttachments(ctx context.Context, req *pb.GetAttachmentsRequest) (*pb.GetAttachmentsResponse, error)
- func (p *Server) ReplaceAttachment(ctx context.Context, req *pb.ReplaceAttachmentRequest) (*pb.ReplaceAttachmentResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct { }
func (*Server) AppendAttachment ¶
func (p *Server) AppendAttachment(ctx context.Context, req *pb.AppendAttachmentRequest) (*pb.AppendAttachmentResponse, error)
func (*Server) CreateAttachment ¶
func (p *Server) CreateAttachment(ctx context.Context, req *pb.CreateAttachmentRequest) (*pb.CreateAttachmentResponse, error)
func (*Server) DeleteAttachments ¶
func (p *Server) DeleteAttachments(ctx context.Context, req *pb.DeleteAttachmentsRequest) (*pb.DeleteAttachmentsResponse, error)
func (*Server) GetAttachment ¶
func (p *Server) GetAttachment(ctx context.Context, req *pb.GetAttachmentRequest) (*pb.GetAttachmentResponse, error)
func (*Server) GetAttachments ¶
func (p *Server) GetAttachments(ctx context.Context, req *pb.GetAttachmentsRequest) (*pb.GetAttachmentsResponse, error)
func (*Server) ReplaceAttachment ¶
func (p *Server) ReplaceAttachment(ctx context.Context, req *pb.ReplaceAttachmentRequest) (*pb.ReplaceAttachmentResponse, error)
Click to show internal directories.
Click to hide internal directories.