service

package
v0.0.0-...-2486f02 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateNoteService

type CreateNoteService struct {
	// contains filtered or unexported fields
}

func NewCreateNoteService

func NewCreateNoteService(ctx context.Context) *CreateNoteService

NewCreateNoteService new CreateNoteService

func (*CreateNoteService) CreateNote

func (s *CreateNoteService) CreateNote(req *demonote.CreateNoteRequest) error

CreateNote create note info

type DelNoteService

type DelNoteService struct {
	// contains filtered or unexported fields
}

func NewDelNoteService

func NewDelNoteService(ctx context.Context) *DelNoteService

NewDelNoteService new DelNoteService

func (*DelNoteService) DelNote

DelNote delete note info

type MGetNoteService

type MGetNoteService struct {
	// contains filtered or unexported fields
}

func NewMGetNoteService

func NewMGetNoteService(ctx context.Context) *MGetNoteService

NewMGetNoteService new MGetNoteService

func (*MGetNoteService) MGetNote

func (s *MGetNoteService) MGetNote(req *demonote.MGetNoteRequest) ([]*demonote.Note, error)

MGetNote multiple get list of note info

type QueryNoteService

type QueryNoteService struct {
	// contains filtered or unexported fields
}

func NewQueryNoteService

func NewQueryNoteService(ctx context.Context) *QueryNoteService

NewQueryNoteService new QueryNoteService

func (*QueryNoteService) QueryNoteService

func (s *QueryNoteService) QueryNoteService(req *demonote.QueryNoteRequest) ([]*demonote.Note, int64, error)

QueryNoteService query list of note info

type UpdateNoteService

type UpdateNoteService struct {
	// contains filtered or unexported fields
}

func NewUpdateNoteService

func NewUpdateNoteService(ctx context.Context) *UpdateNoteService

NewUpdateNoteService new UpdateNoteService

func (*UpdateNoteService) UpdateNote

func (s *UpdateNoteService) UpdateNote(req *demonote.UpdateNoteRequest) error

UpdateNote update note info

Jump to

Keyboard shortcuts

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