Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SaveFormFile ¶
func SaveFormFile(fh *multipart.FileHeader, dest string) (int64, error)
Types ¶
type DatasourceService ¶
type DatasourceService interface { Add(request types.DatasourceAddRequest) (*types.DatasourceAddData, error) Update(request types.DatasourceUpdateRequest) error List(request types.DatasourceListRequest) (*types.DatasourceData, error) Remove(request types.DatasourceRemoveRequest) error BatchRemove(request types.DatasourceBatchRemoveRequest) error ListContents(request types.DatasourceListContentsRequest) (*types.DatasourceListContentsData, error) PreviewFile(request types.DatasourcePreviewFileRequest) (*types.DatasourcePreviewFileData, error) }
func NewDatasourceService ¶
func NewDatasourceService(ctx context.Context, svcCtx *svc.ServiceContext) DatasourceService
type FavoriteService ¶
type FavoriteService interface { Create(request types.CreateFavoriteRequest) (*types.FavoriteIDResult, error) GetList() (*types.FavoriteList, error) Delete(request types.DeleteFavoriteRequest) error DeleteAll() error }
func NewFavoriteService ¶
func NewFavoriteService(ctx context.Context, svcCtx *svc.ServiceContext) FavoriteService
type FileService ¶
type FileService interface { FileUpload() error FileDestroy(request types.FileDestroyRequest) error FilesIndex() (*types.FilesIndexData, error) FileConfigUpdate(request types.FileConfigUpdateRequest) error }
func NewFileService ¶
func NewFileService(ctx context.Context, svcCtx *svc.ServiceContext) FileService
type GatewayService ¶
type GatewayService interface { ExecNGQL(request *types.ExecNGQLParams) (*types.AnyResponse, error) BatchExecNGQL(request *types.BatchExecNGQLParams) (*types.AnyResponse, error) ConnectDB(request *types.ConnectDBParams) error DisconnectDB() (*types.AnyResponse, error) }
func NewGatewayService ¶
func NewGatewayService(ctx context.Context, svcCtx *svc.ServiceContext) GatewayService
type HealthService ¶
func NewHealthService ¶
func NewHealthService(ctx context.Context, svcCtx *svc.ServiceContext) HealthService
type ImportService ¶
type ImportService interface { CreateImportTask(*types.CreateImportTaskRequest) (*types.CreateImportTaskData, error) CreateTaskDraft(*types.CreateTaskDraftRequest) error UpdateTaskDraft(*types.UpdateTaskDraftRequest) error StopImportTask(request *types.StopImportTaskRequest) error DownloadConfig(*types.DownloadConfigsRequest) error DownloadLogs(request *types.DownloadLogsRequest) error DeleteImportTask(*types.DeleteImportTaskRequest) error GetImportTask(*types.GetImportTaskRequest) (*types.GetImportTaskData, error) GetManyImportTask(request *types.GetManyImportTaskRequest) (*types.GetManyImportTaskData, error) GetImportTaskLogNames(request *types.GetImportTaskLogNamesRequest) (*types.GetImportTaskLogNamesData, error) GetManyImportTaskLog(request *types.GetManyImportTaskLogRequest) (*types.GetManyImportTaskLogData, error) GetWorkingDir() (*types.GetWorkingDirResult, error) }
func NewImportService ¶
func NewImportService(ctx context.Context, svcCtx *svc.ServiceContext) ImportService
type SchemaService ¶
type SchemaService interface { GetSchemaSnapshot(request types.GetSchemaSnapshotRequest) (*types.SchemaSnapshot, error) UpdateSchemaSnapshot(request types.UpdateSchemaSnapshotRequest) error }
func NewSchemaService ¶
func NewSchemaService(ctx context.Context, svcCtx *svc.ServiceContext) SchemaService
type SketchService ¶
type SketchService interface { Init(request types.InitSketchRequest) (*types.SketchIDResult, error) GetList(request types.GetSketchesRequest) (*types.SketchList, error) Delete(request types.DeleteSketchRequest) error Update(request types.UpdateSketchRequest) error }
func NewSketchService ¶
func NewSketchService(ctx context.Context, svcCtx *svc.ServiceContext) SketchService
Source Files ¶
Click to show internal directories.
Click to hide internal directories.