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