markup

package
v0.0.41 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2021 License: MIT Imports: 0 Imported by: 129

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component struct {
}

Component 是一个标记,用于配置一个组件 请在配置组件的 struct {} 里面包含以下3个字段

markup.Component                   // 必须的
instance    *foo.Bar               // 必须的
context     application.Context    // 可选的

type Controller added in v0.0.41

type Controller struct {
	Component
}

Controller 是一个标记,用于配置一个Web控制器组件

type DataSource added in v0.0.41

type DataSource struct {
	Component
}

DataSource 是一个标记,用于配置一个数据源组件

type Repository added in v0.0.41

type Repository struct {
	Component
}

Repository 是一个标记,用于配置一个存储库组件

type RestController added in v0.0.41

type RestController struct {
	Component
	Controller
}

RestController 是一个标记,用于配置一个REST控制器组件

Jump to

Keyboard shortcuts

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