Help us shape the future of Go! Take the 2026 Go Developer Survey

server

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: Apache-2.0 Imports: 17 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerActionAuditLog

type ServerActionAuditLog struct {
	Id        int       `sql:"id,pk"`
	Action    string    `sql:"action,notnull"`
	Version   string    `sql:"version"`
	CreatedOn time.Time `sql:"created_on,notnull"`
	CreatedBy int32     `sql:"created_by,notnull"`
	// contains filtered or unexported fields
}

type ServerActionAuditLogRepository

type ServerActionAuditLogRepository interface {
	Save(serverActionAuditLog *ServerActionAuditLog) error
}

type ServerActionAuditLogRepositoryImpl

type ServerActionAuditLogRepositoryImpl struct {
	// contains filtered or unexported fields
}

func NewServerActionAuditLogRepositoryImpl

func NewServerActionAuditLogRepositoryImpl(dbConnection *pg.DB) *ServerActionAuditLogRepositoryImpl

func (ServerActionAuditLogRepositoryImpl) Save

func (impl ServerActionAuditLogRepositoryImpl) Save(serverActionAuditLog *ServerActionAuditLog) error

type ServerCacheService

type ServerCacheService interface {
}

type ServerCacheServiceImpl

type ServerCacheServiceImpl struct {
	// contains filtered or unexported fields
}

func NewServerCacheServiceImpl

func NewServerCacheServiceImpl(logger *zap.SugaredLogger, serverEnvConfig *serverEnvConfig.ServerEnvConfig, serverDataStore *serverDataStore.ServerDataStore, helmAppService client.HelmAppService) (*ServerCacheServiceImpl, error)

func (*ServerCacheServiceImpl) UpdateServerEnvAndDataStore added in v1.1.0

func (impl *ServerCacheServiceImpl) UpdateServerEnvAndDataStore() error

type ServerService

type ServerService interface {
	GetServerInfo(showServerStatus bool) (*serverBean.ServerInfoDto, error)
	HandleServerAction(userId int32, serverActionRequest *serverBean.ServerActionRequestDto) (*serverBean.ActionResponse, error)
}

type ServerServiceImpl

type ServerServiceImpl struct {
	// contains filtered or unexported fields
}

func NewServerServiceImpl

func NewServerServiceImpl(logger *zap.SugaredLogger, serverActionAuditLogRepository ServerActionAuditLogRepository,
	serverDataStore *serverDataStore.ServerDataStore, serverEnvConfig *serverEnvConfig.ServerEnvConfig, helmAppService client.HelmAppService, moduleRepository moduleRepo.ModuleRepository,
	serverCacheService *ServerCacheServiceImpl) *ServerServiceImpl

func (ServerServiceImpl) GetServerInfo

func (impl ServerServiceImpl) GetServerInfo(showServerStatus bool) (*serverBean.ServerInfoDto, error)

func (ServerServiceImpl) HandleServerAction

func (impl ServerServiceImpl) HandleServerAction(userId int32, serverActionRequest *serverBean.ServerActionRequestDto) (*serverBean.ActionResponse, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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