Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GameConnections ¶
type GameConnections interface { // @tg http-headers=token|Token // @tg summary=`SetUsersAndMessage` SetSendMessage(ctx context.Context, token string, message types.RequestSetMessage) (err error) // @tg http-headers=token|Token // @tg summary=`GetUserMessage` GetMessage(ctx context.Context, token string) (messages types.ResponseGetMessage, err error) // @tg http-headers=token|Token // @tg summary=`RemoveUser` RemoveUser(ctx context.Context, token string, userID uuid.UUID) (err error) }
@tg http-prefix=api/v1/rest/ @tg jsonRPC-server log trace @tg tagNoOmitempty
type ServerSettings ¶
type ServerSettings interface { // @tg http-headers=token|Token // @tg summary=`GetConnectionsNum` GetConnectionsNum(ctx context.Context, token string) (countConn int, exists bool, err error) // @tg http-headers=token|Token // @tg summary=`HealthCheck` HealthCheck(ctx context.Context, token string) (exists bool, err error) // @tg http-headers=token|Token // @tg summary=`GetServerSettings` GetServerSettings(ctx context.Context, token string) (settings types.Settings, err error) // @tg http-headers=token|Token // @tg summary=`CreateRoom` CreateRoom(ctx context.Context, token string, createRoom types.CreateRoomRequest) (err error) // @tg http-headers=token|Token // @tg summary=`SetNotifyServer` SetNotifyServer(ctx context.Context, token string, id uuid.UUID, url string) (err error) // @tg http-headers=token|Token // @tg summary=`GetGameResults` GetGameResults(ctx context.Context, token string) (gameConfigResults []types.GameConfigResults, err error) }
@tg http-prefix=api/v1/rest/ @tg jsonRPC-server log trace @tg tagNoOmitempty
Click to show internal directories.
Click to hide internal directories.