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