host

package
v0.0.0-...-d817ec6 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

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

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"`
}

Jump to

Keyboard shortcuts

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