domain

package
v0.0.0-...-a53383b Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Links interface {
	Links() []string
	StringLinks() string
}

Links

func NewLinks(v string) (Links, error)

func NewLinksFromMap

func NewLinksFromMap(v map[string]string) (Links, error)

type TaskStatus

type TaskStatus interface {
	TaskStatus() string
	IsWaiting() bool
	IsRunning() bool
	IsFinished() bool
	IsError() bool
}

taskStatus

func NewTaskStatus

func NewTaskStatus(v string) (TaskStatus, error)

type TaskType

type TaskType interface {
	TaskType() string
	IsWuKong() bool
	IsWuKong4Img() bool
}

Task Type

func NewTaskType

func NewTaskType(v string) (TaskType, error)

type WuKongRequest

type WuKongRequest struct {
	User      types.Account
	TaskType  TaskType
	Style     string
	Desc      bigmodeldomain.WuKongPictureDesc
	CreatedAt commondomain.Time
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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