Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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-prefix=api/v1/udp/ @tg jsonRPC-server log trace @tg tagNoOmitempty
Click to show internal directories.
Click to hide internal directories.