flowdef

package
v0.0.0-...-2c63f42 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const EditorServicePathPrefix = "/api/flow/def/editor/"
View Source
const Path_Editor_CreateFlow = "/api/flow/def/editor/CreateFlow"
View Source
const Path_Editor_UpdateFlow = "/api/flow/def/editor/UpdateFlow"
View Source
const Path_Query_GetFlowByID = "/api/flow/def/query/GetFlowByID"
View Source
const Path_Query_GetFlowByParam = "/api/flow/def/query/GetFlowByParam"
View Source
const QueryServicePathPrefix = "/api/flow/def/query/"

Variables

This section is empty.

Functions

func NewEditorServiceServer

func NewEditorServiceServer(builder func() EditorService, hooks ...httprpc.HooksBuilder) httprpc.Server

func NewQueryServiceServer

func NewQueryServiceServer(builder func() QueryService, hooks ...httprpc.HooksBuilder) httprpc.Server

func NewServer

func NewServer(builder interface{}, hooks ...httprpc.HooksBuilder) (httprpc.Server, bool)

Types

type EditorService

type EditorService interface {
	CreateFlow(ctx context.Context, req *types.CreateFlowRequest) (*types.CreateFlowResponse, error)

	UpdateFlow(ctx context.Context, req *types.CreateFlowRequest) (*types.CreateFlowResponse, error)
}

+api:path=/api/flow/def/editor

type EditorServiceServer

type EditorServiceServer struct {
	// contains filtered or unexported fields
}

func (*EditorServiceServer) PathPrefix

func (s *EditorServiceServer) PathPrefix() string

func (*EditorServiceServer) ServeHTTP

func (s *EditorServiceServer) ServeHTTP(resp http.ResponseWriter, req *http.Request)

func (*EditorServiceServer) WithHooks

type QueryService

type QueryService interface {
	GetFlowByID(ctx context.Context, req *types.GetFlowByIDRequest) (*types.FlowResponse, error)

	GetFlowByParam(ctx context.Context, req *types.GetFlowByParamRequest) (*types.FlowResponse, error)
}

+api:path=/api/flow/def/query

type QueryServiceServer

type QueryServiceServer struct {
	// contains filtered or unexported fields
}

func (*QueryServiceServer) PathPrefix

func (s *QueryServiceServer) PathPrefix() string

func (*QueryServiceServer) ServeHTTP

func (s *QueryServiceServer) ServeHTTP(resp http.ResponseWriter, req *http.Request)

func (*QueryServiceServer) WithHooks

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL