blob: 36a343e670101c0605183cd39b8eb087eb87d1b7 [file] [log] [blame]
package game
import (
"context"
)
import (
"github.com/apache/dubbo-go-samples/game/pkg/pojo"
)
type BasketballService struct {
Login func(ctx context.Context, uid string) (*pojo.Result, error)
Score func(ctx context.Context, uid, score string) (*pojo.Result, error)
Rank func(ctx context.Context, uid string) (*pojo.Result, error)
}
func (p *BasketballService) Reference() string {
return "gameConsumer.basketballService"
}