Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func CreateServer ¶
CreateServer creates a new HTTP server with TLS configured for GPTScript. This function should be used when creating a new server for a daemon tool. The server should then be started with the StartServer function.
func CreateServerWithMux ¶
CreateServerWithMux creates a new HTTP server with TLS configured for GPTScript. This function should be used when creating a new server for a daemon tool with a custom ServeMux. The server should then be started with the StartServer function.
func (*Server) HandleFunc ¶
func (s *Server) HandleFunc(pattern string, handler http.HandlerFunc)
Click to show internal directories.
Click to hide internal directories.