utils

package
v1.6.12 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMessageSizeGteLimit = &SUtilsError{"message size >= limit"}
	ErrGetSettingsHLS      = &SUtilsError{"get settings hls"}
)

Functions

func GetChunksCount

func GetChunksCount(pBytesNum, pChunkSize uint64) uint64

func GetMessageLimit added in v1.6.3

func GetMessageLimit(pCtx context.Context, pHlsClient hls_client.IClient) (uint64, error)

Types

type SUtilsError added in v1.6.8

type SUtilsError struct {
	// contains filtered or unexported fields
}

func (*SUtilsError) Error added in v1.6.8

func (err *SUtilsError) Error() string

Jump to

Keyboard shortcuts

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