sfu

package
v1.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

Types

type ChannelAlive

type ChannelAlive struct {
	ChannelId int64  `json:"channel_id"`
	GuildId   *int64 `json:"guild_id,omitempty"`
	RouteID   string `json:"route_id,omitempty"`
	RouteURL  string `json:"route_url,omitempty"`
	Region    string `json:"region,omitempty"`
}

func (ChannelAlive) Validate

func (r ChannelAlive) Validate() error

type ChannelUserJoin

type ChannelUserJoin struct {
	ChannelId int64  `json:"channel_id"`
	UserId    int64  `json:"user_id"`
	GuildId   *int64 `json:"guild_id,omitempty"`
	RouteID   string `json:"route_id,omitempty"`
	RouteURL  string `json:"route_url,omitempty"`
	Region    string `json:"region,omitempty"`
}

func (ChannelUserJoin) Validate

func (r ChannelUserJoin) Validate() error

type ChannelUserLeave

type ChannelUserLeave struct {
	ChannelId int64  `json:"channel_id"`
	UserId    int64  `json:"user_id"`
	GuildId   *int64 `json:"guild_id,omitempty"`
}

func (ChannelUserLeave) Validate

func (r ChannelUserLeave) Validate() error

type HeartbeatRequest

type HeartbeatRequest struct {
	ID     string `json:"id"`
	Region string `json:"region"`
	URL    string `json:"url"`
	Load   int64  `json:"load"`
}

func (HeartbeatRequest) Validate

func (r HeartbeatRequest) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL