blob: 20dc0b6f0c081b0d8edda91b30a6d5b1611b5a58 [file] [log] [blame]
package game
import (
"context"
"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"
}