attachment

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(cfg *config.Config)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL