@ -15,7 +15,7 @@ func init() {
registerInitFn(func() {
if *args.EnableMonitor {
monitor = session.NewServer()
monitor = session.New()
// Set session variables
session.ServeAddr = *args.MonitorAddr
@ -34,7 +34,7 @@ type Server struct {
completedSessions []Session
}
func NewServer() *Server {
func New() *Server {
return &Server{}