Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReverseTequilapiProxy ¶
func ReverseTequilapiProxy(tequilapiAddress string, tequilapiPort int, authenticator jwtAuthenticator) gin.HandlerFunc
ReverseTequilapiProxy proxies UIServer requests to the TequilAPI server
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents our web UI server
func NewServer ¶
func NewServer( bindAddress string, port int, tequilapiAddress string, tequilapiPort int, authenticator jwtAuthenticator, httpClient *requests.HTTPClient, uiVersionConfig versionmanager.NodeUIVersionConfig, ) *Server
NewServer creates a new instance of the server for the given port you can chain addresses with ',' i.e. "192.168.0.1,127.0.0.1"
Click to show internal directories.
Click to hide internal directories.