You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package stgglb
-
- import (
- "gitlink.org.cn/cloudream/jcs-pub/coordinator/types"
- )
-
- type LocalMachineInfo struct {
- UserID types.UserID `json:"userID"`
- ExternalIP string `json:"externalIP"`
- LocalIP string `json:"localIP"`
- LocationID types.LocationID `json:"locationID"`
- }
-
- var Local *LocalMachineInfo
-
- // InitLocal
- //
- // @Description: 初始化本地机器信息
- // @param info
- func InitLocal(info LocalMachineInfo) {
- Local = &info
- }
|