Documentation ¶
Index ¶
- func StartClient()
- func StartServer()
- type Server
- func (s Server) GetBattleField(ctx context.Context, request *pb.GetBattleFieldRequest) (*pb.GetBattleFieldResponse, error)
- func (s Server) GetChampion(ctx context.Context, request *pb.GetChampionRequest) (*pb.GetChampionResponse, error)
- func (s Server) ListChampions(ctx context.Context, request *pb.ListChampionsRequest) (*pb.ListChampionsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartClient ¶
func StartClient()
func StartServer ¶
func StartServer()
Types ¶
type Server ¶
type Server struct {
pb.UnimplementedLeagueOfLegendsServer
}
func (Server) GetBattleField ¶
func (s Server) GetBattleField(ctx context.Context, request *pb.GetBattleFieldRequest) (*pb.GetBattleFieldResponse, error)
func (Server) GetChampion ¶
func (s Server) GetChampion(ctx context.Context, request *pb.GetChampionRequest) (*pb.GetChampionResponse, error)
func (Server) ListChampions ¶
func (s Server) ListChampions(ctx context.Context, request *pb.ListChampionsRequest) (*pb.ListChampionsResponse, error)
Click to show internal directories.
Click to hide internal directories.