vo

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	Base

	UserName   string
	UserSecret string
	Mechanism  string

	Authorized bool
}

Auth 身份认证VO

type Base

type Base struct {
	vo.BaseVO
}

Base 所有VO的基本结构

type Example

type Example struct {
	Base

	Examples []*dto.Example `json:"examples"`
}

Example ...

type Executable

type Executable struct {
	Base

	Executables []*dto.Executable `json:"executables"`
}

type ExecutableImport

type ExecutableImport struct {
	Base

	Action      ExecutableImportAction `json:"action"`
	Executables []*dto.Executable      `json:"executables"`
}

ExecutableImport ...

type ExecutableImportAction

type ExecutableImportAction string

ExecutableImportAction 表示导入应用程序的动作

const (
	ExecutableImportActionFind   ExecutableImportAction = "find"
	ExecutableImportActionLocate ExecutableImportAction = "locate"
	ExecutableImportActionSave   ExecutableImportAction = "save"
)

定义导入应用程序的动作

func (ExecutableImportAction) String

func (value ExecutableImportAction) String() string

type Intent

type Intent struct {
	Base

	Intents []*dto.Intent `json:"intents"`
}

Intent ...

type IntentTemplate

type IntentTemplate struct {
	Base

	Templates []*dto.IntentTemplate `json:"intent_templates"`
}

IntentTemplate ...

type LocalRepository

type LocalRepository struct {
	Base

	Repositories []*dto.LocalRepository `json:"local_repositories"`
}

LocalRepository 仓库VO

type MainRepository

type MainRepository struct {
	Base

	Repository *dto.MainRepository `json:"main_repository"`
}

MainRepository 仓库VO

type Media

type Media struct {
	Base

	Mediae []*dto.Media `json:"mediae"`
}

Media ...

type Platform

type Platform struct {
	Base

	Platform *dto.Platform `json:"platform"`
}

Platform ...

type Profile

type Profile struct {
	Base

	Platform *dto.Platform `json:"platform"`
	Profile  *dto.Profile  `json:"profile"`
}

Profile ...

type Project

type Project struct {
	Base

	Projects []*dto.Project `json:"projects"`
}

Project ...

type ProjectImport

type ProjectImport struct {
	Base

	Action   ProjectImportAction `json:"action"`
	Projects []*dto.Project      `json:"projects"`
}

ProjectImport ... 用于导入项目

type ProjectImportAction

type ProjectImportAction string

ProjectImportAction 表示导入仓库的动作

const (
	ProjectImportActionFind   ProjectImportAction = "find"
	ProjectImportActionLocate ProjectImportAction = "locate"
	ProjectImportActionSave   ProjectImportAction = "save"
)

定义导入仓库的动作

func (ProjectImportAction) String

func (value ProjectImportAction) String() string

type RemoteRepository

type RemoteRepository struct {
	Base

	Repositories []*dto.RemoteRepository `json:"remote_repositories"`
}

RemoteRepository 仓库VO

type RepositoryImport

type RepositoryImport struct {
	Base

	Action RepositoryImportAction `json:"action"`
	Items  []*dto.LocalRepository `json:"local_repositories"`
}

RepositoryImport ... 用于导入仓库

type RepositoryImportAction

type RepositoryImportAction string

RepositoryImportAction 表示导入仓库的动作

const (
	RepositoryImportActionFind   RepositoryImportAction = "find"
	RepositoryImportActionLocate RepositoryImportAction = "locate"
	RepositoryImportActionSave   RepositoryImportAction = "save"
)

定义导入仓库的动作

func (RepositoryImportAction) String

func (value RepositoryImportAction) String() string

type User

type User struct {
	Base

	Users []*dto.User `json:"users"`
}

User ...

Jump to

Keyboard shortcuts

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