Documentation
¶
Index ¶
- type EnvelopeService
- func (es *EnvelopeService) CreateEnvelope(ctx context.Context, req *envelope.CreateEnvelopeRequest) (int64, error)
- func (es *EnvelopeService) DeleteEnvelope(ctx context.Context, msgID int64) error
- func (es *EnvelopeService) GetData(ctx context.Context, att *envelope.Attachment) ([]byte, error)
- func (es *EnvelopeService) GetDataSize(ctx context.Context) (int64, error)
- func (es *EnvelopeService) GetEnvelope(ctx context.Context, msgID int64) (*envelope.Envelope, error)
- func (es *EnvelopeService) ListAttachment(ctx context.Context, page *paginate.Page) ([]envelope.Attachment, error)
- func (es *EnvelopeService) ListEnvelope(ctx context.Context, page *paginate.Page) ([]envelope.Envelope, error)
- type Event
- type Pub
- type Topic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvelopeService ¶
type EnvelopeService struct {
// contains filtered or unexported fields
}
func NewEnvelopeService ¶
func NewEnvelopeService(envelopeService envelope.Service, pub *Pub) *EnvelopeService
func (*EnvelopeService) CreateEnvelope ¶
func (es *EnvelopeService) CreateEnvelope(ctx context.Context, req *envelope.CreateEnvelopeRequest) (int64, error)
func (*EnvelopeService) DeleteEnvelope ¶
func (es *EnvelopeService) DeleteEnvelope(ctx context.Context, msgID int64) error
func (*EnvelopeService) GetData ¶
func (es *EnvelopeService) GetData(ctx context.Context, att *envelope.Attachment) ([]byte, error)
func (*EnvelopeService) GetDataSize ¶
func (es *EnvelopeService) GetDataSize(ctx context.Context) (int64, error)
func (*EnvelopeService) GetEnvelope ¶
func (*EnvelopeService) ListAttachment ¶
func (es *EnvelopeService) ListAttachment(ctx context.Context, page *paginate.Page) ([]envelope.Attachment, error)
func (*EnvelopeService) ListEnvelope ¶
Click to show internal directories.
Click to hide internal directories.