service

package
v0.0.0-...-4628a2c Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthService

type AuthService interface {
	GenerateJwtTokenStr(userKey string) string
	CheckToken(jwtTokenStr string) bool
}

type DispatcherMachineService

type DispatcherMachineService interface {
	SetAlias(req *dto.CommonMachineSetAliasReq) bool
	SetTags(req *dto.DispatcherMachineSetTagsReq) bool
	Save(dispatcherMachine *entity.DispatcherMachine)
}

type DispatcherOnlineService

type DispatcherOnlineService interface {
	DeleteByOnlineKey(onlineKey string)
	Save(dispatcherOnline *entity.DispatcherOnline)
	ClearAllOffline()
}

type DispatcherTagService

type DispatcherTagService interface {
	Save(tagSaveReq *dto.DispatcherTagSaveReq)
	Delete(tagKey string)
	List() []dto.DispatcherTagSaveReq
}

type EnvironmentComponentVersionService

type EnvironmentComponentVersionService interface {
	Save(been *dto.EnvironmentComponentVersionReq) (error, dto.EnvironmentComponentVersionReq)
	Delete(ecVersionKey string) error
	QueryList(environmentComponentKey string) (error, []dto.EnvironmentComponentVersionReq)
}

type EnvironmentService

type EnvironmentService interface {
	Save(been *dto.EnvironmentComponentReq) (error, dto.EnvironmentComponentReq)
	Delete(key string) error
	QueryList() (error, []dto.EnvironmentComponentReq)
}

type FileResourceService

type FileResourceService interface {
	Upload(*gin.Context, multipart.File, *multipart.FileHeader) (string, error)
}

type GitService

type GitService interface {
	CreateRepo()
}

type OperatePlatformService

type OperatePlatformService interface {
	GetAll() ([]dto.OperatePlatformReq, error)
}

type SelfRepairService

type SelfRepairService interface {
	SelfRepair()
}

type ServerNodeService

type ServerNodeService interface {
	RegisterServerNode()
	RefreshActiveTime()
	UpdateAlias(machineSign, newAlias string)
	QueryAllNodeInfo() []dto.ServerNodeResp
}

type TaskService

type TaskService interface {
	Create(task entity.Task) error
}

type TimerService

type TimerService interface {
	StartTimer()
}

type UserService

type UserService interface {
	Create(number, password string) (error, entity.User)
	CountByNumber(number string) int
	CheckPassword(number, password string) (bool, entity.User)
}

Jump to

Keyboard shortcuts

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