Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ServerUrl string
Client *httpclient.HttpClient
HostIp string
Port int
DataDir string
Token string
}
func NewPipeFlowConfig ¶
NewPipeFlowConfig creates a new pipeflow config
type ExecRequest ¶
type ExecResponse ¶
type RegisterNodeRequest ¶
type RegisterPipeFlowNodeTokenRequest ¶
type RegisterPipeFlowNodeTokenRequest struct {
Token string `json:"token"`
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewPipeFlowServer ¶
func (*Server) AuthMiddleware ¶
func (s *Server) AuthMiddleware() gin.HandlerFunc
AuthMiddleware is the middleware for authentication
func (*Server) PipeFlowToken ¶
PipeFlowToken Set the token of the PipeFlow node
func (*Server) RegisterNode ¶
RegisterNode Register after starting pipeflow
Click to show internal directories.
Click to hide internal directories.