innerNet

package
v0.0.0-...-1bf96ee Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const InnerNet_state_start = "1001"
View Source
const InnerNet_state_stop = "2002"

Variables

This section is empty.

Functions

This section is empty.

Types

type InnerNetClientDto

type InnerNetClientDto struct {
	ServerAddr string `json:"serverAddr"`
	TunName    string `json:"tunName"`
	Username   string `json:"username"`
	Password   string `json:"password"`
}

type InnerNetDto

type InnerNetDto struct {
	dto.PageDto
	InnerNetId    string              `json:"innerNetId" sql:"-" `
	InnerNetPort  string              `json:"innerNetPort" sql:"-" `
	Tun           string              `json:"tun" `
	TunName       string              `json:"tunName" sql:"-"`
	Dns           string              `json:"dns"`
	Protocol      string              `json:"protocol"`
	InnerNetHosts []*InnerNetHostsDto `json:"innerNetHosts"`
	HostIds       string              `json:"hostIds"`
	CreateTime    time.Time           `json:"createTime" sql:"-"`
	StatusCd      string              `json:"statusCd" sql:"-"`
	State         string              `json:"state"`
}

type InnerNetHostsDto

type InnerNetHostsDto struct {
	dto.PageDto
	InnerNetHostId string    `json:"innerNetHostId" sql:"-" `
	InnerNetId     string    `json:"innerNetId" sql:"-" `
	HostId         string    `json:"hostId" sql:"-"`
	CreateTime     time.Time `json:"createTime" sql:"-"`
	StatusCd       string    `json:"statusCd" sql:"-"`
}

type InnerNetLogDto

type InnerNetLogDto struct {
	dto.PageDto
	LogId      string    `json:"logId" sql:"-" `
	Username   string    `json:"username"  `
	SrcIp      string    `json:"srcIp" sql:"-" `
	State      string    `json:"state"`
	CreateTime time.Time `json:"createTime" sql:"-"`
	StatusCd   string    `json:"statusCd" sql:"-"`
	Token      string    `json:"token"`
}

type InnerNetPrivilegeDto

type InnerNetPrivilegeDto struct {
	dto.PageDto
	PId          string    `json:"pId" sql:"-" `
	SrcUserId    string    `json:"srcUserId" sql:"-"  `
	SrcUserName  string    `json:"srcUserName" sql:"-"`
	SrcPassword  string    `json:"srcPassword" sql:"-"`
	TargetUserId string    `json:"targetUserId" sql:"-"  `
	TargetPort   string    `json:"targetPort" sql:"-" `
	CreateTime   time.Time `json:"createTime" sql:"-"`
	StatusCd     string    `json:"statusCd" sql:"-"`
	Token        string    `json:"token"`
}

type InnerNetUserDto

type InnerNetUserDto struct {
	dto.PageDto
	UserId     string    `json:"userId" sql:"-" `
	Username   string    `json:"username"  `
	Password   string    `json:"password" `
	Tel        string    `json:"tel"`
	Ip         string    `json:"ip"`
	LoginTime  time.Time `json:"loginTime" sql:"-"`
	CreateTime time.Time `json:"createTime" sql:"-"`
	StatusCd   string    `json:"statusCd" sql:"-"`
	Token      string    `json:"token"`
}

type SlaveInnerNetDataDto

type SlaveInnerNetDataDto struct {
	ServerIpUrl string      `json:"serverIpUrl"`
	InnerNet    InnerNetDto `json:"innerNet"`
	Users       []*InnerNetUserDto
	Privileges  []*InnerNetPrivilegeDto
}

Jump to

Keyboard shortcuts

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