services

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthMiddle

func AuthMiddle(c *gin.Context)

登陆中间件

func RegisterServices

func RegisterServices()

Types

type AdminService

type AdminService struct {
}

func (*AdminService) AddUpToContainer

func (a *AdminService) AddUpToContainer(ctx context.Context, req *api.AddUpToContainerReq) (resp *api.AddUpToContainerResp, err error)

func (*AdminService) CloseMcd

func (a *AdminService) CloseMcd(ctx context.Context, req *api.CloseMcdReq) (resp *api.CloseMcdResp, err error)

func (*AdminService) DelTmpFlie

func (a *AdminService) DelTmpFlie(ctx context.Context, req *api.DelTmpFlieReq) (resp *api.DelTmpFlieResp, err error)

func (*AdminService) GetConfig

func (a *AdminService) GetConfig(ctx context.Context, req *api.GetConfigReq) (resp *api.GetConfigResp, err error)

func (*AdminService) GetConfigVal

func (a *AdminService) GetConfigVal(ctx context.Context, req *api.GetConfigValReq) (resp *api.GetConfigValResp, err error)

func (*AdminService) GetLog

func (a *AdminService) GetLog(ctx context.Context, req *api.GetLogReq) (resp *api.GetLogResp, err error)

func (*AdminService) OperatePlugin

func (a *AdminService) OperatePlugin(ctx context.Context, req *api.OperatePluginReq) (resp *api.OperatePluginResp, err error)

func (*AdminService) RunCommand

func (a *AdminService) RunCommand(ctx context.Context, req *api.RunCommandReq) (resp *api.RunCommandResp, err error)

func (*AdminService) UpdateConfig

func (a *AdminService) UpdateConfig(ctx context.Context, req *api.UpdateConfigReq) (resp *api.UpdateConfigResp, err error)

type ServerService

type ServerService struct {
}

func (*ServerService) Detail

func (s *ServerService) Detail(ctx context.Context, req *api.DetailReq) (resp *api.DetailResp, err error)

func (*ServerService) GetServerSide

func (s *ServerService) GetServerSide(ctx context.Context, req *api.GetServerSideReq) (resp *api.GetServerSideResp, err error)

func (*ServerService) GetServerState

func (s *ServerService) GetServerState(ctx context.Context, req *api.GetServerStateReq) (resp *api.GetServerStateResp, err error)

func (*ServerService) List

func (s *ServerService) List(ctx context.Context, req *api.ListReq) (resp *api.ListResp, err error)

func (*ServerService) ListenResource

func (s *ServerService) ListenResource(ctx context.Context, req *api.ListenResourceReq) (resp *api.ListenResourceResp, err error)

func (*ServerService) OperateServer

func (s *ServerService) OperateServer(ctx context.Context, req *api.OperateServerReq) (resp *api.OperateServerResp, err error)

func (*ServerService) ServerInteraction

func (s *ServerService) ServerInteraction(ctx context.Context, req *api.ServerInteractionReq) (resp *api.ServerInteractionResp, err error)

func (*ServerService) UpdateServerInfo

func (s *ServerService) UpdateServerInfo(ctx context.Context, req *api.UpdateServerInfoReq) (resp *api.UpdateServerInfoResp, err error)

type UserService

type UserService struct {
}

func (*UserService) Info

func (u *UserService) Info(ctx context.Context, req *api.InfoReq) (resp *api.InfoResp, err error)

func (*UserService) Login

func (u *UserService) Login(ctx context.Context, req *api.LoginReq) (resp *api.LoginResp, err error)

func (*UserService) Logout

func (u *UserService) Logout(ctx context.Context, req *api.LogoutReq) (resp *api.LogoutResp, err error)

func (*UserService) Update

func (u *UserService) Update(ctx context.Context, req *api.UpdateReq) (resp *api.UpdateResp, err error)

Jump to

Keyboard shortcuts

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