pusher/biz/service/add.go
2024-05-17 18:02:10 +08:00

23 lines
402 B
Go

package service
import (
"context"
config "gitea.timerzz.com/kedaya_haitao/pusher/kitex_gen/config"
)
type AddService struct {
ctx context.Context
}
// NewAddService new AddService
func NewAddService(ctx context.Context) *AddService {
return &AddService{ctx: ctx}
}
// Run create note info
func (s *AddService) Run(req *config.PushConfig) error {
// Finish your business logic.
return nil
}