service

package
v0.0.0-...-cb472e6 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExportObjectBody

type ExportObjectBody struct {
	BizID int64 `json:"bk_biz_id"`
}

type Service

type Service struct {
	*options.ServerOption
	Engine   *backbone.Engine
	CacheCli *redis.Client
	*logics.Logics
	Config  *options.Config
	Session sessions.RedisStore
}

func (*Service) BuildDownLoadExcelTemplate

func (s *Service) BuildDownLoadExcelTemplate(c *gin.Context)

BuildDownLoadExcelTemplate build download excel template

func (*Service) BuildDownLoadNetDeviceExcelTemplate

func (s *Service) BuildDownLoadNetDeviceExcelTemplate(c *gin.Context)

func (*Service) BuildDownLoadNetPropertyExcelTemplate

func (s *Service) BuildDownLoadNetPropertyExcelTemplate(c *gin.Context)

func (*Service) ExportHost

func (s *Service) ExportHost(c *gin.Context)

ExportHost export host

func (*Service) ExportInst

func (s *Service) ExportInst(c *gin.Context)

ExportInst export inst

func (*Service) ExportNetDevice

func (s *Service) ExportNetDevice(c *gin.Context)

func (*Service) ExportNetProperty

func (s *Service) ExportNetProperty(c *gin.Context)

func (*Service) ExportObject

func (s *Service) ExportObject(c *gin.Context)

ExportObject export object

func (*Service) GetDepartment

func (s *Service) GetDepartment(c *gin.Context)

GetDepartment get department info

func (*Service) GetDepartmentProfile

func (s *Service) GetDepartmentProfile(c *gin.Context)

GetDepartmentProfile get department info

func (*Service) GetUserList

func (s *Service) GetUserList(c *gin.Context)

GetUserList get user list

func (*Service) Healthz

func (s *Service) Healthz(c *gin.Context)

func (*Service) ImportHost

func (s *Service) ImportHost(c *gin.Context)

ImportHost import host

func (*Service) ImportInst

func (s *Service) ImportInst(c *gin.Context)

ImportInst import inst

func (*Service) ImportNetDevice

func (s *Service) ImportNetDevice(c *gin.Context)

func (*Service) ImportNetProperty

func (s *Service) ImportNetProperty(c *gin.Context)

func (*Service) ImportObject

func (s *Service) ImportObject(c *gin.Context)

ImportObject import object attribute

func (*Service) Index

func (s *Service) Index(c *gin.Context)

Index html file

func (*Service) ListenIPOptions

func (s *Service) ListenIPOptions(c *gin.Context)

func (*Service) LogOutUser

func (s *Service) LogOutUser(c *gin.Context)

LogOutUser log out user

func (*Service) Login

func (s *Service) Login(c *gin.Context)

Login html file

func (*Service) LoginUser

func (s *Service) LoginUser(c *gin.Context)

LoginUser log in user

func (*Service) SearchBusiness

func (s *Service) SearchBusiness(c *gin.Context)

func (*Service) UpdateHosts

func (s *Service) UpdateHosts(c *gin.Context)

UpdateHost Excel update host batch

func (*Service) UpdateSupplier

func (s *Service) UpdateSupplier(c *gin.Context)

func (*Service) UpdateUserLanguage

func (s *Service) UpdateUserLanguage(c *gin.Context)

func (*Service) UserInfo

func (s *Service) UserInfo(c *gin.Context)

func (*Service) WebService

func (s *Service) WebService() *gin.Engine

Jump to

Keyboard shortcuts

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