Documentation
¶
Index ¶
- func CheckUser(ctx context.Context, req *demouser.CheckUserRequest) (int64, error)
- func CreateNote(ctx context.Context, req *demonote.CreateNoteRequest) error
- func CreateUser(ctx context.Context, req *demouser.CreateUserRequest) error
- func DeleteNote(ctx context.Context, req *demonote.DeleteNoteRequest) error
- func Init()
- func QueryNotes(ctx context.Context, req *demonote.QueryNoteRequest) ([]*demonote.Note, int64, error)
- func UpdateNote(ctx context.Context, req *demonote.UpdateNoteRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNote ¶
func CreateNote(ctx context.Context, req *demonote.CreateNoteRequest) error
CreateNote create note info
func CreateUser ¶
func CreateUser(ctx context.Context, req *demouser.CreateUserRequest) error
CreateUser create user info
func DeleteNote ¶
func DeleteNote(ctx context.Context, req *demonote.DeleteNoteRequest) error
DeleteNote delete note info
func QueryNotes ¶
func QueryNotes(ctx context.Context, req *demonote.QueryNoteRequest) ([]*demonote.Note, int64, error)
QueryNotes query list of note info
func UpdateNote ¶
func UpdateNote(ctx context.Context, req *demonote.UpdateNoteRequest) error
UpdateNote update note info
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.