This commit is contained in:
nxshock 2022-07-02 15:09:59 +05:00
parent 4558b43e70
commit c58742d186

View File

@ -10,10 +10,10 @@ import (
// Config represents configuration
type Config struct {
ListenAddr string `default:":80" validate:"required`
ListenAddr string `default:":80" validate:"required"`
// Mb
BufferSize uint `default:"32" validate:"required|min:1`
BufferSize uint `default:"32" validate:"required|min:1"`
// Kb
Bitrate uint `default:"32" validate:"required|min:8|max:320"`