Documentation ¶ Index ¶ func Serve(peerFn func(clientPeerId string) (string, error), ip string, port string) io.Closer Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Serve ¶ func Serve(peerFn func(clientPeerId string) (string, error), ip string, port string) io.Closer This function accepts an ip and port that it runs the webserver on. Default is 192.168.88.1:3500 and if it fails reverts to 0.0.0.0:3500 - /wifi/list endpoint: shows the list of available wifis Types ¶ This section is empty. Source Files ¶ View all Source files server.go Click to show internal directories. Click to hide internal directories.