Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DevPipeline ¶
DevPipeline 开发用中间件栈
func TestPipeline ¶
TestPipeline 测试用中间件栈
Types ¶
type OsInstallServer ¶
type OsInstallServer struct { Conf *config.Config Log logger.Logger Repo model.Repo // contains filtered or unexported fields }
func NewServer ¶
func NewServer(log logger.Logger, conf *config.Config, setup PipelineSetupFunc) (*OsInstallServer, error)
NewServer 实例化http server
func (*OsInstallServer) ServeHTTP ¶
func (server *OsInstallServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
type PipelineSetupFunc ¶
Click to show internal directories.
Click to hide internal directories.