Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func New ¶
func New(cliProject *project.CliProject) (s *Server, err error)
New creates a new server instance
func (*Server) GetDataFromCliContext ¶
GetDataFromCliContext returns the data from the cli context for the server
func (*Server) ListenAndServe ¶
func (s *Server) ListenAndServe(serverConstructor common.Constructor) error
func (*Server) TestServer ¶
func (s *Server) TestServer(serverConstructor common.Constructor) (testSrv *httptest.Server, cancel func())
TestServer creates a new test server instance
Click to show internal directories.
Click to hide internal directories.