Documentation ¶
Overview ¶
Copyright 2019-2020 Axetroy. All rights reserved. Apache License 2.0.
Copyright 2019-2020 Axetroy. All rights reserved. Apache License 2.0.
Copyright 2019-2020 Axetroy. All rights reserved. Apache License 2.0.
Copyright 2019-2020 Axetroy. All rights reserved. Apache License 2.0.
Copyright 2019-2020 Axetroy. All rights reserved. Apache License 2.0.
Copyright 2019-2020 Axetroy. All rights reserved. Apache License 2.0.
Copyright 2019-2020 Axetroy. All rights reserved. Apache License 2.0.
Copyright 2019-2020 Axetroy. All rights reserved. Apache License 2.0.
Index ¶
- func AddCollaboratorToHost(c *controller.Context) (res schema.Response)
- func CreateHostByTeam(c *controller.Context) (res schema.Response)
- func CreateHostByUser(c *controller.Context) (res schema.Response)
- func DeleteHostByIdForTeam(c *controller.Context) (res schema.Response)
- func DeleteHostByIdForUser(c *controller.Context) (res schema.Response)
- func GetHostConnectionRecordDetailByUser(c *controller.Context) (res schema.Response)
- func GetHostConnectionRecordListByTeam(c *controller.Context) (res schema.Response)
- func GetHostConnectionRecordListByUser(c *controller.Context) (res schema.Response)
- func GetHostDetailByIdForTeam(c *controller.Context) (res schema.Response)
- func GetHostDetailByIdForUser(c *controller.Context) (res schema.Response)
- func GetMyOperationalHostForTeam(c *controller.Context) (res schema.Response)
- func GetMyOperationalHostForUser(c *controller.Context) (res schema.Response)
- func RemoveCollaboratorFromHost(c *controller.Context) (res schema.Response)
- func TransferHost(c *controller.Context) (res schema.Response)
- func UpdateHostForTeam(c *controller.Context) (res schema.Response)
- func UpdateHostForUser(c *controller.Context) (res schema.Response)
- type UpdateHostParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCollaboratorToHost ¶
func AddCollaboratorToHost(c *controller.Context) (res schema.Response)
func CreateHostByTeam ¶
func CreateHostByTeam(c *controller.Context) (res schema.Response)
func CreateHostByUser ¶
func CreateHostByUser(c *controller.Context) (res schema.Response)
func DeleteHostByIdForTeam ¶
func DeleteHostByIdForTeam(c *controller.Context) (res schema.Response)
func DeleteHostByIdForUser ¶
func DeleteHostByIdForUser(c *controller.Context) (res schema.Response)
用户个人删除服务器
func GetHostConnectionRecordDetailByUser ¶
func GetHostConnectionRecordDetailByUser(c *controller.Context) (res schema.Response)
获取连接记录详情
func GetHostConnectionRecordListByTeam ¶
func GetHostConnectionRecordListByTeam(c *controller.Context) (res schema.Response)
获取团队服务器服务器的连接记录
func GetHostConnectionRecordListByUser ¶
func GetHostConnectionRecordListByUser(c *controller.Context) (res schema.Response)
获取个人服务器的连接记录
func GetHostDetailByIdForTeam ¶
func GetHostDetailByIdForTeam(c *controller.Context) (res schema.Response)
获取团队服务器详情
func GetHostDetailByIdForUser ¶
func GetHostDetailByIdForUser(c *controller.Context) (res schema.Response)
获取我的服务器详情
func GetMyOperationalHostForTeam ¶
func GetMyOperationalHostForTeam(c *controller.Context) (res schema.Response)
获取团队可操作的服务器列表
func GetMyOperationalHostForUser ¶
func GetMyOperationalHostForUser(c *controller.Context) (res schema.Response)
获取我可操作的服务器列表
func RemoveCollaboratorFromHost ¶
func RemoveCollaboratorFromHost(c *controller.Context) (res schema.Response)
func TransferHost ¶
func TransferHost(c *controller.Context) (res schema.Response)
func UpdateHostForTeam ¶
func UpdateHostForTeam(c *controller.Context) (res schema.Response)
func UpdateHostForUser ¶
func UpdateHostForUser(c *controller.Context) (res schema.Response)
Types ¶
type UpdateHostParams ¶
type UpdateHostParams struct { Name *string `json:"name"` Host *string `json:"host" valid:"host~请输入正确的服务器地址"` Port *uint `json:"port" valid:"port~请输入正确的端口,range(1|65535)"` Username *string `json:"username"` ConnectType *db.HostConnectType `json:"connect_type"` Passport *string `json:"passport"` Remark *string `json:"remark"` }