controller

package
v0.0.0-...-b486baa Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(n, k, i, t string) error

func RegisterRoutes

func RegisterRoutes(router *gin.RouterGroup)

注册路由

Types

type JobInfo

type JobInfo struct {
	JobName   string            `json:"jobName,omitempty"`
	Username  string            `json:"username" required:"true"`
	Dataset   string            `json:"dataset" required:"true"`
	Model     string            `json:"model" required:"true"`
	CreatedAt string            `json:"created_at,omitempty"`
	Status    string            `json:"status,omitempty"`
	Parameter map[string]string `json:"parameter" required:"true"`
}

Jump to

Keyboard shortcuts

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