Documentation ¶
Index ¶
- Variables
- type AdminService
- func (s *AdminService) CreateAdmin(ctx context.Context, request *adminAPI.CreateAdminRequest) (*adminAPI.CreateAdminResponse, error)
- func (s *AdminService) DeleteGameFiles(ctx context.Context, request *v1.DeleteGameFileRequest) (*v1.DeleteGameFileResponse, error)
- func (s *AdminService) GetRoomStats(ctx context.Context, request *adminAPI.GetRoomStatsRequest) (*adminAPI.GetRoomStatsResponse, error)
- func (s *AdminService) HandleUploadGame(ctx http.Context) error
- func (s *AdminService) ListActiveRooms(ctx context.Context, req *adminAPI.ListActiveRoomsRequest) (*adminAPI.ListActiveRoomsResponse, error)
- func (s *AdminService) ListGames(ctx context.Context, request *v1.ListGamesRequest) (*v1.ListGamesResponse, error)
- func (s *AdminService) ListGamingServiceEndpoints(ctx context.Context, request *adminAPI.ListEndpointsRequest) (*adminAPI.ListEndpointsResponse, error)
- func (s *AdminService) ListRooms(ctx context.Context, request *adminAPI.ListRoomsRequest) (*adminAPI.ListRoomsResponse, error)
- func (s *AdminService) Login(ctx context.Context, request *adminAPI.LoginRequest) (*adminAPI.LoginResponse, error)
- func (s *AdminService) UploadGame(ctx context.Context, request *v1.UploadFileRequest) (*v1.UploadFileResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewAdminService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type AdminService ¶
type AdminService struct { v1.UnimplementedAdminServer // contains filtered or unexported fields }
func NewAdminService ¶
func NewAdminService(gf *biz.GameFileUseCase, a *biz.AdminUseCase, r *biz.RoomUseCase, g *biz.GamingUseCase, logger log.Logger) *AdminService
func (*AdminService) CreateAdmin ¶
func (s *AdminService) CreateAdmin(ctx context.Context, request *adminAPI.CreateAdminRequest) (*adminAPI.CreateAdminResponse, error)
func (*AdminService) DeleteGameFiles ¶
func (s *AdminService) DeleteGameFiles(ctx context.Context, request *v1.DeleteGameFileRequest) (*v1.DeleteGameFileResponse, error)
func (*AdminService) GetRoomStats ¶
func (s *AdminService) GetRoomStats(ctx context.Context, request *adminAPI.GetRoomStatsRequest) (*adminAPI.GetRoomStatsResponse, error)
func (*AdminService) HandleUploadGame ¶
func (s *AdminService) HandleUploadGame(ctx http.Context) error
func (*AdminService) ListActiveRooms ¶
func (s *AdminService) ListActiveRooms(ctx context.Context, req *adminAPI.ListActiveRoomsRequest) (*adminAPI.ListActiveRoomsResponse, error)
func (*AdminService) ListGames ¶
func (s *AdminService) ListGames(ctx context.Context, request *v1.ListGamesRequest) (*v1.ListGamesResponse, error)
func (*AdminService) ListGamingServiceEndpoints ¶
func (s *AdminService) ListGamingServiceEndpoints(ctx context.Context, request *adminAPI.ListEndpointsRequest) (*adminAPI.ListEndpointsResponse, error)
func (*AdminService) ListRooms ¶
func (s *AdminService) ListRooms(ctx context.Context, request *adminAPI.ListRoomsRequest) (*adminAPI.ListRoomsResponse, error)
func (*AdminService) Login ¶
func (s *AdminService) Login(ctx context.Context, request *adminAPI.LoginRequest) (*adminAPI.LoginResponse, error)
func (*AdminService) UploadGame ¶
func (s *AdminService) UploadGame(ctx context.Context, request *v1.UploadFileRequest) (*v1.UploadFileResponse, error)
Click to show internal directories.
Click to hide internal directories.