model

package
v0.0.0-...-dafe533 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HookMap = make(map[string]HookFunc)

实现一个方法调用的接口集合 用于对各类hook的统一map管理 动态挂载卸载

Functions

This section is empty.

Types

type Config

type Config struct {
	DongtaiGoOpenapi        string
	DongtaiGoToken          string
	DongtaiGoProjectName    string
	DongtaiGoProjectVersion string
	DongtaiGoProjectCreate  bool
}

type HookFunc

type HookFunc interface {
	Hook()
	UnHook()
}

定义的方法接口 后续更多功能 最好是嵌套接口

type More

type More interface {
	HookFunc
	More()
}

接口扩展时期示例 不影响原有功能

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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