Documentation ¶
Index ¶
- func AuthMiddle(c *gin.Context)
- func RegisterServices()
- type AdminService
- func (a *AdminService) AddUpToContainer(ctx context.Context, req *api.AddUpToContainerReq) (resp *api.AddUpToContainerResp, err error)
- func (a *AdminService) CloseMcd(ctx context.Context, req *api.CloseMcdReq) (resp *api.CloseMcdResp, err error)
- func (a *AdminService) DelTmpFlie(ctx context.Context, req *api.DelTmpFlieReq) (resp *api.DelTmpFlieResp, err error)
- func (a *AdminService) GetConfig(ctx context.Context, req *api.GetConfigReq) (resp *api.GetConfigResp, err error)
- func (a *AdminService) GetConfigVal(ctx context.Context, req *api.GetConfigValReq) (resp *api.GetConfigValResp, err error)
- func (a *AdminService) GetLog(ctx context.Context, req *api.GetLogReq) (resp *api.GetLogResp, err error)
- func (a *AdminService) OperatePlugin(ctx context.Context, req *api.OperatePluginReq) (resp *api.OperatePluginResp, err error)
- func (a *AdminService) RunCommand(ctx context.Context, req *api.RunCommandReq) (resp *api.RunCommandResp, err error)
- func (a *AdminService) UpdateConfig(ctx context.Context, req *api.UpdateConfigReq) (resp *api.UpdateConfigResp, err error)
- type ServerService
- func (s *ServerService) Detail(ctx context.Context, req *api.DetailReq) (resp *api.DetailResp, err error)
- func (s *ServerService) GetServerSide(ctx context.Context, req *api.GetServerSideReq) (resp *api.GetServerSideResp, err error)
- func (s *ServerService) GetServerState(ctx context.Context, req *api.GetServerStateReq) (resp *api.GetServerStateResp, err error)
- func (s *ServerService) List(ctx context.Context, req *api.ListReq) (resp *api.ListResp, err error)
- func (s *ServerService) ListenResource(ctx context.Context, req *api.ListenResourceReq) (resp *api.ListenResourceResp, err error)
- func (s *ServerService) OperateServer(ctx context.Context, req *api.OperateServerReq) (resp *api.OperateServerResp, err error)
- func (s *ServerService) ServerInteraction(ctx context.Context, req *api.ServerInteractionReq) (resp *api.ServerInteractionResp, err error)
- func (s *ServerService) UpdateServerInfo(ctx context.Context, req *api.UpdateServerInfoReq) (resp *api.UpdateServerInfoResp, err error)
- type UserService
- func (u *UserService) Info(ctx context.Context, req *api.InfoReq) (resp *api.InfoResp, err error)
- func (u *UserService) Login(ctx context.Context, req *api.LoginReq) (resp *api.LoginResp, err error)
- func (u *UserService) Logout(ctx context.Context, req *api.LogoutReq) (resp *api.LogoutResp, err error)
- func (u *UserService) Update(ctx context.Context, req *api.UpdateReq) (resp *api.UpdateResp, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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) 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) 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)
Click to show internal directories.
Click to hide internal directories.