funcs.go 490 B

1234567891011
  1. package apis
  2. import "context"
  3. type Funcs interface {
  4. AdminRegister(ctx context.Context, req *AdminRegisterReq, reply *AdminRegisterReply) error
  5. AdminDelete(ctx context.Context, req *AdminDeleteReq, reply *AdminDeleteReply) error
  6. AdminModify(ctx context.Context, req *AdminModifyReq, reply *AdminModifyReply) error
  7. AdminGetAll(ctx context.Context, req *AdminGetAllReq, reply *AdminGetAllReply) error
  8. AdminLogin(ctx context.Context, req *AdminLoginReq, reply *AdminLoginReply) error
  9. }