rpc

package
v0.0.0-...-94846b0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckUser

func CheckUser(ctx context.Context, req *userdemo.CheckUserRequest) (int64, error)

CheckUser check user info

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 InitRPC

func InitRPC()

InitRPC init rpc client

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.

Jump to

Keyboard shortcuts

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