Jobs & Workflows https://armen.surge.sh
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

26 lines
716 B

/*
------------------------------------------------------------------------------------------------------------------------
####### data ####### Copyright (c) 2021 mls-361 #################################################### MIT License #######
------------------------------------------------------------------------------------------------------------------------
*/
package data
const _defaultServerPort = 65530
// Server AFAIRE.
type Server struct {
Port int `json:"port"`
}
func (s *Server) validate() error {
if s.Port == 0 {
s.Port = _defaultServerPort
}
return nil
}
/*
######################################################################################################## @(°_°)@ #######
*/