21 lines
422 B
Go
21 lines
422 B
Go
|
package service
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
push "gitea.timerzz.com/kedaya_haitao/pusher/kitex_gen/push"
|
||
|
)
|
||
|
|
||
|
type PushService struct {
|
||
|
ctx context.Context
|
||
|
} // NewPushService new PushService
|
||
|
func NewPushService(ctx context.Context) *PushService {
|
||
|
return &PushService{ctx: ctx}
|
||
|
}
|
||
|
|
||
|
// Run create note info
|
||
|
func (s *PushService) Run(req *push.PushReq) (resp *push.PushResp, err error) {
|
||
|
// Finish your business logic.
|
||
|
|
||
|
return
|
||
|
}
|