21 lines
514 B
Go
21 lines
514 B
Go
package service
|
|
|
|
import (
|
|
"context"
|
|
auth "github.com/suyiiyii/hertz101/app/auth/kitex_gen/auth"
|
|
)
|
|
|
|
type VerifyTokenByRPCService struct {
|
|
ctx context.Context
|
|
} // NewVerifyTokenByRPCService new VerifyTokenByRPCService
|
|
func NewVerifyTokenByRPCService(ctx context.Context) *VerifyTokenByRPCService {
|
|
return &VerifyTokenByRPCService{ctx: ctx}
|
|
}
|
|
|
|
// Run create note info
|
|
func (s *VerifyTokenByRPCService) Run(req *auth.VerifyTokenReq) (resp *auth.VerifyResp, err error) {
|
|
// Finish your business logic.
|
|
|
|
return
|
|
}
|