request

package
v3.2.55 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PriorityOption

type PriorityOption struct {
	PriorityType       int      `json:"priority_type"`
	PriorityUseridList []string `json:"priority_userid_list"`
}

type Range

type Range struct {
	UserList       []string `json:"user_list"`
	DepartmentList []string `json:"department_list"`
}
type RequestCreateLink struct {
	LinkName       string          `json:"link_name"`   // 链接名称
	Range          *Range          `json:"range"`       // 1,
	SkipVerify     bool            `json:"skip_verify"` // true,
	PriorityOption *PriorityOption `json:"priority_option"`
}
type RequestDeleteLink struct {
	LinkId string `json:"link_id"`
}
type RequestGetLink struct {
	LinkId string `json:"link_id"`
}
type RequestListLink struct {
	Cursor string `json:"cursor"`
	Limit  int    `json:"limit"`
}
type RequestUpdateLink struct {
	LinkId         string          `json:"link_id"`     // 链接ID
	LinkName       string          `json:"link_name"`   // 链接名称
	Range          *Range          `json:"range"`       // 1,
	SkipVerify     bool            `json:"skip_verify"` // true,
	PriorityOption *PriorityOption `json:"priority_option"`
}

Jump to

Keyboard shortcuts

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