Files
rsser/configuration/outputs.go
T
2026-08-05 12:06:46 +05:00

18 lines
326 B
Go

package configuration
import "fmt"
// Outputs is an outputs configuration.
type Outputs struct {
NNTP *NNTP `json:"nntp"`
}
// Validate validates configuration.
func (o *Outputs) Validate() error {
if err := o.NNTP.Validate(); err != nil {
return fmt.Errorf("validate outputs configuration: %w", err)
}
return nil
}