Documentation ¶
Index ¶
- type ServerSettings
- func (r *ServerSettings) CreateRoom(ctx context.Context, token string, createRoom types.CreateRoomRequest) (err error)
- func (r *ServerSettings) GetConnectionsNum(ctx context.Context, token string) (countConn int, exists bool, err error)
- func (r *ServerSettings) GetDeletedRooms(ctx context.Context, token string, ids []types.GetDeletedRooms) (deletedIds []types.GetDeletedRooms, err error)
- func (r *ServerSettings) GetServerSettings(ctx context.Context, token string) (settings types.Settings, err error)
- func (r *ServerSettings) HealthCheck(ctx context.Context, token string) (exists bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerSettings ¶
type ServerSettings struct {
// contains filtered or unexported fields
}
func NewServerSettings ¶
func NewServerSettings(rateLimit utils.RateLimit, server service.Service) *ServerSettings
func (*ServerSettings) CreateRoom ¶
func (r *ServerSettings) CreateRoom(ctx context.Context, token string, createRoom types.CreateRoomRequest) (err error)
func (*ServerSettings) GetConnectionsNum ¶
func (*ServerSettings) GetDeletedRooms ¶ added in v1.0.3
func (r *ServerSettings) GetDeletedRooms(ctx context.Context, token string, ids []types.GetDeletedRooms) (deletedIds []types.GetDeletedRooms, err error)
func (*ServerSettings) GetServerSettings ¶
func (*ServerSettings) HealthCheck ¶
Click to show internal directories.
Click to hide internal directories.