pb

package
v0.0.0-...-ed93953 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterPlayerServiceServer

func RegisterPlayerServiceServer(s *grpc.Server, srv PlayerServiceServer)

func RegisterStatsServiceServer

func RegisterStatsServiceServer(s *grpc.Server, srv StatsServiceServer)

func RegisterTransferServiceServer

func RegisterTransferServiceServer(s *grpc.Server, srv TransferServiceServer)

Types

type CreatePlayerReply

type CreatePlayerReply struct {
	Ops                  string   `protobuf:"bytes,1,opt,name=ops,proto3" json:"ops,omitempty"`
	Err                  string   `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreatePlayerReply) Descriptor

func (*CreatePlayerReply) Descriptor() ([]byte, []int)

func (*CreatePlayerReply) GetErr

func (m *CreatePlayerReply) GetErr() string

func (*CreatePlayerReply) GetOps

func (m *CreatePlayerReply) GetOps() string

func (*CreatePlayerReply) ProtoMessage

func (*CreatePlayerReply) ProtoMessage()

func (*CreatePlayerReply) Reset

func (m *CreatePlayerReply) Reset()

func (*CreatePlayerReply) String

func (m *CreatePlayerReply) String() string

func (*CreatePlayerReply) XXX_DiscardUnknown

func (m *CreatePlayerReply) XXX_DiscardUnknown()

func (*CreatePlayerReply) XXX_Marshal

func (m *CreatePlayerReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreatePlayerReply) XXX_Merge

func (m *CreatePlayerReply) XXX_Merge(src proto.Message)

func (*CreatePlayerReply) XXX_Size

func (m *CreatePlayerReply) XXX_Size() int

func (*CreatePlayerReply) XXX_Unmarshal

func (m *CreatePlayerReply) XXX_Unmarshal(b []byte) error

type CreatePlayerRequest

type CreatePlayerRequest struct {
	Name                 *Player  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreatePlayerRequest) Descriptor

func (*CreatePlayerRequest) Descriptor() ([]byte, []int)

func (*CreatePlayerRequest) GetName

func (m *CreatePlayerRequest) GetName() *Player

func (*CreatePlayerRequest) ProtoMessage

func (*CreatePlayerRequest) ProtoMessage()

func (*CreatePlayerRequest) Reset

func (m *CreatePlayerRequest) Reset()

func (*CreatePlayerRequest) String

func (m *CreatePlayerRequest) String() string

func (*CreatePlayerRequest) XXX_DiscardUnknown

func (m *CreatePlayerRequest) XXX_DiscardUnknown()

func (*CreatePlayerRequest) XXX_Marshal

func (m *CreatePlayerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreatePlayerRequest) XXX_Merge

func (m *CreatePlayerRequest) XXX_Merge(src proto.Message)

func (*CreatePlayerRequest) XXX_Size

func (m *CreatePlayerRequest) XXX_Size() int

func (*CreatePlayerRequest) XXX_Unmarshal

func (m *CreatePlayerRequest) XXX_Unmarshal(b []byte) error

type DeletePlayerReply

type DeletePlayerReply struct {
	Ops                  string   `protobuf:"bytes,1,opt,name=ops,proto3" json:"ops,omitempty"`
	Err                  string   `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeletePlayerReply) Descriptor

func (*DeletePlayerReply) Descriptor() ([]byte, []int)

func (*DeletePlayerReply) GetErr

func (m *DeletePlayerReply) GetErr() string

func (*DeletePlayerReply) GetOps

func (m *DeletePlayerReply) GetOps() string

func (*DeletePlayerReply) ProtoMessage

func (*DeletePlayerReply) ProtoMessage()

func (*DeletePlayerReply) Reset

func (m *DeletePlayerReply) Reset()

func (*DeletePlayerReply) String

func (m *DeletePlayerReply) String() string

func (*DeletePlayerReply) XXX_DiscardUnknown

func (m *DeletePlayerReply) XXX_DiscardUnknown()

func (*DeletePlayerReply) XXX_Marshal

func (m *DeletePlayerReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeletePlayerReply) XXX_Merge

func (m *DeletePlayerReply) XXX_Merge(src proto.Message)

func (*DeletePlayerReply) XXX_Size

func (m *DeletePlayerReply) XXX_Size() int

func (*DeletePlayerReply) XXX_Unmarshal

func (m *DeletePlayerReply) XXX_Unmarshal(b []byte) error

type DeletePlayerRequest

type DeletePlayerRequest struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Team                 string   `protobuf:"bytes,2,opt,name=team,proto3" json:"team,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeletePlayerRequest) Descriptor

func (*DeletePlayerRequest) Descriptor() ([]byte, []int)

func (*DeletePlayerRequest) GetName

func (m *DeletePlayerRequest) GetName() string

func (*DeletePlayerRequest) GetTeam

func (m *DeletePlayerRequest) GetTeam() string

func (*DeletePlayerRequest) ProtoMessage

func (*DeletePlayerRequest) ProtoMessage()

func (*DeletePlayerRequest) Reset

func (m *DeletePlayerRequest) Reset()

func (*DeletePlayerRequest) String

func (m *DeletePlayerRequest) String() string

func (*DeletePlayerRequest) XXX_DiscardUnknown

func (m *DeletePlayerRequest) XXX_DiscardUnknown()

func (*DeletePlayerRequest) XXX_Marshal

func (m *DeletePlayerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeletePlayerRequest) XXX_Merge

func (m *DeletePlayerRequest) XXX_Merge(src proto.Message)

func (*DeletePlayerRequest) XXX_Size

func (m *DeletePlayerRequest) XXX_Size() int

func (*DeletePlayerRequest) XXX_Unmarshal

func (m *DeletePlayerRequest) XXX_Unmarshal(b []byte) error

type Player

type Player struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Team                 string   `protobuf:"bytes,2,opt,name=team,proto3" json:"team,omitempty"`
	Nationality          string   `protobuf:"bytes,3,opt,name=nationality,proto3" json:"nationality,omitempty"`
	Position             string   `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"`
	Appearences          int32    `protobuf:"varint,5,opt,name=appearences,proto3" json:"appearences,omitempty"`
	Goals                int32    `protobuf:"varint,6,opt,name=goals,proto3" json:"goals,omitempty"`
	Assists              int32    `protobuf:"varint,7,opt,name=assists,proto3" json:"assists,omitempty"`
	Passes               int32    `protobuf:"varint,8,opt,name=passes,proto3" json:"passes,omitempty"`
	Interceptions        int32    `protobuf:"varint,9,opt,name=interceptions,proto3" json:"interceptions,omitempty"`
	Tackles              int32    `protobuf:"varint,10,opt,name=tackles,proto3" json:"tackles,omitempty"`
	Fouls                int32    `protobuf:"varint,11,opt,name=fouls,proto3" json:"fouls,omitempty"`
	Price                int32    `protobuf:"varint,12,opt,name=price,proto3" json:"price,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Player) Descriptor

func (*Player) Descriptor() ([]byte, []int)

func (*Player) GetAppearences

func (m *Player) GetAppearences() int32

func (*Player) GetAssists

func (m *Player) GetAssists() int32

func (*Player) GetFouls

func (m *Player) GetFouls() int32

func (*Player) GetGoals

func (m *Player) GetGoals() int32

func (*Player) GetInterceptions

func (m *Player) GetInterceptions() int32

func (*Player) GetName

func (m *Player) GetName() string

func (*Player) GetNationality

func (m *Player) GetNationality() string

func (*Player) GetPasses

func (m *Player) GetPasses() int32

func (*Player) GetPosition

func (m *Player) GetPosition() string

func (*Player) GetPrice

func (m *Player) GetPrice() int32

func (*Player) GetTackles

func (m *Player) GetTackles() int32

func (*Player) GetTeam

func (m *Player) GetTeam() string

func (*Player) ProtoMessage

func (*Player) ProtoMessage()

func (*Player) Reset

func (m *Player) Reset()

func (*Player) String

func (m *Player) String() string

func (*Player) XXX_DiscardUnknown

func (m *Player) XXX_DiscardUnknown()

func (*Player) XXX_Marshal

func (m *Player) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Player) XXX_Merge

func (m *Player) XXX_Merge(src proto.Message)

func (*Player) XXX_Size

func (m *Player) XXX_Size() int

func (*Player) XXX_Unmarshal

func (m *Player) XXX_Unmarshal(b []byte) error

type PlayerServiceClient

type PlayerServiceClient interface {
	CreatePlayer(ctx context.Context, in *CreatePlayerRequest, opts ...grpc.CallOption) (*CreatePlayerReply, error)
	DeletePLayer(ctx context.Context, in *DeletePlayerRequest, opts ...grpc.CallOption) (*DeletePlayerReply, error)
}

PlayerServiceClient is the client API for PlayerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewPlayerServiceClient

func NewPlayerServiceClient(cc *grpc.ClientConn) PlayerServiceClient

type PlayerServiceServer

type PlayerServiceServer interface {
	CreatePlayer(context.Context, *CreatePlayerRequest) (*CreatePlayerReply, error)
	DeletePLayer(context.Context, *DeletePlayerRequest) (*DeletePlayerReply, error)
}

PlayerServiceServer is the server API for PlayerService service.

type PlayerTransferReply

type PlayerTransferReply struct {
	Ops                  string   `protobuf:"bytes,1,opt,name=ops,proto3" json:"ops,omitempty"`
	Err                  string   `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PlayerTransferReply) Descriptor

func (*PlayerTransferReply) Descriptor() ([]byte, []int)

func (*PlayerTransferReply) GetErr

func (m *PlayerTransferReply) GetErr() string

func (*PlayerTransferReply) GetOps

func (m *PlayerTransferReply) GetOps() string

func (*PlayerTransferReply) ProtoMessage

func (*PlayerTransferReply) ProtoMessage()

func (*PlayerTransferReply) Reset

func (m *PlayerTransferReply) Reset()

func (*PlayerTransferReply) String

func (m *PlayerTransferReply) String() string

func (*PlayerTransferReply) XXX_DiscardUnknown

func (m *PlayerTransferReply) XXX_DiscardUnknown()

func (*PlayerTransferReply) XXX_Marshal

func (m *PlayerTransferReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PlayerTransferReply) XXX_Merge

func (m *PlayerTransferReply) XXX_Merge(src proto.Message)

func (*PlayerTransferReply) XXX_Size

func (m *PlayerTransferReply) XXX_Size() int

func (*PlayerTransferReply) XXX_Unmarshal

func (m *PlayerTransferReply) XXX_Unmarshal(b []byte) error

type PlayerTransferRequest

type PlayerTransferRequest struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	FromTeam             string   `protobuf:"bytes,2,opt,name=fromTeam,proto3" json:"fromTeam,omitempty"`
	ToTeam               string   `protobuf:"bytes,3,opt,name=toTeam,proto3" json:"toTeam,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PlayerTransferRequest) Descriptor

func (*PlayerTransferRequest) Descriptor() ([]byte, []int)

func (*PlayerTransferRequest) GetFromTeam

func (m *PlayerTransferRequest) GetFromTeam() string

func (*PlayerTransferRequest) GetName

func (m *PlayerTransferRequest) GetName() string

func (*PlayerTransferRequest) GetToTeam

func (m *PlayerTransferRequest) GetToTeam() string

func (*PlayerTransferRequest) ProtoMessage

func (*PlayerTransferRequest) ProtoMessage()

func (*PlayerTransferRequest) Reset

func (m *PlayerTransferRequest) Reset()

func (*PlayerTransferRequest) String

func (m *PlayerTransferRequest) String() string

func (*PlayerTransferRequest) XXX_DiscardUnknown

func (m *PlayerTransferRequest) XXX_DiscardUnknown()

func (*PlayerTransferRequest) XXX_Marshal

func (m *PlayerTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PlayerTransferRequest) XXX_Merge

func (m *PlayerTransferRequest) XXX_Merge(src proto.Message)

func (*PlayerTransferRequest) XXX_Size

func (m *PlayerTransferRequest) XXX_Size() int

func (*PlayerTransferRequest) XXX_Unmarshal

func (m *PlayerTransferRequest) XXX_Unmarshal(b []byte) error

type PositionReply

type PositionReply struct {
	Players              []*Player `protobuf:"bytes,1,rep,name=players,proto3" json:"players,omitempty"`
	Err                  string    `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*PositionReply) Descriptor

func (*PositionReply) Descriptor() ([]byte, []int)

func (*PositionReply) GetErr

func (m *PositionReply) GetErr() string

func (*PositionReply) GetPlayers

func (m *PositionReply) GetPlayers() []*Player

func (*PositionReply) ProtoMessage

func (*PositionReply) ProtoMessage()

func (*PositionReply) Reset

func (m *PositionReply) Reset()

func (*PositionReply) String

func (m *PositionReply) String() string

func (*PositionReply) XXX_DiscardUnknown

func (m *PositionReply) XXX_DiscardUnknown()

func (*PositionReply) XXX_Marshal

func (m *PositionReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PositionReply) XXX_Merge

func (m *PositionReply) XXX_Merge(src proto.Message)

func (*PositionReply) XXX_Size

func (m *PositionReply) XXX_Size() int

func (*PositionReply) XXX_Unmarshal

func (m *PositionReply) XXX_Unmarshal(b []byte) error

type PositionRequest

type PositionRequest struct {
	Position             string   `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PositionRequest) Descriptor

func (*PositionRequest) Descriptor() ([]byte, []int)

func (*PositionRequest) GetPosition

func (m *PositionRequest) GetPosition() string

func (*PositionRequest) ProtoMessage

func (*PositionRequest) ProtoMessage()

func (*PositionRequest) Reset

func (m *PositionRequest) Reset()

func (*PositionRequest) String

func (m *PositionRequest) String() string

func (*PositionRequest) XXX_DiscardUnknown

func (m *PositionRequest) XXX_DiscardUnknown()

func (*PositionRequest) XXX_Marshal

func (m *PositionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PositionRequest) XXX_Merge

func (m *PositionRequest) XXX_Merge(src proto.Message)

func (*PositionRequest) XXX_Size

func (m *PositionRequest) XXX_Size() int

func (*PositionRequest) XXX_Unmarshal

func (m *PositionRequest) XXX_Unmarshal(b []byte) error

type StatsServiceClient

type StatsServiceClient interface {
	ListTable(ctx context.Context, in *TableRequest, opts ...grpc.CallOption) (*TableReply, error)
	ListTeamPlayers(ctx context.Context, in *TeamRequest, opts ...grpc.CallOption) (*TeamReply, error)
	ListPositionPlayers(ctx context.Context, in *PositionRequest, opts ...grpc.CallOption) (*PositionReply, error)
}

StatsServiceClient is the client API for StatsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewStatsServiceClient

func NewStatsServiceClient(cc *grpc.ClientConn) StatsServiceClient

type StatsServiceServer

type StatsServiceServer interface {
	ListTable(context.Context, *TableRequest) (*TableReply, error)
	ListTeamPlayers(context.Context, *TeamRequest) (*TeamReply, error)
	ListPositionPlayers(context.Context, *PositionRequest) (*PositionReply, error)
}

StatsServiceServer is the server API for StatsService service.

type Table

type Table struct {
	TeamName             string   `protobuf:"bytes,1,opt,name=teamName,proto3" json:"teamName,omitempty"`
	TeamPlayed           int32    `protobuf:"varint,2,opt,name=teamPlayed,proto3" json:"teamPlayed,omitempty"`
	TeamWon              int32    `protobuf:"varint,3,opt,name=teamWon,proto3" json:"teamWon,omitempty"`
	TeamDrawn            int32    `protobuf:"varint,4,opt,name=teamDrawn,proto3" json:"teamDrawn,omitempty"`
	TeamLost             int32    `protobuf:"varint,5,opt,name=teamLost,proto3" json:"teamLost,omitempty"`
	TeamGF               int32    `protobuf:"varint,6,opt,name=teamGF,proto3" json:"teamGF,omitempty"`
	TeamGA               int32    `protobuf:"varint,7,opt,name=teamGA,proto3" json:"teamGA,omitempty"`
	TeamGD               int32    `protobuf:"varint,8,opt,name=teamGD,proto3" json:"teamGD,omitempty"`
	TeamPoints           int32    `protobuf:"varint,9,opt,name=teamPoints,proto3" json:"teamPoints,omitempty"`
	TeamCapital          int32    `protobuf:"varint,10,opt,name=teamCapital,proto3" json:"teamCapital,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Table) Descriptor

func (*Table) Descriptor() ([]byte, []int)

func (*Table) GetTeamCapital

func (m *Table) GetTeamCapital() int32

func (*Table) GetTeamDrawn

func (m *Table) GetTeamDrawn() int32

func (*Table) GetTeamGA

func (m *Table) GetTeamGA() int32

func (*Table) GetTeamGD

func (m *Table) GetTeamGD() int32

func (*Table) GetTeamGF

func (m *Table) GetTeamGF() int32

func (*Table) GetTeamLost

func (m *Table) GetTeamLost() int32

func (*Table) GetTeamName

func (m *Table) GetTeamName() string

func (*Table) GetTeamPlayed

func (m *Table) GetTeamPlayed() int32

func (*Table) GetTeamPoints

func (m *Table) GetTeamPoints() int32

func (*Table) GetTeamWon

func (m *Table) GetTeamWon() int32

func (*Table) ProtoMessage

func (*Table) ProtoMessage()

func (*Table) Reset

func (m *Table) Reset()

func (*Table) String

func (m *Table) String() string

func (*Table) XXX_DiscardUnknown

func (m *Table) XXX_DiscardUnknown()

func (*Table) XXX_Marshal

func (m *Table) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Table) XXX_Merge

func (m *Table) XXX_Merge(src proto.Message)

func (*Table) XXX_Size

func (m *Table) XXX_Size() int

func (*Table) XXX_Unmarshal

func (m *Table) XXX_Unmarshal(b []byte) error

type TableReply

type TableReply struct {
	Teams                []*Table `protobuf:"bytes,1,rep,name=teams,proto3" json:"teams,omitempty"`
	Err                  string   `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TableReply) Descriptor

func (*TableReply) Descriptor() ([]byte, []int)

func (*TableReply) GetErr

func (m *TableReply) GetErr() string

func (*TableReply) GetTeams

func (m *TableReply) GetTeams() []*Table

func (*TableReply) ProtoMessage

func (*TableReply) ProtoMessage()

func (*TableReply) Reset

func (m *TableReply) Reset()

func (*TableReply) String

func (m *TableReply) String() string

func (*TableReply) XXX_DiscardUnknown

func (m *TableReply) XXX_DiscardUnknown()

func (*TableReply) XXX_Marshal

func (m *TableReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TableReply) XXX_Merge

func (m *TableReply) XXX_Merge(src proto.Message)

func (*TableReply) XXX_Size

func (m *TableReply) XXX_Size() int

func (*TableReply) XXX_Unmarshal

func (m *TableReply) XXX_Unmarshal(b []byte) error

type TableRequest

type TableRequest struct {
	TableName            string   `protobuf:"bytes,1,opt,name=tableName,proto3" json:"tableName,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TableRequest) Descriptor

func (*TableRequest) Descriptor() ([]byte, []int)

func (*TableRequest) GetTableName

func (m *TableRequest) GetTableName() string

func (*TableRequest) ProtoMessage

func (*TableRequest) ProtoMessage()

func (*TableRequest) Reset

func (m *TableRequest) Reset()

func (*TableRequest) String

func (m *TableRequest) String() string

func (*TableRequest) XXX_DiscardUnknown

func (m *TableRequest) XXX_DiscardUnknown()

func (*TableRequest) XXX_Marshal

func (m *TableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TableRequest) XXX_Merge

func (m *TableRequest) XXX_Merge(src proto.Message)

func (*TableRequest) XXX_Size

func (m *TableRequest) XXX_Size() int

func (*TableRequest) XXX_Unmarshal

func (m *TableRequest) XXX_Unmarshal(b []byte) error

type TeamReply

type TeamReply struct {
	Players              []*Player `protobuf:"bytes,1,rep,name=players,proto3" json:"players,omitempty"`
	Err                  string    `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*TeamReply) Descriptor

func (*TeamReply) Descriptor() ([]byte, []int)

func (*TeamReply) GetErr

func (m *TeamReply) GetErr() string

func (*TeamReply) GetPlayers

func (m *TeamReply) GetPlayers() []*Player

func (*TeamReply) ProtoMessage

func (*TeamReply) ProtoMessage()

func (*TeamReply) Reset

func (m *TeamReply) Reset()

func (*TeamReply) String

func (m *TeamReply) String() string

func (*TeamReply) XXX_DiscardUnknown

func (m *TeamReply) XXX_DiscardUnknown()

func (*TeamReply) XXX_Marshal

func (m *TeamReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TeamReply) XXX_Merge

func (m *TeamReply) XXX_Merge(src proto.Message)

func (*TeamReply) XXX_Size

func (m *TeamReply) XXX_Size() int

func (*TeamReply) XXX_Unmarshal

func (m *TeamReply) XXX_Unmarshal(b []byte) error

type TeamRequest

type TeamRequest struct {
	TeamName             string   `protobuf:"bytes,1,opt,name=teamName,proto3" json:"teamName,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TeamRequest) Descriptor

func (*TeamRequest) Descriptor() ([]byte, []int)

func (*TeamRequest) GetTeamName

func (m *TeamRequest) GetTeamName() string

func (*TeamRequest) ProtoMessage

func (*TeamRequest) ProtoMessage()

func (*TeamRequest) Reset

func (m *TeamRequest) Reset()

func (*TeamRequest) String

func (m *TeamRequest) String() string

func (*TeamRequest) XXX_DiscardUnknown

func (m *TeamRequest) XXX_DiscardUnknown()

func (*TeamRequest) XXX_Marshal

func (m *TeamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TeamRequest) XXX_Merge

func (m *TeamRequest) XXX_Merge(src proto.Message)

func (*TeamRequest) XXX_Size

func (m *TeamRequest) XXX_Size() int

func (*TeamRequest) XXX_Unmarshal

func (m *TeamRequest) XXX_Unmarshal(b []byte) error

type TransferServiceClient

type TransferServiceClient interface {
	TransferPlayer(ctx context.Context, in *PlayerTransferRequest, opts ...grpc.CallOption) (*PlayerTransferReply, error)
}

TransferServiceClient is the client API for TransferService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewTransferServiceClient

func NewTransferServiceClient(cc *grpc.ClientConn) TransferServiceClient

type TransferServiceServer

type TransferServiceServer interface {
	TransferPlayer(context.Context, *PlayerTransferRequest) (*PlayerTransferReply, error)
}

TransferServiceServer is the server API for TransferService service.

type UnimplementedPlayerServiceServer

type UnimplementedPlayerServiceServer struct {
}

UnimplementedPlayerServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedPlayerServiceServer) CreatePlayer

func (*UnimplementedPlayerServiceServer) DeletePLayer

type UnimplementedStatsServiceServer

type UnimplementedStatsServiceServer struct {
}

UnimplementedStatsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedStatsServiceServer) ListPositionPlayers

func (*UnimplementedStatsServiceServer) ListTable

func (*UnimplementedStatsServiceServer) ListTeamPlayers

type UnimplementedTransferServiceServer

type UnimplementedTransferServiceServer struct {
}

UnimplementedTransferServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTransferServiceServer) TransferPlayer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL