misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
Simone Margaritelli 2024-09-21 11:56:14 +02:00
commit 2966153adf
8 changed files with 320 additions and 230 deletions

View file

@ -10,23 +10,16 @@ import (
"time"
tls_utils "github.com/bettercap/bettercap/v2/tls"
"github.com/bettercap/bettercap/v2/zeroconf"
"github.com/evilsocket/islazy/fs"
yaml "gopkg.in/yaml.v3"
)
type Advertiser struct {
Filename string
Filename string
Services []*ServiceData
Acceptors []*Acceptor
}
type setupResult struct {
err error
server *zeroconf.Server
}
func (mod *ZeroGod) loadTLSConfig() (*tls.Config, error) {
var certFile string
var keyFile string