ServerStatusRepository

A repository for managing the server current status.

Functions

Link copied to clipboard
abstract suspend fun get(): ServerStatusDomainModel

Returns the server current status represented by ServerStatusDomainModel.

Link copied to clipboard
abstract suspend fun setStarted()

Sets the server current status as started.

Link copied to clipboard
abstract suspend fun setStopped()

Sets the server current status as stopped.