service

package
v0.0.0-...-7378411 Latest Latest
Warning

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

Go to latest
Published: May 21, 2019 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const BkAccountUrl = "site.bk_account_url"

Variables

View Source
var (
	CODE_SUCESS            = 0
	CODE_ERROR_UPLOAD_FILE = 100
	CODE_ERROR_OPEN_FILE   = 101
)

Functions

This section is empty.

Types

type Service

type Service struct {
	VersionPlg *plugin.Plugin
	*options.ServerOption
	Engine   *backbone.Engine
	CacheCli *redis.Client
	*logics.Logics
	Disc   discovery.DiscoveryInterface
	Config options.Config
}

func (*Service) BuildDownLoadExcelTemplate

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

BuildDownLoadExcelTemplate build download excel template

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) ExportObject

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

ExportObject export object

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) 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) LogOutUser

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

LogOutUser log out user

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