Documentation
¶
Overview ¶
Package api is a generated gin stub package. This code was generated with protoc-gen-lightbrother.
It is generated from these files:
admin.proto
Package api is a generated gin stub package. This code was generated with protoc-gen-lightbrother.
It is generated from these files:
server.proto
Package api is a generated gin stub package. This code was generated with protoc-gen-lightbrother.
It is generated from these files:
user.proto
Index ¶
- Constants
- Variables
- func RegisterAdminAdminGinServer(e *gin.Engine, server AdminGinServer)
- func RegisterAdminAuthMiddleware(f gin.HandlerFunc)
- func RegisterAdminServer(s *grpc.Server, srv AdminServer)
- func RegisterMcServerServer(s *grpc.Server, srv McServerServer)
- func RegisterServerAuthMiddleware(f gin.HandlerFunc)
- func RegisterServerMcServerGinServer(e *gin.Engine, server McServerGinServer)
- func RegisterUserAuthMiddleware(f gin.HandlerFunc)
- func RegisterUserServer(s *grpc.Server, srv UserServer)
- func RegisterUserUserGinServer(e *gin.Engine, server UserGinServer)
- type AddUpToContainerReq
- func (*AddUpToContainerReq) Descriptor() ([]byte, []int)
- func (*AddUpToContainerReq) ProtoMessage()
- func (m *AddUpToContainerReq) Reset()
- func (m *AddUpToContainerReq) String() string
- func (m *AddUpToContainerReq) XXX_DiscardUnknown()
- func (m *AddUpToContainerReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddUpToContainerReq) XXX_Merge(src proto.Message)
- func (m *AddUpToContainerReq) XXX_Size() int
- func (m *AddUpToContainerReq) XXX_Unmarshal(b []byte) error
- type AddUpToContainerResp
- func (*AddUpToContainerResp) Descriptor() ([]byte, []int)
- func (*AddUpToContainerResp) ProtoMessage()
- func (m *AddUpToContainerResp) Reset()
- func (m *AddUpToContainerResp) String() string
- func (m *AddUpToContainerResp) XXX_DiscardUnknown()
- func (m *AddUpToContainerResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddUpToContainerResp) XXX_Merge(src proto.Message)
- func (m *AddUpToContainerResp) XXX_Size() int
- func (m *AddUpToContainerResp) XXX_Unmarshal(b []byte) error
- type AdminClient
- type AdminGinServer
- type AdminServer
- type CloseMcdReq
- func (*CloseMcdReq) Descriptor() ([]byte, []int)
- func (*CloseMcdReq) ProtoMessage()
- func (m *CloseMcdReq) Reset()
- func (m *CloseMcdReq) String() string
- func (m *CloseMcdReq) XXX_DiscardUnknown()
- func (m *CloseMcdReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CloseMcdReq) XXX_Merge(src proto.Message)
- func (m *CloseMcdReq) XXX_Size() int
- func (m *CloseMcdReq) XXX_Unmarshal(b []byte) error
- type CloseMcdResp
- func (*CloseMcdResp) Descriptor() ([]byte, []int)
- func (*CloseMcdResp) ProtoMessage()
- func (m *CloseMcdResp) Reset()
- func (m *CloseMcdResp) String() string
- func (m *CloseMcdResp) XXX_DiscardUnknown()
- func (m *CloseMcdResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CloseMcdResp) XXX_Merge(src proto.Message)
- func (m *CloseMcdResp) XXX_Size() int
- func (m *CloseMcdResp) XXX_Unmarshal(b []byte) error
- type DelTmpFlieReq
- func (*DelTmpFlieReq) Descriptor() ([]byte, []int)
- func (*DelTmpFlieReq) ProtoMessage()
- func (m *DelTmpFlieReq) Reset()
- func (m *DelTmpFlieReq) String() string
- func (m *DelTmpFlieReq) XXX_DiscardUnknown()
- func (m *DelTmpFlieReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelTmpFlieReq) XXX_Merge(src proto.Message)
- func (m *DelTmpFlieReq) XXX_Size() int
- func (m *DelTmpFlieReq) XXX_Unmarshal(b []byte) error
- type DelTmpFlieResp
- func (*DelTmpFlieResp) Descriptor() ([]byte, []int)
- func (*DelTmpFlieResp) ProtoMessage()
- func (m *DelTmpFlieResp) Reset()
- func (m *DelTmpFlieResp) String() string
- func (m *DelTmpFlieResp) XXX_DiscardUnknown()
- func (m *DelTmpFlieResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelTmpFlieResp) XXX_Merge(src proto.Message)
- func (m *DelTmpFlieResp) XXX_Size() int
- func (m *DelTmpFlieResp) XXX_Unmarshal(b []byte) error
- type DetailReq
- func (*DetailReq) Descriptor() ([]byte, []int)
- func (m *DetailReq) GetId() string
- func (*DetailReq) ProtoMessage()
- func (m *DetailReq) Reset()
- func (m *DetailReq) String() string
- func (m *DetailReq) XXX_DiscardUnknown()
- func (m *DetailReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DetailReq) XXX_Merge(src proto.Message)
- func (m *DetailReq) XXX_Size() int
- func (m *DetailReq) XXX_Unmarshal(b []byte) error
- type DetailResp
- func (*DetailResp) Descriptor() ([]byte, []int)
- func (m *DetailResp) GetCmdStr() []string
- func (m *DetailResp) GetComment() string
- func (m *DetailResp) GetEntryId() string
- func (m *DetailResp) GetGameType() string
- func (m *DetailResp) GetIps() []string
- func (m *DetailResp) GetIsMirror() bool
- func (m *DetailResp) GetIsStartMonitor() bool
- func (m *DetailResp) GetMemory() int64
- func (m *DetailResp) GetName() string
- func (m *DetailResp) GetPluginfo() []*DetailResp_PluginRecord
- func (m *DetailResp) GetPort() int64
- func (m *DetailResp) GetRunPath() string
- func (m *DetailResp) GetSide() string
- func (m *DetailResp) GetState() int64
- func (m *DetailResp) GetVersion() string
- func (*DetailResp) ProtoMessage()
- func (m *DetailResp) Reset()
- func (m *DetailResp) String() string
- func (m *DetailResp) XXX_DiscardUnknown()
- func (m *DetailResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DetailResp) XXX_Merge(src proto.Message)
- func (m *DetailResp) XXX_Size() int
- func (m *DetailResp) XXX_Unmarshal(b []byte) error
- type DetailResp_PluginRecord
- func (*DetailResp_PluginRecord) Descriptor() ([]byte, []int)
- func (m *DetailResp_PluginRecord) GetCommandName() string
- func (m *DetailResp_PluginRecord) GetDescription() string
- func (m *DetailResp_PluginRecord) GetHelpDescription() string
- func (m *DetailResp_PluginRecord) GetId() string
- func (m *DetailResp_PluginRecord) GetIsBan() bool
- func (m *DetailResp_PluginRecord) GetName() string
- func (*DetailResp_PluginRecord) ProtoMessage()
- func (m *DetailResp_PluginRecord) Reset()
- func (m *DetailResp_PluginRecord) String() string
- func (m *DetailResp_PluginRecord) XXX_DiscardUnknown()
- func (m *DetailResp_PluginRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DetailResp_PluginRecord) XXX_Merge(src proto.Message)
- func (m *DetailResp_PluginRecord) XXX_Size() int
- func (m *DetailResp_PluginRecord) XXX_Unmarshal(b []byte) error
- type GetConfigReq
- func (*GetConfigReq) Descriptor() ([]byte, []int)
- func (*GetConfigReq) ProtoMessage()
- func (m *GetConfigReq) Reset()
- func (m *GetConfigReq) String() string
- func (m *GetConfigReq) XXX_DiscardUnknown()
- func (m *GetConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetConfigReq) XXX_Merge(src proto.Message)
- func (m *GetConfigReq) XXX_Size() int
- func (m *GetConfigReq) XXX_Unmarshal(b []byte) error
- type GetConfigResp
- func (*GetConfigResp) Descriptor() ([]byte, []int)
- func (m *GetConfigResp) GetList() []*GetConfigResp_Record
- func (*GetConfigResp) ProtoMessage()
- func (m *GetConfigResp) Reset()
- func (m *GetConfigResp) String() string
- func (m *GetConfigResp) XXX_DiscardUnknown()
- func (m *GetConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetConfigResp) XXX_Merge(src proto.Message)
- func (m *GetConfigResp) XXX_Size() int
- func (m *GetConfigResp) XXX_Unmarshal(b []byte) error
- type GetConfigResp_Record
- func (*GetConfigResp_Record) Descriptor() ([]byte, []int)
- func (m *GetConfigResp_Record) GetConfVal() string
- func (m *GetConfigResp_Record) GetDescription() string
- func (m *GetConfigResp_Record) GetIsAlterable() bool
- func (m *GetConfigResp_Record) GetLevel() int64
- func (m *GetConfigResp_Record) GetName() string
- func (*GetConfigResp_Record) ProtoMessage()
- func (m *GetConfigResp_Record) Reset()
- func (m *GetConfigResp_Record) String() string
- func (m *GetConfigResp_Record) XXX_DiscardUnknown()
- func (m *GetConfigResp_Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetConfigResp_Record) XXX_Merge(src proto.Message)
- func (m *GetConfigResp_Record) XXX_Size() int
- func (m *GetConfigResp_Record) XXX_Unmarshal(b []byte) error
- type GetConfigValReq
- func (*GetConfigValReq) Descriptor() ([]byte, []int)
- func (m *GetConfigValReq) GetName() string
- func (*GetConfigValReq) ProtoMessage()
- func (m *GetConfigValReq) Reset()
- func (m *GetConfigValReq) String() string
- func (m *GetConfigValReq) XXX_DiscardUnknown()
- func (m *GetConfigValReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetConfigValReq) XXX_Merge(src proto.Message)
- func (m *GetConfigValReq) XXX_Size() int
- func (m *GetConfigValReq) XXX_Unmarshal(b []byte) error
- type GetConfigValResp
- func (*GetConfigValResp) Descriptor() ([]byte, []int)
- func (m *GetConfigValResp) GetConfVal() string
- func (m *GetConfigValResp) GetDescription() string
- func (m *GetConfigValResp) GetIsAlterable() bool
- func (m *GetConfigValResp) GetLevel() int64
- func (m *GetConfigValResp) GetName() string
- func (*GetConfigValResp) ProtoMessage()
- func (m *GetConfigValResp) Reset()
- func (m *GetConfigValResp) String() string
- func (m *GetConfigValResp) XXX_DiscardUnknown()
- func (m *GetConfigValResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetConfigValResp) XXX_Merge(src proto.Message)
- func (m *GetConfigValResp) XXX_Size() int
- func (m *GetConfigValResp) XXX_Unmarshal(b []byte) error
- type GetLogReq
- func (*GetLogReq) Descriptor() ([]byte, []int)
- func (m *GetLogReq) GetId() string
- func (m *GetLogReq) GetType() int64
- func (*GetLogReq) ProtoMessage()
- func (m *GetLogReq) Reset()
- func (m *GetLogReq) String() string
- func (m *GetLogReq) XXX_DiscardUnknown()
- func (m *GetLogReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetLogReq) XXX_Merge(src proto.Message)
- func (m *GetLogReq) XXX_Size() int
- func (m *GetLogReq) XXX_Unmarshal(b []byte) error
- type GetLogResp
- func (*GetLogResp) Descriptor() ([]byte, []int)
- func (*GetLogResp) ProtoMessage()
- func (m *GetLogResp) Reset()
- func (m *GetLogResp) String() string
- func (m *GetLogResp) XXX_DiscardUnknown()
- func (m *GetLogResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetLogResp) XXX_Merge(src proto.Message)
- func (m *GetLogResp) XXX_Size() int
- func (m *GetLogResp) XXX_Unmarshal(b []byte) error
- type GetServerSideReq
- func (*GetServerSideReq) Descriptor() ([]byte, []int)
- func (*GetServerSideReq) ProtoMessage()
- func (m *GetServerSideReq) Reset()
- func (m *GetServerSideReq) String() string
- func (m *GetServerSideReq) XXX_DiscardUnknown()
- func (m *GetServerSideReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetServerSideReq) XXX_Merge(src proto.Message)
- func (m *GetServerSideReq) XXX_Size() int
- func (m *GetServerSideReq) XXX_Unmarshal(b []byte) error
- type GetServerSideResp
- func (*GetServerSideResp) Descriptor() ([]byte, []int)
- func (m *GetServerSideResp) GetServerSides() []string
- func (*GetServerSideResp) ProtoMessage()
- func (m *GetServerSideResp) Reset()
- func (m *GetServerSideResp) String() string
- func (m *GetServerSideResp) XXX_DiscardUnknown()
- func (m *GetServerSideResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetServerSideResp) XXX_Merge(src proto.Message)
- func (m *GetServerSideResp) XXX_Size() int
- func (m *GetServerSideResp) XXX_Unmarshal(b []byte) error
- type GetServerStateReq
- func (*GetServerStateReq) Descriptor() ([]byte, []int)
- func (m *GetServerStateReq) GetId() string
- func (*GetServerStateReq) ProtoMessage()
- func (m *GetServerStateReq) Reset()
- func (m *GetServerStateReq) String() string
- func (m *GetServerStateReq) XXX_DiscardUnknown()
- func (m *GetServerStateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetServerStateReq) XXX_Merge(src proto.Message)
- func (m *GetServerStateReq) XXX_Size() int
- func (m *GetServerStateReq) XXX_Unmarshal(b []byte) error
- type GetServerStateResp
- func (*GetServerStateResp) Descriptor() ([]byte, []int)
- func (m *GetServerStateResp) GetState() int64
- func (*GetServerStateResp) ProtoMessage()
- func (m *GetServerStateResp) Reset()
- func (m *GetServerStateResp) String() string
- func (m *GetServerStateResp) XXX_DiscardUnknown()
- func (m *GetServerStateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetServerStateResp) XXX_Merge(src proto.Message)
- func (m *GetServerStateResp) XXX_Size() int
- func (m *GetServerStateResp) XXX_Unmarshal(b []byte) error
- type InfoReq
- func (*InfoReq) Descriptor() ([]byte, []int)
- func (*InfoReq) ProtoMessage()
- func (m *InfoReq) Reset()
- func (m *InfoReq) String() string
- func (m *InfoReq) XXX_DiscardUnknown()
- func (m *InfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InfoReq) XXX_Merge(src proto.Message)
- func (m *InfoReq) XXX_Size() int
- func (m *InfoReq) XXX_Unmarshal(b []byte) error
- type InfoResp
- func (*InfoResp) Descriptor() ([]byte, []int)
- func (m *InfoResp) GetAccount() string
- func (m *InfoResp) GetAvatar() string
- func (m *InfoResp) GetNickname() string
- func (m *InfoResp) GetPassword() string
- func (m *InfoResp) GetRoles() []string
- func (*InfoResp) ProtoMessage()
- func (m *InfoResp) Reset()
- func (m *InfoResp) String() string
- func (m *InfoResp) XXX_DiscardUnknown()
- func (m *InfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InfoResp) XXX_Merge(src proto.Message)
- func (m *InfoResp) XXX_Size() int
- func (m *InfoResp) XXX_Unmarshal(b []byte) error
- type ListReq
- func (*ListReq) Descriptor() ([]byte, []int)
- func (*ListReq) ProtoMessage()
- func (m *ListReq) Reset()
- func (m *ListReq) String() string
- func (m *ListReq) XXX_DiscardUnknown()
- func (m *ListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListReq) XXX_Merge(src proto.Message)
- func (m *ListReq) XXX_Size() int
- func (m *ListReq) XXX_Unmarshal(b []byte) error
- type ListResp
- func (*ListResp) Descriptor() ([]byte, []int)
- func (m *ListResp) GetList() []*ListResp_Record
- func (*ListResp) ProtoMessage()
- func (m *ListResp) Reset()
- func (m *ListResp) String() string
- func (m *ListResp) XXX_DiscardUnknown()
- func (m *ListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListResp) XXX_Merge(src proto.Message)
- func (m *ListResp) XXX_Size() int
- func (m *ListResp) XXX_Unmarshal(b []byte) error
- type ListResp_Record
- func (*ListResp_Record) Descriptor() ([]byte, []int)
- func (m *ListResp_Record) GetCmdStr() []string
- func (m *ListResp_Record) GetComment() string
- func (m *ListResp_Record) GetEntryId() string
- func (m *ListResp_Record) GetGameType() string
- func (m *ListResp_Record) GetIps() []string
- func (m *ListResp_Record) GetIsMirror() bool
- func (m *ListResp_Record) GetIsStartMonitor() bool
- func (m *ListResp_Record) GetMemory() int64
- func (m *ListResp_Record) GetName() string
- func (m *ListResp_Record) GetPort() int64
- func (m *ListResp_Record) GetRunPath() string
- func (m *ListResp_Record) GetSide() string
- func (m *ListResp_Record) GetState() int64
- func (m *ListResp_Record) GetVersion() string
- func (*ListResp_Record) ProtoMessage()
- func (m *ListResp_Record) Reset()
- func (m *ListResp_Record) String() string
- func (m *ListResp_Record) XXX_DiscardUnknown()
- func (m *ListResp_Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListResp_Record) XXX_Merge(src proto.Message)
- func (m *ListResp_Record) XXX_Size() int
- func (m *ListResp_Record) XXX_Unmarshal(b []byte) error
- type ListenResourceReq
- func (*ListenResourceReq) Descriptor() ([]byte, []int)
- func (m *ListenResourceReq) GetId() string
- func (*ListenResourceReq) ProtoMessage()
- func (m *ListenResourceReq) Reset()
- func (m *ListenResourceReq) String() string
- func (m *ListenResourceReq) XXX_DiscardUnknown()
- func (m *ListenResourceReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListenResourceReq) XXX_Merge(src proto.Message)
- func (m *ListenResourceReq) XXX_Size() int
- func (m *ListenResourceReq) XXX_Unmarshal(b []byte) error
- type ListenResourceResp
- func (*ListenResourceResp) Descriptor() ([]byte, []int)
- func (*ListenResourceResp) ProtoMessage()
- func (m *ListenResourceResp) Reset()
- func (m *ListenResourceResp) String() string
- func (m *ListenResourceResp) XXX_DiscardUnknown()
- func (m *ListenResourceResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListenResourceResp) XXX_Merge(src proto.Message)
- func (m *ListenResourceResp) XXX_Size() int
- func (m *ListenResourceResp) XXX_Unmarshal(b []byte) error
- type LoginReq
- func (*LoginReq) Descriptor() ([]byte, []int)
- func (m *LoginReq) GetAccount() string
- func (m *LoginReq) GetPassword() string
- func (*LoginReq) ProtoMessage()
- func (m *LoginReq) Reset()
- func (m *LoginReq) String() string
- func (m *LoginReq) XXX_DiscardUnknown()
- func (m *LoginReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoginReq) XXX_Merge(src proto.Message)
- func (m *LoginReq) XXX_Size() int
- func (m *LoginReq) XXX_Unmarshal(b []byte) error
- type LoginResp
- func (*LoginResp) Descriptor() ([]byte, []int)
- func (m *LoginResp) GetToken() string
- func (*LoginResp) ProtoMessage()
- func (m *LoginResp) Reset()
- func (m *LoginResp) String() string
- func (m *LoginResp) XXX_DiscardUnknown()
- func (m *LoginResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoginResp) XXX_Merge(src proto.Message)
- func (m *LoginResp) XXX_Size() int
- func (m *LoginResp) XXX_Unmarshal(b []byte) error
- type LogoutReq
- func (*LogoutReq) Descriptor() ([]byte, []int)
- func (*LogoutReq) ProtoMessage()
- func (m *LogoutReq) Reset()
- func (m *LogoutReq) String() string
- func (m *LogoutReq) XXX_DiscardUnknown()
- func (m *LogoutReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogoutReq) XXX_Merge(src proto.Message)
- func (m *LogoutReq) XXX_Size() int
- func (m *LogoutReq) XXX_Unmarshal(b []byte) error
- type LogoutResp
- func (*LogoutResp) Descriptor() ([]byte, []int)
- func (*LogoutResp) ProtoMessage()
- func (m *LogoutResp) Reset()
- func (m *LogoutResp) String() string
- func (m *LogoutResp) XXX_DiscardUnknown()
- func (m *LogoutResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogoutResp) XXX_Merge(src proto.Message)
- func (m *LogoutResp) XXX_Size() int
- func (m *LogoutResp) XXX_Unmarshal(b []byte) error
- type McServerClient
- type McServerGinServer
- type McServerServer
- type OperatePluginReq
- func (*OperatePluginReq) Descriptor() ([]byte, []int)
- func (m *OperatePluginReq) GetOperateType() int64
- func (m *OperatePluginReq) GetPluginId() []string
- func (m *OperatePluginReq) GetServerId() string
- func (*OperatePluginReq) ProtoMessage()
- func (m *OperatePluginReq) Reset()
- func (m *OperatePluginReq) String() string
- func (m *OperatePluginReq) XXX_DiscardUnknown()
- func (m *OperatePluginReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OperatePluginReq) XXX_Merge(src proto.Message)
- func (m *OperatePluginReq) XXX_Size() int
- func (m *OperatePluginReq) XXX_Unmarshal(b []byte) error
- type OperatePluginResp
- func (*OperatePluginResp) Descriptor() ([]byte, []int)
- func (*OperatePluginResp) ProtoMessage()
- func (m *OperatePluginResp) Reset()
- func (m *OperatePluginResp) String() string
- func (m *OperatePluginResp) XXX_DiscardUnknown()
- func (m *OperatePluginResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OperatePluginResp) XXX_Merge(src proto.Message)
- func (m *OperatePluginResp) XXX_Size() int
- func (m *OperatePluginResp) XXX_Unmarshal(b []byte) error
- type OperateServerReq
- func (*OperateServerReq) Descriptor() ([]byte, []int)
- func (m *OperateServerReq) GetOperateType() int64
- func (m *OperateServerReq) GetServerId() []string
- func (*OperateServerReq) ProtoMessage()
- func (m *OperateServerReq) Reset()
- func (m *OperateServerReq) String() string
- func (m *OperateServerReq) XXX_DiscardUnknown()
- func (m *OperateServerReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OperateServerReq) XXX_Merge(src proto.Message)
- func (m *OperateServerReq) XXX_Size() int
- func (m *OperateServerReq) XXX_Unmarshal(b []byte) error
- type OperateServerResp
- func (*OperateServerResp) Descriptor() ([]byte, []int)
- func (*OperateServerResp) ProtoMessage()
- func (m *OperateServerResp) Reset()
- func (m *OperateServerResp) String() string
- func (m *OperateServerResp) XXX_DiscardUnknown()
- func (m *OperateServerResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OperateServerResp) XXX_Merge(src proto.Message)
- func (m *OperateServerResp) XXX_Size() int
- func (m *OperateServerResp) XXX_Unmarshal(b []byte) error
- type RunCommandReq
- func (*RunCommandReq) Descriptor() ([]byte, []int)
- func (m *RunCommandReq) GetCommand() string
- func (m *RunCommandReq) GetServerId() string
- func (m *RunCommandReq) GetType() int64
- func (*RunCommandReq) ProtoMessage()
- func (m *RunCommandReq) Reset()
- func (m *RunCommandReq) String() string
- func (m *RunCommandReq) XXX_DiscardUnknown()
- func (m *RunCommandReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RunCommandReq) XXX_Merge(src proto.Message)
- func (m *RunCommandReq) XXX_Size() int
- func (m *RunCommandReq) XXX_Unmarshal(b []byte) error
- type RunCommandResp
- func (*RunCommandResp) Descriptor() ([]byte, []int)
- func (*RunCommandResp) ProtoMessage()
- func (m *RunCommandResp) Reset()
- func (m *RunCommandResp) String() string
- func (m *RunCommandResp) XXX_DiscardUnknown()
- func (m *RunCommandResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RunCommandResp) XXX_Merge(src proto.Message)
- func (m *RunCommandResp) XXX_Size() int
- func (m *RunCommandResp) XXX_Unmarshal(b []byte) error
- type ServerInteractionReq
- func (*ServerInteractionReq) Descriptor() ([]byte, []int)
- func (m *ServerInteractionReq) GetId() string
- func (*ServerInteractionReq) ProtoMessage()
- func (m *ServerInteractionReq) Reset()
- func (m *ServerInteractionReq) String() string
- func (m *ServerInteractionReq) XXX_DiscardUnknown()
- func (m *ServerInteractionReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerInteractionReq) XXX_Merge(src proto.Message)
- func (m *ServerInteractionReq) XXX_Size() int
- func (m *ServerInteractionReq) XXX_Unmarshal(b []byte) error
- type ServerInteractionResp
- func (*ServerInteractionResp) Descriptor() ([]byte, []int)
- func (*ServerInteractionResp) ProtoMessage()
- func (m *ServerInteractionResp) Reset()
- func (m *ServerInteractionResp) String() string
- func (m *ServerInteractionResp) XXX_DiscardUnknown()
- func (m *ServerInteractionResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerInteractionResp) XXX_Merge(src proto.Message)
- func (m *ServerInteractionResp) XXX_Size() int
- func (m *ServerInteractionResp) XXX_Unmarshal(b []byte) error
- type UnimplementedAdminServer
- func (*UnimplementedAdminServer) AddUpToContainer(ctx context.Context, req *AddUpToContainerReq) (*AddUpToContainerResp, error)
- func (*UnimplementedAdminServer) CloseMcd(ctx context.Context, req *CloseMcdReq) (*CloseMcdResp, error)
- func (*UnimplementedAdminServer) DelTmpFlie(ctx context.Context, req *DelTmpFlieReq) (*DelTmpFlieResp, error)
- func (*UnimplementedAdminServer) GetConfig(ctx context.Context, req *GetConfigReq) (*GetConfigResp, error)
- func (*UnimplementedAdminServer) GetConfigVal(ctx context.Context, req *GetConfigValReq) (*GetConfigValResp, error)
- func (*UnimplementedAdminServer) GetLog(ctx context.Context, req *GetLogReq) (*GetLogResp, error)
- func (*UnimplementedAdminServer) OperatePlugin(ctx context.Context, req *OperatePluginReq) (*OperatePluginResp, error)
- func (*UnimplementedAdminServer) RunCommand(ctx context.Context, req *RunCommandReq) (*RunCommandResp, error)
- func (*UnimplementedAdminServer) UpdateConfig(ctx context.Context, req *UpdateConfigReq) (*UpdateConfigResp, error)
- type UnimplementedMcServerServer
- func (*UnimplementedMcServerServer) Detail(ctx context.Context, req *DetailReq) (*DetailResp, error)
- func (*UnimplementedMcServerServer) GetServerSide(ctx context.Context, req *GetServerSideReq) (*GetServerSideResp, error)
- func (*UnimplementedMcServerServer) GetServerState(ctx context.Context, req *GetServerStateReq) (*GetServerStateResp, error)
- func (*UnimplementedMcServerServer) List(ctx context.Context, req *ListReq) (*ListResp, error)
- func (*UnimplementedMcServerServer) ListenResource(ctx context.Context, req *ListenResourceReq) (*ListenResourceResp, error)
- func (*UnimplementedMcServerServer) OperateServer(ctx context.Context, req *OperateServerReq) (*OperateServerResp, error)
- func (*UnimplementedMcServerServer) ServerInteraction(ctx context.Context, req *ServerInteractionReq) (*ServerInteractionResp, error)
- func (*UnimplementedMcServerServer) UpdateServerInfo(ctx context.Context, req *UpdateServerInfoReq) (*UpdateServerInfoResp, error)
- type UnimplementedUserServer
- func (*UnimplementedUserServer) Info(ctx context.Context, req *InfoReq) (*InfoResp, error)
- func (*UnimplementedUserServer) Login(ctx context.Context, req *LoginReq) (*LoginResp, error)
- func (*UnimplementedUserServer) Logout(ctx context.Context, req *LogoutReq) (*LogoutResp, error)
- func (*UnimplementedUserServer) Update(ctx context.Context, req *UpdateReq) (*UpdateResp, error)
- type UpdateConfigReq
- func (*UpdateConfigReq) Descriptor() ([]byte, []int)
- func (m *UpdateConfigReq) GetList() []*UpdateConfigReq_Record
- func (*UpdateConfigReq) ProtoMessage()
- func (m *UpdateConfigReq) Reset()
- func (m *UpdateConfigReq) String() string
- func (m *UpdateConfigReq) XXX_DiscardUnknown()
- func (m *UpdateConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateConfigReq) XXX_Merge(src proto.Message)
- func (m *UpdateConfigReq) XXX_Size() int
- func (m *UpdateConfigReq) XXX_Unmarshal(b []byte) error
- type UpdateConfigReq_Record
- func (*UpdateConfigReq_Record) Descriptor() ([]byte, []int)
- func (m *UpdateConfigReq_Record) GetConfVal() string
- func (m *UpdateConfigReq_Record) GetDescription() string
- func (m *UpdateConfigReq_Record) GetIsAlterable() bool
- func (m *UpdateConfigReq_Record) GetLevel() int64
- func (m *UpdateConfigReq_Record) GetName() string
- func (*UpdateConfigReq_Record) ProtoMessage()
- func (m *UpdateConfigReq_Record) Reset()
- func (m *UpdateConfigReq_Record) String() string
- func (m *UpdateConfigReq_Record) XXX_DiscardUnknown()
- func (m *UpdateConfigReq_Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateConfigReq_Record) XXX_Merge(src proto.Message)
- func (m *UpdateConfigReq_Record) XXX_Size() int
- func (m *UpdateConfigReq_Record) XXX_Unmarshal(b []byte) error
- type UpdateConfigResp
- func (*UpdateConfigResp) Descriptor() ([]byte, []int)
- func (*UpdateConfigResp) ProtoMessage()
- func (m *UpdateConfigResp) Reset()
- func (m *UpdateConfigResp) String() string
- func (m *UpdateConfigResp) XXX_DiscardUnknown()
- func (m *UpdateConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateConfigResp) XXX_Merge(src proto.Message)
- func (m *UpdateConfigResp) XXX_Size() int
- func (m *UpdateConfigResp) XXX_Unmarshal(b []byte) error
- type UpdateReq
- func (*UpdateReq) Descriptor() ([]byte, []int)
- func (m *UpdateReq) GetAccount() string
- func (m *UpdateReq) GetAvatar() string
- func (m *UpdateReq) GetNickname() string
- func (m *UpdateReq) GetPassword() string
- func (m *UpdateReq) GetRoles() []string
- func (*UpdateReq) ProtoMessage()
- func (m *UpdateReq) Reset()
- func (m *UpdateReq) String() string
- func (m *UpdateReq) XXX_DiscardUnknown()
- func (m *UpdateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateReq) XXX_Merge(src proto.Message)
- func (m *UpdateReq) XXX_Size() int
- func (m *UpdateReq) XXX_Unmarshal(b []byte) error
- type UpdateResp
- func (*UpdateResp) Descriptor() ([]byte, []int)
- func (*UpdateResp) ProtoMessage()
- func (m *UpdateResp) Reset()
- func (m *UpdateResp) String() string
- func (m *UpdateResp) XXX_DiscardUnknown()
- func (m *UpdateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateResp) XXX_Merge(src proto.Message)
- func (m *UpdateResp) XXX_Size() int
- func (m *UpdateResp) XXX_Unmarshal(b []byte) error
- type UpdateServerInfoReq
- func (*UpdateServerInfoReq) Descriptor() ([]byte, []int)
- func (m *UpdateServerInfoReq) GetCmdStr() []string
- func (m *UpdateServerInfoReq) GetComment() string
- func (m *UpdateServerInfoReq) GetEntryId() string
- func (m *UpdateServerInfoReq) GetGameType() string
- func (m *UpdateServerInfoReq) GetIps() []string
- func (m *UpdateServerInfoReq) GetIsMirror() bool
- func (m *UpdateServerInfoReq) GetIsStartMonitor() bool
- func (m *UpdateServerInfoReq) GetMemory() int64
- func (m *UpdateServerInfoReq) GetName() string
- func (m *UpdateServerInfoReq) GetPort() int64
- func (m *UpdateServerInfoReq) GetRunPath() string
- func (m *UpdateServerInfoReq) GetSide() string
- func (m *UpdateServerInfoReq) GetState() int64
- func (m *UpdateServerInfoReq) GetVersion() string
- func (*UpdateServerInfoReq) ProtoMessage()
- func (m *UpdateServerInfoReq) Reset()
- func (m *UpdateServerInfoReq) String() string
- func (m *UpdateServerInfoReq) XXX_DiscardUnknown()
- func (m *UpdateServerInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateServerInfoReq) XXX_Merge(src proto.Message)
- func (m *UpdateServerInfoReq) XXX_Size() int
- func (m *UpdateServerInfoReq) XXX_Unmarshal(b []byte) error
- type UpdateServerInfoResp
- func (*UpdateServerInfoResp) Descriptor() ([]byte, []int)
- func (*UpdateServerInfoResp) ProtoMessage()
- func (m *UpdateServerInfoResp) Reset()
- func (m *UpdateServerInfoResp) String() string
- func (m *UpdateServerInfoResp) XXX_DiscardUnknown()
- func (m *UpdateServerInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateServerInfoResp) XXX_Merge(src proto.Message)
- func (m *UpdateServerInfoResp) XXX_Size() int
- func (m *UpdateServerInfoResp) XXX_Unmarshal(b []byte) error
- type UserClient
- type UserGinServer
- type UserServer
Constants ¶
const ADMIN_HTTP_METGOD = "GRPC"
const SERVER_HTTP_METGOD = "GRPC"
const USER_HTTP_METGOD = "GRPC"
Variables ¶
var PathAdminAddUpToContainer = "/most.simple.mcd.Admin/addUpToContainer"
var PathAdminCloseMcd = "/most.simple.mcd.Admin/closeMcd"
var PathAdminDelTmpFlie = "/most.simple.mcd.Admin/delTmpFlie"
var PathAdminGetConfig = "/most.simple.mcd.Admin/getConfig"
var PathAdminGetConfigVal = "/most.simple.mcd.Admin/getConfigVal"
var PathAdminGetLog = "/most.simple.mcd.Admin/getLog"
var PathAdminOperatePlugin = "/most.simple.mcd.Admin/operatePlugin"
var PathAdminRunCommand = "/most.simple.mcd.Admin/runCommand"
var PathAdminUpdateConfig = "/most.simple.mcd.Admin/updateConfig"
var PathMcServerDetail = "/most.simple.mcd.McServer/detail"
var PathMcServerGetServerSide = "/most.simple.mcd.McServer/getServerSide"
var PathMcServerGetServerState = "/most.simple.mcd.McServer/getServerState"
var PathMcServerList = "/most.simple.mcd.McServer/list"
var PathMcServerListenResource = "/most.simple.mcd.McServer/listenResource"
var PathMcServerOperateServer = "/most.simple.mcd.McServer/operateServer"
var PathMcServerServerInteraction = "/most.simple.mcd.McServer/serverInteraction"
var PathMcServerUpdateServerInfo = "/most.simple.mcd.McServer/updateServerInfo"
var PathUserInfo = "/most.simple.mcd.User/info"
var PathUserLogin = "/most.simple.mcd.User/login"
var PathUserLogout = "/most.simple.mcd.User/logout"
var PathUserUpdate = "/most.simple.mcd.User/update"
Functions ¶
func RegisterAdminAdminGinServer ¶
func RegisterAdminAdminGinServer(e *gin.Engine, server AdminGinServer)
func RegisterAdminAuthMiddleware ¶
func RegisterAdminAuthMiddleware(f gin.HandlerFunc)
func RegisterAdminServer ¶
func RegisterAdminServer(s *grpc.Server, srv AdminServer)
func RegisterMcServerServer ¶
func RegisterMcServerServer(s *grpc.Server, srv McServerServer)
func RegisterServerAuthMiddleware ¶
func RegisterServerAuthMiddleware(f gin.HandlerFunc)
func RegisterServerMcServerGinServer ¶
func RegisterServerMcServerGinServer(e *gin.Engine, server McServerGinServer)
func RegisterUserAuthMiddleware ¶
func RegisterUserAuthMiddleware(f gin.HandlerFunc)
func RegisterUserServer ¶
func RegisterUserServer(s *grpc.Server, srv UserServer)
func RegisterUserUserGinServer ¶
func RegisterUserUserGinServer(e *gin.Engine, server UserGinServer)
Types ¶
type AddUpToContainerReq ¶
type AddUpToContainerReq struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AddUpToContainerReq) Descriptor ¶
func (*AddUpToContainerReq) Descriptor() ([]byte, []int)
func (*AddUpToContainerReq) ProtoMessage ¶
func (*AddUpToContainerReq) ProtoMessage()
func (*AddUpToContainerReq) Reset ¶
func (m *AddUpToContainerReq) Reset()
func (*AddUpToContainerReq) String ¶
func (m *AddUpToContainerReq) String() string
func (*AddUpToContainerReq) XXX_DiscardUnknown ¶
func (m *AddUpToContainerReq) XXX_DiscardUnknown()
func (*AddUpToContainerReq) XXX_Marshal ¶
func (m *AddUpToContainerReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddUpToContainerReq) XXX_Merge ¶
func (m *AddUpToContainerReq) XXX_Merge(src proto.Message)
func (*AddUpToContainerReq) XXX_Size ¶
func (m *AddUpToContainerReq) XXX_Size() int
func (*AddUpToContainerReq) XXX_Unmarshal ¶
func (m *AddUpToContainerReq) XXX_Unmarshal(b []byte) error
type AddUpToContainerResp ¶
type AddUpToContainerResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AddUpToContainerResp) Descriptor ¶
func (*AddUpToContainerResp) Descriptor() ([]byte, []int)
func (*AddUpToContainerResp) ProtoMessage ¶
func (*AddUpToContainerResp) ProtoMessage()
func (*AddUpToContainerResp) Reset ¶
func (m *AddUpToContainerResp) Reset()
func (*AddUpToContainerResp) String ¶
func (m *AddUpToContainerResp) String() string
func (*AddUpToContainerResp) XXX_DiscardUnknown ¶
func (m *AddUpToContainerResp) XXX_DiscardUnknown()
func (*AddUpToContainerResp) XXX_Marshal ¶
func (m *AddUpToContainerResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddUpToContainerResp) XXX_Merge ¶
func (m *AddUpToContainerResp) XXX_Merge(src proto.Message)
func (*AddUpToContainerResp) XXX_Size ¶
func (m *AddUpToContainerResp) XXX_Size() int
func (*AddUpToContainerResp) XXX_Unmarshal ¶
func (m *AddUpToContainerResp) XXX_Unmarshal(b []byte) error
type AdminClient ¶
type AdminClient interface {
// 获取配置
// `hasInput:"false"`
GetConfig(ctx context.Context, in *GetConfigReq, opts ...grpc.CallOption) (*GetConfigResp, error)
// 修改配置
UpdateConfig(ctx context.Context, in *UpdateConfigReq, opts ...grpc.CallOption) (*UpdateConfigResp, error)
// 服务端插件操作
OperatePlugin(ctx context.Context, in *OperatePluginReq, opts ...grpc.CallOption) (*OperatePluginResp, error)
// 服务端插件操作
GetConfigVal(ctx context.Context, in *GetConfigValReq, opts ...grpc.CallOption) (*GetConfigValResp, error)
// 向服务端执行一条命令
RunCommand(ctx context.Context, in *RunCommandReq, opts ...grpc.CallOption) (*RunCommandResp, error)
// 获取服务端日志
// `hasInput:"false" hasOutput:"false"`
GetLog(ctx context.Context, in *GetLogReq, opts ...grpc.CallOption) (*GetLogResp, error)
// 删除临时文件
DelTmpFlie(ctx context.Context, in *DelTmpFlieReq, opts ...grpc.CallOption) (*DelTmpFlieResp, error)
// 获取上传服务端文件,并注入到容器中
// `hasInput:"false"`
AddUpToContainer(ctx context.Context, in *AddUpToContainerReq, opts ...grpc.CallOption) (*AddUpToContainerResp, error)
// 关闭mcd
// `hasInput:"false"`
CloseMcd(ctx context.Context, in *CloseMcdReq, opts ...grpc.CallOption) (*CloseMcdResp, error)
}
AdminClient is the client API for Admin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAdminClient ¶
func NewAdminClient(cc grpc.ClientConnInterface) AdminClient
type AdminGinServer ¶
type AdminGinServer interface {
// 获取配置
GetConfig(ctx context.Context, req *GetConfigReq) (resp *GetConfigResp, err error)
// 修改配置
UpdateConfig(ctx context.Context, req *UpdateConfigReq) (resp *UpdateConfigResp, err error)
// 服务端插件操作
OperatePlugin(ctx context.Context, req *OperatePluginReq) (resp *OperatePluginResp, err error)
// 服务端插件操作
GetConfigVal(ctx context.Context, req *GetConfigValReq) (resp *GetConfigValResp, err error)
// 向服务端执行一条命令
RunCommand(ctx context.Context, req *RunCommandReq) (resp *RunCommandResp, err error)
// 获取服务端日志
GetLog(ctx context.Context, req *GetLogReq) (resp *GetLogResp, err error)
// 删除临时文件
DelTmpFlie(ctx context.Context, req *DelTmpFlieReq) (resp *DelTmpFlieResp, err error)
// 获取上传服务端文件,并注入到容器中
AddUpToContainer(ctx context.Context, req *AddUpToContainerReq) (resp *AddUpToContainerResp, err error)
// 关闭mcd
CloseMcd(ctx context.Context, req *CloseMcdReq) (resp *CloseMcdResp, err error)
}
AdminGinServer is the server API for Admin service.
type AdminServer ¶
type AdminServer interface {
// 获取配置
// `hasInput:"false"`
GetConfig(context.Context, *GetConfigReq) (*GetConfigResp, error)
// 修改配置
UpdateConfig(context.Context, *UpdateConfigReq) (*UpdateConfigResp, error)
// 服务端插件操作
OperatePlugin(context.Context, *OperatePluginReq) (*OperatePluginResp, error)
// 服务端插件操作
GetConfigVal(context.Context, *GetConfigValReq) (*GetConfigValResp, error)
// 向服务端执行一条命令
RunCommand(context.Context, *RunCommandReq) (*RunCommandResp, error)
// 获取服务端日志
// `hasInput:"false" hasOutput:"false"`
GetLog(context.Context, *GetLogReq) (*GetLogResp, error)
// 删除临时文件
DelTmpFlie(context.Context, *DelTmpFlieReq) (*DelTmpFlieResp, error)
// 获取上传服务端文件,并注入到容器中
// `hasInput:"false"`
AddUpToContainer(context.Context, *AddUpToContainerReq) (*AddUpToContainerResp, error)
// 关闭mcd
// `hasInput:"false"`
CloseMcd(context.Context, *CloseMcdReq) (*CloseMcdResp, error)
}
AdminServer is the server API for Admin service.
type CloseMcdReq ¶
type CloseMcdReq struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CloseMcdReq) Descriptor ¶
func (*CloseMcdReq) Descriptor() ([]byte, []int)
func (*CloseMcdReq) ProtoMessage ¶
func (*CloseMcdReq) ProtoMessage()
func (*CloseMcdReq) Reset ¶
func (m *CloseMcdReq) Reset()
func (*CloseMcdReq) String ¶
func (m *CloseMcdReq) String() string
func (*CloseMcdReq) XXX_DiscardUnknown ¶
func (m *CloseMcdReq) XXX_DiscardUnknown()
func (*CloseMcdReq) XXX_Marshal ¶
func (m *CloseMcdReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CloseMcdReq) XXX_Merge ¶
func (m *CloseMcdReq) XXX_Merge(src proto.Message)
func (*CloseMcdReq) XXX_Size ¶
func (m *CloseMcdReq) XXX_Size() int
func (*CloseMcdReq) XXX_Unmarshal ¶
func (m *CloseMcdReq) XXX_Unmarshal(b []byte) error
type CloseMcdResp ¶
type CloseMcdResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CloseMcdResp) Descriptor ¶
func (*CloseMcdResp) Descriptor() ([]byte, []int)
func (*CloseMcdResp) ProtoMessage ¶
func (*CloseMcdResp) ProtoMessage()
func (*CloseMcdResp) Reset ¶
func (m *CloseMcdResp) Reset()
func (*CloseMcdResp) String ¶
func (m *CloseMcdResp) String() string
func (*CloseMcdResp) XXX_DiscardUnknown ¶
func (m *CloseMcdResp) XXX_DiscardUnknown()
func (*CloseMcdResp) XXX_Marshal ¶
func (m *CloseMcdResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CloseMcdResp) XXX_Merge ¶
func (m *CloseMcdResp) XXX_Merge(src proto.Message)
func (*CloseMcdResp) XXX_Size ¶
func (m *CloseMcdResp) XXX_Size() int
func (*CloseMcdResp) XXX_Unmarshal ¶
func (m *CloseMcdResp) XXX_Unmarshal(b []byte) error
type DelTmpFlieReq ¶
type DelTmpFlieReq struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DelTmpFlieReq) Descriptor ¶
func (*DelTmpFlieReq) Descriptor() ([]byte, []int)
func (*DelTmpFlieReq) ProtoMessage ¶
func (*DelTmpFlieReq) ProtoMessage()
func (*DelTmpFlieReq) Reset ¶
func (m *DelTmpFlieReq) Reset()
func (*DelTmpFlieReq) String ¶
func (m *DelTmpFlieReq) String() string
func (*DelTmpFlieReq) XXX_DiscardUnknown ¶
func (m *DelTmpFlieReq) XXX_DiscardUnknown()
func (*DelTmpFlieReq) XXX_Marshal ¶
func (m *DelTmpFlieReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelTmpFlieReq) XXX_Merge ¶
func (m *DelTmpFlieReq) XXX_Merge(src proto.Message)
func (*DelTmpFlieReq) XXX_Size ¶
func (m *DelTmpFlieReq) XXX_Size() int
func (*DelTmpFlieReq) XXX_Unmarshal ¶
func (m *DelTmpFlieReq) XXX_Unmarshal(b []byte) error
type DelTmpFlieResp ¶
type DelTmpFlieResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DelTmpFlieResp) Descriptor ¶
func (*DelTmpFlieResp) Descriptor() ([]byte, []int)
func (*DelTmpFlieResp) ProtoMessage ¶
func (*DelTmpFlieResp) ProtoMessage()
func (*DelTmpFlieResp) Reset ¶
func (m *DelTmpFlieResp) Reset()
func (*DelTmpFlieResp) String ¶
func (m *DelTmpFlieResp) String() string
func (*DelTmpFlieResp) XXX_DiscardUnknown ¶
func (m *DelTmpFlieResp) XXX_DiscardUnknown()
func (*DelTmpFlieResp) XXX_Marshal ¶
func (m *DelTmpFlieResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelTmpFlieResp) XXX_Merge ¶
func (m *DelTmpFlieResp) XXX_Merge(src proto.Message)
func (*DelTmpFlieResp) XXX_Size ¶
func (m *DelTmpFlieResp) XXX_Size() int
func (*DelTmpFlieResp) XXX_Unmarshal ¶
func (m *DelTmpFlieResp) XXX_Unmarshal(b []byte) error
type DetailReq ¶
type DetailReq struct {
// 服务端id
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DetailReq) Descriptor ¶
func (*DetailReq) ProtoMessage ¶
func (*DetailReq) ProtoMessage()
func (*DetailReq) XXX_DiscardUnknown ¶
func (m *DetailReq) XXX_DiscardUnknown()
func (*DetailReq) XXX_Marshal ¶
func (*DetailReq) XXX_Unmarshal ¶
type DetailResp ¶
type DetailResp struct {
// 服务端实例id
EntryId string `protobuf:"bytes,1,opt,name=entryId,json=id,proto3" json:"id,omitempty"`
// 服务器名称
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// 执行的完整命令
CmdStr []string `protobuf:"bytes,3,rep,name=cmdStr,json=cmd_str,proto3" json:"cmd_str,omitempty"`
// 启动服务器端口
Port int64 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
// 运行所在工作区间
RunPath string `protobuf:"bytes,5,opt,name=runPath,json=run_rath,proto3" json:"run_rath,omitempty"`
// 是否是镜像服务器
IsMirror bool `protobuf:"varint,6,opt,name=isMirror,json=is_mirror,proto3" json:"is_mirror,omitempty"`
// 是否启动资源监听器
IsStartMonitor bool `protobuf:"varint,7,opt,name=isStartMonitor,json=is_start_monitor,proto3" json:"is_start_monitor,omitempty"`
// 使用内存大小,单位M
Memory int64 `protobuf:"varint,8,opt,name=memory,proto3" json:"memory,omitempty"`
// 服务端版本
Version string `protobuf:"bytes,9,opt,name=version,proto3" json:"version,omitempty"`
// 服务器模式
GameType string `protobuf:"bytes,10,opt,name=gameType,json=game_type,proto3" json:"game_type,omitempty"`
// 启动状态:0.未启动 1.启动 -1.正在启动 -2.正在关闭
State int64 `protobuf:"varint,11,opt,name=state,proto3" json:"state,omitempty"`
// 本机的ip
Ips []string `protobuf:"bytes,12,rep,name=ips,proto3" json:"ips,omitempty"`
// 插件信息
Pluginfo []*DetailResp_PluginRecord `protobuf:"bytes,13,rep,name=pluginfo,json=plugin_info,proto3" json:"plugin_info,omitempty"`
// 服务端类型
Side string `protobuf:"bytes,14,opt,name=side,proto3" json:"side,omitempty"`
// 备注
Comment string `protobuf:"bytes,15,opt,name=comment,proto3" json:"comment,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DetailResp) Descriptor ¶
func (*DetailResp) Descriptor() ([]byte, []int)
func (*DetailResp) GetCmdStr ¶
func (m *DetailResp) GetCmdStr() []string
func (*DetailResp) GetComment ¶
func (m *DetailResp) GetComment() string
func (*DetailResp) GetEntryId ¶
func (m *DetailResp) GetEntryId() string
func (*DetailResp) GetGameType ¶
func (m *DetailResp) GetGameType() string
func (*DetailResp) GetIps ¶
func (m *DetailResp) GetIps() []string
func (*DetailResp) GetIsMirror ¶
func (m *DetailResp) GetIsMirror() bool
func (*DetailResp) GetIsStartMonitor ¶
func (m *DetailResp) GetIsStartMonitor() bool
func (*DetailResp) GetMemory ¶
func (m *DetailResp) GetMemory() int64
func (*DetailResp) GetName ¶
func (m *DetailResp) GetName() string
func (*DetailResp) GetPluginfo ¶
func (m *DetailResp) GetPluginfo() []*DetailResp_PluginRecord
func (*DetailResp) GetPort ¶
func (m *DetailResp) GetPort() int64
func (*DetailResp) GetRunPath ¶
func (m *DetailResp) GetRunPath() string
func (*DetailResp) GetSide ¶
func (m *DetailResp) GetSide() string
func (*DetailResp) GetState ¶
func (m *DetailResp) GetState() int64
func (*DetailResp) GetVersion ¶
func (m *DetailResp) GetVersion() string
func (*DetailResp) ProtoMessage ¶
func (*DetailResp) ProtoMessage()
func (*DetailResp) Reset ¶
func (m *DetailResp) Reset()
func (*DetailResp) String ¶
func (m *DetailResp) String() string
func (*DetailResp) XXX_DiscardUnknown ¶
func (m *DetailResp) XXX_DiscardUnknown()
func (*DetailResp) XXX_Marshal ¶
func (m *DetailResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DetailResp) XXX_Merge ¶
func (m *DetailResp) XXX_Merge(src proto.Message)
func (*DetailResp) XXX_Size ¶
func (m *DetailResp) XXX_Size() int
func (*DetailResp) XXX_Unmarshal ¶
func (m *DetailResp) XXX_Unmarshal(b []byte) error
type DetailResp_PluginRecord ¶
type DetailResp_PluginRecord struct {
// 插件名称
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// 插件id
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// 是否被禁用
IsBan bool `protobuf:"varint,3,opt,name=isBan,json=is_ban,proto3" json:"is_ban,omitempty"`
// 使用命令
CommandName string `protobuf:"bytes,4,opt,name=commandName,json=command_name,proto3" json:"command_name,omitempty"`
// 描述
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// 使用帮助
HelpDescription string `protobuf:"bytes,6,opt,name=helpDescription,json=help_description,proto3" json:"help_description,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DetailResp_PluginRecord) Descriptor ¶
func (*DetailResp_PluginRecord) Descriptor() ([]byte, []int)
func (*DetailResp_PluginRecord) GetCommandName ¶
func (m *DetailResp_PluginRecord) GetCommandName() string
func (*DetailResp_PluginRecord) GetDescription ¶
func (m *DetailResp_PluginRecord) GetDescription() string
func (*DetailResp_PluginRecord) GetHelpDescription ¶
func (m *DetailResp_PluginRecord) GetHelpDescription() string
func (*DetailResp_PluginRecord) GetId ¶
func (m *DetailResp_PluginRecord) GetId() string
func (*DetailResp_PluginRecord) GetIsBan ¶
func (m *DetailResp_PluginRecord) GetIsBan() bool
func (*DetailResp_PluginRecord) GetName ¶
func (m *DetailResp_PluginRecord) GetName() string
func (*DetailResp_PluginRecord) ProtoMessage ¶
func (*DetailResp_PluginRecord) ProtoMessage()
func (*DetailResp_PluginRecord) Reset ¶
func (m *DetailResp_PluginRecord) Reset()
func (*DetailResp_PluginRecord) String ¶
func (m *DetailResp_PluginRecord) String() string
func (*DetailResp_PluginRecord) XXX_DiscardUnknown ¶
func (m *DetailResp_PluginRecord) XXX_DiscardUnknown()
func (*DetailResp_PluginRecord) XXX_Marshal ¶
func (m *DetailResp_PluginRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DetailResp_PluginRecord) XXX_Merge ¶
func (m *DetailResp_PluginRecord) XXX_Merge(src proto.Message)
func (*DetailResp_PluginRecord) XXX_Size ¶
func (m *DetailResp_PluginRecord) XXX_Size() int
func (*DetailResp_PluginRecord) XXX_Unmarshal ¶
func (m *DetailResp_PluginRecord) XXX_Unmarshal(b []byte) error
type GetConfigReq ¶
type GetConfigReq struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetConfigReq) Descriptor ¶
func (*GetConfigReq) Descriptor() ([]byte, []int)
func (*GetConfigReq) ProtoMessage ¶
func (*GetConfigReq) ProtoMessage()
func (*GetConfigReq) Reset ¶
func (m *GetConfigReq) Reset()
func (*GetConfigReq) String ¶
func (m *GetConfigReq) String() string
func (*GetConfigReq) XXX_DiscardUnknown ¶
func (m *GetConfigReq) XXX_DiscardUnknown()
func (*GetConfigReq) XXX_Marshal ¶
func (m *GetConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetConfigReq) XXX_Merge ¶
func (m *GetConfigReq) XXX_Merge(src proto.Message)
func (*GetConfigReq) XXX_Size ¶
func (m *GetConfigReq) XXX_Size() int
func (*GetConfigReq) XXX_Unmarshal ¶
func (m *GetConfigReq) XXX_Unmarshal(b []byte) error
type GetConfigResp ¶
type GetConfigResp struct {
List []*GetConfigResp_Record `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetConfigResp) Descriptor ¶
func (*GetConfigResp) Descriptor() ([]byte, []int)
func (*GetConfigResp) GetList ¶
func (m *GetConfigResp) GetList() []*GetConfigResp_Record
func (*GetConfigResp) ProtoMessage ¶
func (*GetConfigResp) ProtoMessage()
func (*GetConfigResp) Reset ¶
func (m *GetConfigResp) Reset()
func (*GetConfigResp) String ¶
func (m *GetConfigResp) String() string
func (*GetConfigResp) XXX_DiscardUnknown ¶
func (m *GetConfigResp) XXX_DiscardUnknown()
func (*GetConfigResp) XXX_Marshal ¶
func (m *GetConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetConfigResp) XXX_Merge ¶
func (m *GetConfigResp) XXX_Merge(src proto.Message)
func (*GetConfigResp) XXX_Size ¶
func (m *GetConfigResp) XXX_Size() int
func (*GetConfigResp) XXX_Unmarshal ¶
func (m *GetConfigResp) XXX_Unmarshal(b []byte) error
type GetConfigResp_Record ¶
type GetConfigResp_Record struct {
// 配置名称
ConfVal string `protobuf:"bytes,1,opt,name=confVal,json=config_val,proto3" json:"config_val,omitempty"`
// 配置值
Name string `protobuf:"bytes,3,opt,name=name,json=config_key,proto3" json:"config_key,omitempty"`
// 配置等级
Level int64 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"`
// 配置描述
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// 是否在后台可修改
IsAlterable bool `protobuf:"varint,6,opt,name=isAlterable,json=is_alterable,proto3" json:"is_alterable,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetConfigResp_Record) Descriptor ¶
func (*GetConfigResp_Record) Descriptor() ([]byte, []int)
func (*GetConfigResp_Record) GetConfVal ¶
func (m *GetConfigResp_Record) GetConfVal() string
func (*GetConfigResp_Record) GetDescription ¶
func (m *GetConfigResp_Record) GetDescription() string
func (*GetConfigResp_Record) GetIsAlterable ¶
func (m *GetConfigResp_Record) GetIsAlterable() bool
func (*GetConfigResp_Record) GetLevel ¶
func (m *GetConfigResp_Record) GetLevel() int64
func (*GetConfigResp_Record) GetName ¶
func (m *GetConfigResp_Record) GetName() string
func (*GetConfigResp_Record) ProtoMessage ¶
func (*GetConfigResp_Record) ProtoMessage()
func (*GetConfigResp_Record) Reset ¶
func (m *GetConfigResp_Record) Reset()
func (*GetConfigResp_Record) String ¶
func (m *GetConfigResp_Record) String() string
func (*GetConfigResp_Record) XXX_DiscardUnknown ¶
func (m *GetConfigResp_Record) XXX_DiscardUnknown()
func (*GetConfigResp_Record) XXX_Marshal ¶
func (m *GetConfigResp_Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetConfigResp_Record) XXX_Merge ¶
func (m *GetConfigResp_Record) XXX_Merge(src proto.Message)
func (*GetConfigResp_Record) XXX_Size ¶
func (m *GetConfigResp_Record) XXX_Size() int
func (*GetConfigResp_Record) XXX_Unmarshal ¶
func (m *GetConfigResp_Record) XXX_Unmarshal(b []byte) error
type GetConfigValReq ¶
type GetConfigValReq struct {
// 配置名称
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetConfigValReq) Descriptor ¶
func (*GetConfigValReq) Descriptor() ([]byte, []int)
func (*GetConfigValReq) GetName ¶
func (m *GetConfigValReq) GetName() string
func (*GetConfigValReq) ProtoMessage ¶
func (*GetConfigValReq) ProtoMessage()
func (*GetConfigValReq) Reset ¶
func (m *GetConfigValReq) Reset()
func (*GetConfigValReq) String ¶
func (m *GetConfigValReq) String() string
func (*GetConfigValReq) XXX_DiscardUnknown ¶
func (m *GetConfigValReq) XXX_DiscardUnknown()
func (*GetConfigValReq) XXX_Marshal ¶
func (m *GetConfigValReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetConfigValReq) XXX_Merge ¶
func (m *GetConfigValReq) XXX_Merge(src proto.Message)
func (*GetConfigValReq) XXX_Size ¶
func (m *GetConfigValReq) XXX_Size() int
func (*GetConfigValReq) XXX_Unmarshal ¶
func (m *GetConfigValReq) XXX_Unmarshal(b []byte) error
type GetConfigValResp ¶
type GetConfigValResp struct {
// 配置名称
ConfVal string `protobuf:"bytes,1,opt,name=confVal,json=config_val,proto3" json:"config_val,omitempty"`
// 配置值
Name string `protobuf:"bytes,3,opt,name=name,json=config_key,proto3" json:"config_key,omitempty"`
// 配置等级
Level int64 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"`
// 配置描述
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// 是否在后台可修改
IsAlterable bool `protobuf:"varint,6,opt,name=isAlterable,json=is_alterable,proto3" json:"is_alterable,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetConfigValResp) Descriptor ¶
func (*GetConfigValResp) Descriptor() ([]byte, []int)
func (*GetConfigValResp) GetConfVal ¶
func (m *GetConfigValResp) GetConfVal() string
func (*GetConfigValResp) GetDescription ¶
func (m *GetConfigValResp) GetDescription() string
func (*GetConfigValResp) GetIsAlterable ¶
func (m *GetConfigValResp) GetIsAlterable() bool
func (*GetConfigValResp) GetLevel ¶
func (m *GetConfigValResp) GetLevel() int64
func (*GetConfigValResp) GetName ¶
func (m *GetConfigValResp) GetName() string
func (*GetConfigValResp) ProtoMessage ¶
func (*GetConfigValResp) ProtoMessage()
func (*GetConfigValResp) Reset ¶
func (m *GetConfigValResp) Reset()
func (*GetConfigValResp) String ¶
func (m *GetConfigValResp) String() string
func (*GetConfigValResp) XXX_DiscardUnknown ¶
func (m *GetConfigValResp) XXX_DiscardUnknown()
func (*GetConfigValResp) XXX_Marshal ¶
func (m *GetConfigValResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetConfigValResp) XXX_Merge ¶
func (m *GetConfigValResp) XXX_Merge(src proto.Message)
func (*GetConfigValResp) XXX_Size ¶
func (m *GetConfigValResp) XXX_Size() int
func (*GetConfigValResp) XXX_Unmarshal ¶
func (m *GetConfigValResp) XXX_Unmarshal(b []byte) error
type GetLogReq ¶
type GetLogReq struct {
// 日志类型 1. 根据id获取服务端日志 2. gin服务器日志 3. 默认全局日志
Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
// 如果根据id获取服务端日志,则需要传id
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetLogReq) Descriptor ¶
func (*GetLogReq) ProtoMessage ¶
func (*GetLogReq) ProtoMessage()
func (*GetLogReq) XXX_DiscardUnknown ¶
func (m *GetLogReq) XXX_DiscardUnknown()
func (*GetLogReq) XXX_Marshal ¶
func (*GetLogReq) XXX_Unmarshal ¶
type GetLogResp ¶
type GetLogResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetLogResp) Descriptor ¶
func (*GetLogResp) Descriptor() ([]byte, []int)
func (*GetLogResp) ProtoMessage ¶
func (*GetLogResp) ProtoMessage()
func (*GetLogResp) Reset ¶
func (m *GetLogResp) Reset()
func (*GetLogResp) String ¶
func (m *GetLogResp) String() string
func (*GetLogResp) XXX_DiscardUnknown ¶
func (m *GetLogResp) XXX_DiscardUnknown()
func (*GetLogResp) XXX_Marshal ¶
func (m *GetLogResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetLogResp) XXX_Merge ¶
func (m *GetLogResp) XXX_Merge(src proto.Message)
func (*GetLogResp) XXX_Size ¶
func (m *GetLogResp) XXX_Size() int
func (*GetLogResp) XXX_Unmarshal ¶
func (m *GetLogResp) XXX_Unmarshal(b []byte) error
type GetServerSideReq ¶
type GetServerSideReq struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetServerSideReq) Descriptor ¶
func (*GetServerSideReq) Descriptor() ([]byte, []int)
func (*GetServerSideReq) ProtoMessage ¶
func (*GetServerSideReq) ProtoMessage()
func (*GetServerSideReq) Reset ¶
func (m *GetServerSideReq) Reset()
func (*GetServerSideReq) String ¶
func (m *GetServerSideReq) String() string
func (*GetServerSideReq) XXX_DiscardUnknown ¶
func (m *GetServerSideReq) XXX_DiscardUnknown()
func (*GetServerSideReq) XXX_Marshal ¶
func (m *GetServerSideReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetServerSideReq) XXX_Merge ¶
func (m *GetServerSideReq) XXX_Merge(src proto.Message)
func (*GetServerSideReq) XXX_Size ¶
func (m *GetServerSideReq) XXX_Size() int
func (*GetServerSideReq) XXX_Unmarshal ¶
func (m *GetServerSideReq) XXX_Unmarshal(b []byte) error
type GetServerSideResp ¶
type GetServerSideResp struct {
// 支持的服务端数组
ServerSides []string `protobuf:"bytes,1,rep,name=server_sides,json=serverSides,proto3" json:"serverSides,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetServerSideResp) Descriptor ¶
func (*GetServerSideResp) Descriptor() ([]byte, []int)
func (*GetServerSideResp) GetServerSides ¶
func (m *GetServerSideResp) GetServerSides() []string
func (*GetServerSideResp) ProtoMessage ¶
func (*GetServerSideResp) ProtoMessage()
func (*GetServerSideResp) Reset ¶
func (m *GetServerSideResp) Reset()
func (*GetServerSideResp) String ¶
func (m *GetServerSideResp) String() string
func (*GetServerSideResp) XXX_DiscardUnknown ¶
func (m *GetServerSideResp) XXX_DiscardUnknown()
func (*GetServerSideResp) XXX_Marshal ¶
func (m *GetServerSideResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetServerSideResp) XXX_Merge ¶
func (m *GetServerSideResp) XXX_Merge(src proto.Message)
func (*GetServerSideResp) XXX_Size ¶
func (m *GetServerSideResp) XXX_Size() int
func (*GetServerSideResp) XXX_Unmarshal ¶
func (m *GetServerSideResp) XXX_Unmarshal(b []byte) error
type GetServerStateReq ¶
type GetServerStateReq struct {
// 服务端id
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetServerStateReq) Descriptor ¶
func (*GetServerStateReq) Descriptor() ([]byte, []int)
func (*GetServerStateReq) GetId ¶
func (m *GetServerStateReq) GetId() string
func (*GetServerStateReq) ProtoMessage ¶
func (*GetServerStateReq) ProtoMessage()
func (*GetServerStateReq) Reset ¶
func (m *GetServerStateReq) Reset()
func (*GetServerStateReq) String ¶
func (m *GetServerStateReq) String() string
func (*GetServerStateReq) XXX_DiscardUnknown ¶
func (m *GetServerStateReq) XXX_DiscardUnknown()
func (*GetServerStateReq) XXX_Marshal ¶
func (m *GetServerStateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetServerStateReq) XXX_Merge ¶
func (m *GetServerStateReq) XXX_Merge(src proto.Message)
func (*GetServerStateReq) XXX_Size ¶
func (m *GetServerStateReq) XXX_Size() int
func (*GetServerStateReq) XXX_Unmarshal ¶
func (m *GetServerStateReq) XXX_Unmarshal(b []byte) error
type GetServerStateResp ¶
type GetServerStateResp struct {
// 启动状态:0.未启动 1.启动 -1.正在启动 -2.正在关闭
State int64 `protobuf:"varint,1,opt,name=state,proto3" json:"state,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetServerStateResp) Descriptor ¶
func (*GetServerStateResp) Descriptor() ([]byte, []int)
func (*GetServerStateResp) GetState ¶
func (m *GetServerStateResp) GetState() int64
func (*GetServerStateResp) ProtoMessage ¶
func (*GetServerStateResp) ProtoMessage()
func (*GetServerStateResp) Reset ¶
func (m *GetServerStateResp) Reset()
func (*GetServerStateResp) String ¶
func (m *GetServerStateResp) String() string
func (*GetServerStateResp) XXX_DiscardUnknown ¶
func (m *GetServerStateResp) XXX_DiscardUnknown()
func (*GetServerStateResp) XXX_Marshal ¶
func (m *GetServerStateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetServerStateResp) XXX_Merge ¶
func (m *GetServerStateResp) XXX_Merge(src proto.Message)
func (*GetServerStateResp) XXX_Size ¶
func (m *GetServerStateResp) XXX_Size() int
func (*GetServerStateResp) XXX_Unmarshal ¶
func (m *GetServerStateResp) XXX_Unmarshal(b []byte) error
type InfoReq ¶
type InfoReq struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*InfoReq) Descriptor ¶
func (*InfoReq) ProtoMessage ¶
func (*InfoReq) ProtoMessage()
func (*InfoReq) XXX_DiscardUnknown ¶
func (m *InfoReq) XXX_DiscardUnknown()
func (*InfoReq) XXX_Marshal ¶
func (*InfoReq) XXX_Unmarshal ¶
type InfoResp ¶
type InfoResp struct {
// 账号
Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
// 密码
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
// 昵称
Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"`
// 权限
Roles []string `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"`
// 头像
Avatar string `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*InfoResp) Descriptor ¶
func (*InfoResp) GetAccount ¶
func (*InfoResp) GetNickname ¶
func (*InfoResp) GetPassword ¶
func (*InfoResp) ProtoMessage ¶
func (*InfoResp) ProtoMessage()
func (*InfoResp) XXX_DiscardUnknown ¶
func (m *InfoResp) XXX_DiscardUnknown()
func (*InfoResp) XXX_Marshal ¶
func (*InfoResp) XXX_Unmarshal ¶
type ListReq ¶
type ListReq struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ListReq) Descriptor ¶
func (*ListReq) ProtoMessage ¶
func (*ListReq) ProtoMessage()
func (*ListReq) XXX_DiscardUnknown ¶
func (m *ListReq) XXX_DiscardUnknown()
func (*ListReq) XXX_Marshal ¶
func (*ListReq) XXX_Unmarshal ¶
type ListResp ¶
type ListResp struct {
// 服务端配置
List []*ListResp_Record `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ListResp) Descriptor ¶
func (*ListResp) GetList ¶
func (m *ListResp) GetList() []*ListResp_Record
func (*ListResp) ProtoMessage ¶
func (*ListResp) ProtoMessage()
func (*ListResp) XXX_DiscardUnknown ¶
func (m *ListResp) XXX_DiscardUnknown()
func (*ListResp) XXX_Marshal ¶
func (*ListResp) XXX_Unmarshal ¶
type ListResp_Record ¶
type ListResp_Record struct {
// 服务端实例id
EntryId string `protobuf:"bytes,1,opt,name=entryId,json=id,proto3" json:"id,omitempty"`
// 服务器名称
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// 执行的完整命令
CmdStr []string `protobuf:"bytes,3,rep,name=cmdStr,json=cmd_str,proto3" json:"cmd_str,omitempty"`
// 启动服务器端口
Port int64 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
// 运行所在工作区间
RunPath string `protobuf:"bytes,5,opt,name=runPath,json=run_rath,proto3" json:"run_rath,omitempty"`
// 是否是镜像服务器
IsMirror bool `protobuf:"varint,6,opt,name=isMirror,json=is_mirror,proto3" json:"is_mirror,omitempty"`
// 是否启动资源监听器
IsStartMonitor bool `protobuf:"varint,7,opt,name=isStartMonitor,json=is_start_monitor,proto3" json:"is_start_monitor,omitempty"`
// 使用内存大小,单位M
Memory int64 `protobuf:"varint,8,opt,name=memory,proto3" json:"memory,omitempty"`
// 服务端版本
Version string `protobuf:"bytes,9,opt,name=version,proto3" json:"version,omitempty"`
// 服务器模式
GameType string `protobuf:"bytes,10,opt,name=gameType,json=game_type,proto3" json:"game_type,omitempty"`
// 启动状态:0.未启动 1.启动 -1.正在启动 -2.正在关闭
State int64 `protobuf:"varint,11,opt,name=state,proto3" json:"state,omitempty"`
// 本机的ip
Ips []string `protobuf:"bytes,12,rep,name=ips,proto3" json:"ips,omitempty"`
// 服务端类型
Side string `protobuf:"bytes,13,opt,name=side,proto3" json:"side,omitempty"`
// 备注
Comment string `protobuf:"bytes,14,opt,name=comment,proto3" json:"comment,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ListResp_Record) Descriptor ¶
func (*ListResp_Record) Descriptor() ([]byte, []int)
func (*ListResp_Record) GetCmdStr ¶
func (m *ListResp_Record) GetCmdStr() []string
func (*ListResp_Record) GetComment ¶
func (m *ListResp_Record) GetComment() string
func (*ListResp_Record) GetEntryId ¶
func (m *ListResp_Record) GetEntryId() string
func (*ListResp_Record) GetGameType ¶
func (m *ListResp_Record) GetGameType() string
func (*ListResp_Record) GetIps ¶
func (m *ListResp_Record) GetIps() []string
func (*ListResp_Record) GetIsMirror ¶
func (m *ListResp_Record) GetIsMirror() bool
func (*ListResp_Record) GetIsStartMonitor ¶
func (m *ListResp_Record) GetIsStartMonitor() bool
func (*ListResp_Record) GetMemory ¶
func (m *ListResp_Record) GetMemory() int64
func (*ListResp_Record) GetName ¶
func (m *ListResp_Record) GetName() string
func (*ListResp_Record) GetPort ¶
func (m *ListResp_Record) GetPort() int64
func (*ListResp_Record) GetRunPath ¶
func (m *ListResp_Record) GetRunPath() string
func (*ListResp_Record) GetSide ¶
func (m *ListResp_Record) GetSide() string
func (*ListResp_Record) GetState ¶
func (m *ListResp_Record) GetState() int64
func (*ListResp_Record) GetVersion ¶
func (m *ListResp_Record) GetVersion() string
func (*ListResp_Record) ProtoMessage ¶
func (*ListResp_Record) ProtoMessage()
func (*ListResp_Record) Reset ¶
func (m *ListResp_Record) Reset()
func (*ListResp_Record) String ¶
func (m *ListResp_Record) String() string
func (*ListResp_Record) XXX_DiscardUnknown ¶
func (m *ListResp_Record) XXX_DiscardUnknown()
func (*ListResp_Record) XXX_Marshal ¶
func (m *ListResp_Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListResp_Record) XXX_Merge ¶
func (m *ListResp_Record) XXX_Merge(src proto.Message)
func (*ListResp_Record) XXX_Size ¶
func (m *ListResp_Record) XXX_Size() int
func (*ListResp_Record) XXX_Unmarshal ¶
func (m *ListResp_Record) XXX_Unmarshal(b []byte) error
type ListenResourceReq ¶
type ListenResourceReq struct {
// 服务端id
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ListenResourceReq) Descriptor ¶
func (*ListenResourceReq) Descriptor() ([]byte, []int)
func (*ListenResourceReq) GetId ¶
func (m *ListenResourceReq) GetId() string
func (*ListenResourceReq) ProtoMessage ¶
func (*ListenResourceReq) ProtoMessage()
func (*ListenResourceReq) Reset ¶
func (m *ListenResourceReq) Reset()
func (*ListenResourceReq) String ¶
func (m *ListenResourceReq) String() string
func (*ListenResourceReq) XXX_DiscardUnknown ¶
func (m *ListenResourceReq) XXX_DiscardUnknown()
func (*ListenResourceReq) XXX_Marshal ¶
func (m *ListenResourceReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListenResourceReq) XXX_Merge ¶
func (m *ListenResourceReq) XXX_Merge(src proto.Message)
func (*ListenResourceReq) XXX_Size ¶
func (m *ListenResourceReq) XXX_Size() int
func (*ListenResourceReq) XXX_Unmarshal ¶
func (m *ListenResourceReq) XXX_Unmarshal(b []byte) error
type ListenResourceResp ¶
type ListenResourceResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ListenResourceResp) Descriptor ¶
func (*ListenResourceResp) Descriptor() ([]byte, []int)
func (*ListenResourceResp) ProtoMessage ¶
func (*ListenResourceResp) ProtoMessage()
func (*ListenResourceResp) Reset ¶
func (m *ListenResourceResp) Reset()
func (*ListenResourceResp) String ¶
func (m *ListenResourceResp) String() string
func (*ListenResourceResp) XXX_DiscardUnknown ¶
func (m *ListenResourceResp) XXX_DiscardUnknown()
func (*ListenResourceResp) XXX_Marshal ¶
func (m *ListenResourceResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListenResourceResp) XXX_Merge ¶
func (m *ListenResourceResp) XXX_Merge(src proto.Message)
func (*ListenResourceResp) XXX_Size ¶
func (m *ListenResourceResp) XXX_Size() int
func (*ListenResourceResp) XXX_Unmarshal ¶
func (m *ListenResourceResp) XXX_Unmarshal(b []byte) error
type LoginReq ¶
type LoginReq struct {
// 账号
Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
// 密码
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*LoginReq) Descriptor ¶
func (*LoginReq) GetAccount ¶
func (*LoginReq) GetPassword ¶
func (*LoginReq) ProtoMessage ¶
func (*LoginReq) ProtoMessage()
func (*LoginReq) XXX_DiscardUnknown ¶
func (m *LoginReq) XXX_DiscardUnknown()
func (*LoginReq) XXX_Marshal ¶
func (*LoginReq) XXX_Unmarshal ¶
type LoginResp ¶
type LoginResp struct {
// 登录态token
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*LoginResp) Descriptor ¶
func (*LoginResp) ProtoMessage ¶
func (*LoginResp) ProtoMessage()
func (*LoginResp) XXX_DiscardUnknown ¶
func (m *LoginResp) XXX_DiscardUnknown()
func (*LoginResp) XXX_Marshal ¶
func (*LoginResp) XXX_Unmarshal ¶
type LogoutReq ¶
type LogoutReq struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*LogoutReq) Descriptor ¶
func (*LogoutReq) ProtoMessage ¶
func (*LogoutReq) ProtoMessage()
func (*LogoutReq) XXX_DiscardUnknown ¶
func (m *LogoutReq) XXX_DiscardUnknown()
func (*LogoutReq) XXX_Marshal ¶
func (*LogoutReq) XXX_Unmarshal ¶
type LogoutResp ¶
type LogoutResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*LogoutResp) Descriptor ¶
func (*LogoutResp) Descriptor() ([]byte, []int)
func (*LogoutResp) ProtoMessage ¶
func (*LogoutResp) ProtoMessage()
func (*LogoutResp) Reset ¶
func (m *LogoutResp) Reset()
func (*LogoutResp) String ¶
func (m *LogoutResp) String() string
func (*LogoutResp) XXX_DiscardUnknown ¶
func (m *LogoutResp) XXX_DiscardUnknown()
func (*LogoutResp) XXX_Marshal ¶
func (m *LogoutResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LogoutResp) XXX_Merge ¶
func (m *LogoutResp) XXX_Merge(src proto.Message)
func (*LogoutResp) XXX_Size ¶
func (m *LogoutResp) XXX_Size() int
func (*LogoutResp) XXX_Unmarshal ¶
func (m *LogoutResp) XXX_Unmarshal(b []byte) error
type McServerClient ¶
type McServerClient interface {
// 监听服务端消耗资源
// `method:"GET" hasInput:"false" hasOutput:"false"`
ListenResource(ctx context.Context, in *ListenResourceReq, opts ...grpc.CallOption) (*ListenResourceResp, error)
// 服务器交互
// `method:"GET" hasInput:"false" hasOutput:"false"`
ServerInteraction(ctx context.Context, in *ServerInteractionReq, opts ...grpc.CallOption) (*ServerInteractionResp, error)
// 获取服务端信息列表
// `middleware:"auth" hasInput:"false"`
List(ctx context.Context, in *ListReq, opts ...grpc.CallOption) (*ListResp, error)
// 获取服务端信息列表
// `middleware:"auth"`
GetServerState(ctx context.Context, in *GetServerStateReq, opts ...grpc.CallOption) (*GetServerStateResp, error)
// 获取服务端详情
// `middleware:"auth"`
Detail(ctx context.Context, in *DetailReq, opts ...grpc.CallOption) (*DetailResp, error)
// 操作服务端
// `middleware:"auth"`
OperateServer(ctx context.Context, in *OperateServerReq, opts ...grpc.CallOption) (*OperateServerResp, error)
// 修改服务端参数
// `middleware:"auth"`
UpdateServerInfo(ctx context.Context, in *UpdateServerInfoReq, opts ...grpc.CallOption) (*UpdateServerInfoResp, error)
// 获取支持的服务端
// `method:"GET" hasInput:"false" middleware:"auth"`
GetServerSide(ctx context.Context, in *GetServerSideReq, opts ...grpc.CallOption) (*GetServerSideResp, error)
}
McServerClient is the client API for McServer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMcServerClient ¶
func NewMcServerClient(cc grpc.ClientConnInterface) McServerClient
type McServerGinServer ¶
type McServerGinServer interface {
// 监听服务端消耗资源
ListenResource(ctx context.Context, req *ListenResourceReq) (resp *ListenResourceResp, err error)
// 服务器交互
ServerInteraction(ctx context.Context, req *ServerInteractionReq) (resp *ServerInteractionResp, err error)
// 获取服务端信息列表
List(ctx context.Context, req *ListReq) (resp *ListResp, err error)
// 获取服务端信息列表
GetServerState(ctx context.Context, req *GetServerStateReq) (resp *GetServerStateResp, err error)
// 获取服务端详情
Detail(ctx context.Context, req *DetailReq) (resp *DetailResp, err error)
// 操作服务端
OperateServer(ctx context.Context, req *OperateServerReq) (resp *OperateServerResp, err error)
// 修改服务端参数
UpdateServerInfo(ctx context.Context, req *UpdateServerInfoReq) (resp *UpdateServerInfoResp, err error)
// 获取支持的服务端
GetServerSide(ctx context.Context, req *GetServerSideReq) (resp *GetServerSideResp, err error)
}
McServerGinServer is the server API for McServer service.
type McServerServer ¶
type McServerServer interface {
// 监听服务端消耗资源
// `method:"GET" hasInput:"false" hasOutput:"false"`
ListenResource(context.Context, *ListenResourceReq) (*ListenResourceResp, error)
// 服务器交互
// `method:"GET" hasInput:"false" hasOutput:"false"`
ServerInteraction(context.Context, *ServerInteractionReq) (*ServerInteractionResp, error)
// 获取服务端信息列表
// `middleware:"auth" hasInput:"false"`
List(context.Context, *ListReq) (*ListResp, error)
// 获取服务端信息列表
// `middleware:"auth"`
GetServerState(context.Context, *GetServerStateReq) (*GetServerStateResp, error)
// 获取服务端详情
// `middleware:"auth"`
Detail(context.Context, *DetailReq) (*DetailResp, error)
// 操作服务端
// `middleware:"auth"`
OperateServer(context.Context, *OperateServerReq) (*OperateServerResp, error)
// 修改服务端参数
// `middleware:"auth"`
UpdateServerInfo(context.Context, *UpdateServerInfoReq) (*UpdateServerInfoResp, error)
// 获取支持的服务端
// `method:"GET" hasInput:"false" middleware:"auth"`
GetServerSide(context.Context, *GetServerSideReq) (*GetServerSideResp, error)
}
McServerServer is the server API for McServer service.
type OperatePluginReq ¶
type OperatePluginReq struct {
// 服务端id
ServerId string `protobuf:"bytes,1,opt,name=serverId,json=server_id,proto3" json:"server_id,omitempty"`
// 插件id
PluginId []string `protobuf:"bytes,2,rep,name=pluginId,json=plugin_id,proto3" json:"plugin_id,omitempty"`
// 操作类型:1. 启动 2. 停止
OperateType int64 `protobuf:"varint,3,opt,name=operateType,json=operate_type,proto3" json:"operate_type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*OperatePluginReq) Descriptor ¶
func (*OperatePluginReq) Descriptor() ([]byte, []int)
func (*OperatePluginReq) GetOperateType ¶
func (m *OperatePluginReq) GetOperateType() int64
func (*OperatePluginReq) GetPluginId ¶
func (m *OperatePluginReq) GetPluginId() []string
func (*OperatePluginReq) GetServerId ¶
func (m *OperatePluginReq) GetServerId() string
func (*OperatePluginReq) ProtoMessage ¶
func (*OperatePluginReq) ProtoMessage()
func (*OperatePluginReq) Reset ¶
func (m *OperatePluginReq) Reset()
func (*OperatePluginReq) String ¶
func (m *OperatePluginReq) String() string
func (*OperatePluginReq) XXX_DiscardUnknown ¶
func (m *OperatePluginReq) XXX_DiscardUnknown()
func (*OperatePluginReq) XXX_Marshal ¶
func (m *OperatePluginReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OperatePluginReq) XXX_Merge ¶
func (m *OperatePluginReq) XXX_Merge(src proto.Message)
func (*OperatePluginReq) XXX_Size ¶
func (m *OperatePluginReq) XXX_Size() int
func (*OperatePluginReq) XXX_Unmarshal ¶
func (m *OperatePluginReq) XXX_Unmarshal(b []byte) error
type OperatePluginResp ¶
type OperatePluginResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*OperatePluginResp) Descriptor ¶
func (*OperatePluginResp) Descriptor() ([]byte, []int)
func (*OperatePluginResp) ProtoMessage ¶
func (*OperatePluginResp) ProtoMessage()
func (*OperatePluginResp) Reset ¶
func (m *OperatePluginResp) Reset()
func (*OperatePluginResp) String ¶
func (m *OperatePluginResp) String() string
func (*OperatePluginResp) XXX_DiscardUnknown ¶
func (m *OperatePluginResp) XXX_DiscardUnknown()
func (*OperatePluginResp) XXX_Marshal ¶
func (m *OperatePluginResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OperatePluginResp) XXX_Merge ¶
func (m *OperatePluginResp) XXX_Merge(src proto.Message)
func (*OperatePluginResp) XXX_Size ¶
func (m *OperatePluginResp) XXX_Size() int
func (*OperatePluginResp) XXX_Unmarshal ¶
func (m *OperatePluginResp) XXX_Unmarshal(b []byte) error
type OperateServerReq ¶
type OperateServerReq struct {
// 服务端id
ServerId []string `protobuf:"bytes,1,rep,name=serverId,json=id,proto3" json:"id,omitempty"`
// 操作类型:1. 启动 2. 停止 3.重启
OperateType int64 `protobuf:"varint,2,opt,name=operateType,json=operate_type,proto3" json:"operate_type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*OperateServerReq) Descriptor ¶
func (*OperateServerReq) Descriptor() ([]byte, []int)
func (*OperateServerReq) GetOperateType ¶
func (m *OperateServerReq) GetOperateType() int64
func (*OperateServerReq) GetServerId ¶
func (m *OperateServerReq) GetServerId() []string
func (*OperateServerReq) ProtoMessage ¶
func (*OperateServerReq) ProtoMessage()
func (*OperateServerReq) Reset ¶
func (m *OperateServerReq) Reset()
func (*OperateServerReq) String ¶
func (m *OperateServerReq) String() string
func (*OperateServerReq) XXX_DiscardUnknown ¶
func (m *OperateServerReq) XXX_DiscardUnknown()
func (*OperateServerReq) XXX_Marshal ¶
func (m *OperateServerReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OperateServerReq) XXX_Merge ¶
func (m *OperateServerReq) XXX_Merge(src proto.Message)
func (*OperateServerReq) XXX_Size ¶
func (m *OperateServerReq) XXX_Size() int
func (*OperateServerReq) XXX_Unmarshal ¶
func (m *OperateServerReq) XXX_Unmarshal(b []byte) error
type OperateServerResp ¶
type OperateServerResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*OperateServerResp) Descriptor ¶
func (*OperateServerResp) Descriptor() ([]byte, []int)
func (*OperateServerResp) ProtoMessage ¶
func (*OperateServerResp) ProtoMessage()
func (*OperateServerResp) Reset ¶
func (m *OperateServerResp) Reset()
func (*OperateServerResp) String ¶
func (m *OperateServerResp) String() string
func (*OperateServerResp) XXX_DiscardUnknown ¶
func (m *OperateServerResp) XXX_DiscardUnknown()
func (*OperateServerResp) XXX_Marshal ¶
func (m *OperateServerResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OperateServerResp) XXX_Merge ¶
func (m *OperateServerResp) XXX_Merge(src proto.Message)
func (*OperateServerResp) XXX_Size ¶
func (m *OperateServerResp) XXX_Size() int
func (*OperateServerResp) XXX_Unmarshal ¶
func (m *OperateServerResp) XXX_Unmarshal(b []byte) error
type RunCommandReq ¶
type RunCommandReq struct {
// 命令
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
// 服务端id
ServerId string `protobuf:"bytes,2,opt,name=serverId,json=id,proto3" json:"id,omitempty"`
// 1:插件运行命令 2:服务端运行命令 3:插件、服务端都运行
Type int64 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RunCommandReq) Descriptor ¶
func (*RunCommandReq) Descriptor() ([]byte, []int)
func (*RunCommandReq) GetCommand ¶
func (m *RunCommandReq) GetCommand() string
func (*RunCommandReq) GetServerId ¶
func (m *RunCommandReq) GetServerId() string
func (*RunCommandReq) GetType ¶
func (m *RunCommandReq) GetType() int64
func (*RunCommandReq) ProtoMessage ¶
func (*RunCommandReq) ProtoMessage()
func (*RunCommandReq) Reset ¶
func (m *RunCommandReq) Reset()
func (*RunCommandReq) String ¶
func (m *RunCommandReq) String() string
func (*RunCommandReq) XXX_DiscardUnknown ¶
func (m *RunCommandReq) XXX_DiscardUnknown()
func (*RunCommandReq) XXX_Marshal ¶
func (m *RunCommandReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RunCommandReq) XXX_Merge ¶
func (m *RunCommandReq) XXX_Merge(src proto.Message)
func (*RunCommandReq) XXX_Size ¶
func (m *RunCommandReq) XXX_Size() int
func (*RunCommandReq) XXX_Unmarshal ¶
func (m *RunCommandReq) XXX_Unmarshal(b []byte) error
type RunCommandResp ¶
type RunCommandResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RunCommandResp) Descriptor ¶
func (*RunCommandResp) Descriptor() ([]byte, []int)
func (*RunCommandResp) ProtoMessage ¶
func (*RunCommandResp) ProtoMessage()
func (*RunCommandResp) Reset ¶
func (m *RunCommandResp) Reset()
func (*RunCommandResp) String ¶
func (m *RunCommandResp) String() string
func (*RunCommandResp) XXX_DiscardUnknown ¶
func (m *RunCommandResp) XXX_DiscardUnknown()
func (*RunCommandResp) XXX_Marshal ¶
func (m *RunCommandResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RunCommandResp) XXX_Merge ¶
func (m *RunCommandResp) XXX_Merge(src proto.Message)
func (*RunCommandResp) XXX_Size ¶
func (m *RunCommandResp) XXX_Size() int
func (*RunCommandResp) XXX_Unmarshal ¶
func (m *RunCommandResp) XXX_Unmarshal(b []byte) error
type ServerInteractionReq ¶
type ServerInteractionReq struct {
// 服务端id
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ServerInteractionReq) Descriptor ¶
func (*ServerInteractionReq) Descriptor() ([]byte, []int)
func (*ServerInteractionReq) GetId ¶
func (m *ServerInteractionReq) GetId() string
func (*ServerInteractionReq) ProtoMessage ¶
func (*ServerInteractionReq) ProtoMessage()
func (*ServerInteractionReq) Reset ¶
func (m *ServerInteractionReq) Reset()
func (*ServerInteractionReq) String ¶
func (m *ServerInteractionReq) String() string
func (*ServerInteractionReq) XXX_DiscardUnknown ¶
func (m *ServerInteractionReq) XXX_DiscardUnknown()
func (*ServerInteractionReq) XXX_Marshal ¶
func (m *ServerInteractionReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerInteractionReq) XXX_Merge ¶
func (m *ServerInteractionReq) XXX_Merge(src proto.Message)
func (*ServerInteractionReq) XXX_Size ¶
func (m *ServerInteractionReq) XXX_Size() int
func (*ServerInteractionReq) XXX_Unmarshal ¶
func (m *ServerInteractionReq) XXX_Unmarshal(b []byte) error
type ServerInteractionResp ¶
type ServerInteractionResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ServerInteractionResp) Descriptor ¶
func (*ServerInteractionResp) Descriptor() ([]byte, []int)
func (*ServerInteractionResp) ProtoMessage ¶
func (*ServerInteractionResp) ProtoMessage()
func (*ServerInteractionResp) Reset ¶
func (m *ServerInteractionResp) Reset()
func (*ServerInteractionResp) String ¶
func (m *ServerInteractionResp) String() string
func (*ServerInteractionResp) XXX_DiscardUnknown ¶
func (m *ServerInteractionResp) XXX_DiscardUnknown()
func (*ServerInteractionResp) XXX_Marshal ¶
func (m *ServerInteractionResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerInteractionResp) XXX_Merge ¶
func (m *ServerInteractionResp) XXX_Merge(src proto.Message)
func (*ServerInteractionResp) XXX_Size ¶
func (m *ServerInteractionResp) XXX_Size() int
func (*ServerInteractionResp) XXX_Unmarshal ¶
func (m *ServerInteractionResp) XXX_Unmarshal(b []byte) error
type UnimplementedAdminServer ¶
type UnimplementedAdminServer struct {
}
UnimplementedAdminServer can be embedded to have forward compatible implementations.
func (*UnimplementedAdminServer) AddUpToContainer ¶
func (*UnimplementedAdminServer) AddUpToContainer(ctx context.Context, req *AddUpToContainerReq) (*AddUpToContainerResp, error)
func (*UnimplementedAdminServer) CloseMcd ¶
func (*UnimplementedAdminServer) CloseMcd(ctx context.Context, req *CloseMcdReq) (*CloseMcdResp, error)
func (*UnimplementedAdminServer) DelTmpFlie ¶
func (*UnimplementedAdminServer) DelTmpFlie(ctx context.Context, req *DelTmpFlieReq) (*DelTmpFlieResp, error)
func (*UnimplementedAdminServer) GetConfig ¶
func (*UnimplementedAdminServer) GetConfig(ctx context.Context, req *GetConfigReq) (*GetConfigResp, error)
func (*UnimplementedAdminServer) GetConfigVal ¶
func (*UnimplementedAdminServer) GetConfigVal(ctx context.Context, req *GetConfigValReq) (*GetConfigValResp, error)
func (*UnimplementedAdminServer) GetLog ¶
func (*UnimplementedAdminServer) GetLog(ctx context.Context, req *GetLogReq) (*GetLogResp, error)
func (*UnimplementedAdminServer) OperatePlugin ¶
func (*UnimplementedAdminServer) OperatePlugin(ctx context.Context, req *OperatePluginReq) (*OperatePluginResp, error)
func (*UnimplementedAdminServer) RunCommand ¶
func (*UnimplementedAdminServer) RunCommand(ctx context.Context, req *RunCommandReq) (*RunCommandResp, error)
func (*UnimplementedAdminServer) UpdateConfig ¶
func (*UnimplementedAdminServer) UpdateConfig(ctx context.Context, req *UpdateConfigReq) (*UpdateConfigResp, error)
type UnimplementedMcServerServer ¶
type UnimplementedMcServerServer struct {
}
UnimplementedMcServerServer can be embedded to have forward compatible implementations.
func (*UnimplementedMcServerServer) Detail ¶
func (*UnimplementedMcServerServer) Detail(ctx context.Context, req *DetailReq) (*DetailResp, error)
func (*UnimplementedMcServerServer) GetServerSide ¶
func (*UnimplementedMcServerServer) GetServerSide(ctx context.Context, req *GetServerSideReq) (*GetServerSideResp, error)
func (*UnimplementedMcServerServer) GetServerState ¶
func (*UnimplementedMcServerServer) GetServerState(ctx context.Context, req *GetServerStateReq) (*GetServerStateResp, error)
func (*UnimplementedMcServerServer) ListenResource ¶
func (*UnimplementedMcServerServer) ListenResource(ctx context.Context, req *ListenResourceReq) (*ListenResourceResp, error)
func (*UnimplementedMcServerServer) OperateServer ¶
func (*UnimplementedMcServerServer) OperateServer(ctx context.Context, req *OperateServerReq) (*OperateServerResp, error)
func (*UnimplementedMcServerServer) ServerInteraction ¶
func (*UnimplementedMcServerServer) ServerInteraction(ctx context.Context, req *ServerInteractionReq) (*ServerInteractionResp, error)
func (*UnimplementedMcServerServer) UpdateServerInfo ¶
func (*UnimplementedMcServerServer) UpdateServerInfo(ctx context.Context, req *UpdateServerInfoReq) (*UpdateServerInfoResp, error)
type UnimplementedUserServer ¶
type UnimplementedUserServer struct {
}
UnimplementedUserServer can be embedded to have forward compatible implementations.
func (*UnimplementedUserServer) Logout ¶
func (*UnimplementedUserServer) Logout(ctx context.Context, req *LogoutReq) (*LogoutResp, error)
func (*UnimplementedUserServer) Update ¶
func (*UnimplementedUserServer) Update(ctx context.Context, req *UpdateReq) (*UpdateResp, error)
type UpdateConfigReq ¶
type UpdateConfigReq struct {
List []*UpdateConfigReq_Record `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*UpdateConfigReq) Descriptor ¶
func (*UpdateConfigReq) Descriptor() ([]byte, []int)
func (*UpdateConfigReq) GetList ¶
func (m *UpdateConfigReq) GetList() []*UpdateConfigReq_Record
func (*UpdateConfigReq) ProtoMessage ¶
func (*UpdateConfigReq) ProtoMessage()
func (*UpdateConfigReq) Reset ¶
func (m *UpdateConfigReq) Reset()
func (*UpdateConfigReq) String ¶
func (m *UpdateConfigReq) String() string
func (*UpdateConfigReq) XXX_DiscardUnknown ¶
func (m *UpdateConfigReq) XXX_DiscardUnknown()
func (*UpdateConfigReq) XXX_Marshal ¶
func (m *UpdateConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateConfigReq) XXX_Merge ¶
func (m *UpdateConfigReq) XXX_Merge(src proto.Message)
func (*UpdateConfigReq) XXX_Size ¶
func (m *UpdateConfigReq) XXX_Size() int
func (*UpdateConfigReq) XXX_Unmarshal ¶
func (m *UpdateConfigReq) XXX_Unmarshal(b []byte) error
type UpdateConfigReq_Record ¶
type UpdateConfigReq_Record struct {
// 配置名称
ConfVal string `protobuf:"bytes,1,opt,name=confVal,json=config_val,proto3" json:"config_val,omitempty"`
// 配置值
Name string `protobuf:"bytes,3,opt,name=name,json=config_key,proto3" json:"config_key,omitempty"`
// 配置等级
Level int64 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"`
// 配置描述
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// 是否在后台可修改
IsAlterable bool `protobuf:"varint,6,opt,name=isAlterable,json=is_alterable,proto3" json:"is_alterable,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*UpdateConfigReq_Record) Descriptor ¶
func (*UpdateConfigReq_Record) Descriptor() ([]byte, []int)
func (*UpdateConfigReq_Record) GetConfVal ¶
func (m *UpdateConfigReq_Record) GetConfVal() string
func (*UpdateConfigReq_Record) GetDescription ¶
func (m *UpdateConfigReq_Record) GetDescription() string
func (*UpdateConfigReq_Record) GetIsAlterable ¶
func (m *UpdateConfigReq_Record) GetIsAlterable() bool
func (*UpdateConfigReq_Record) GetLevel ¶
func (m *UpdateConfigReq_Record) GetLevel() int64
func (*UpdateConfigReq_Record) GetName ¶
func (m *UpdateConfigReq_Record) GetName() string
func (*UpdateConfigReq_Record) ProtoMessage ¶
func (*UpdateConfigReq_Record) ProtoMessage()
func (*UpdateConfigReq_Record) Reset ¶
func (m *UpdateConfigReq_Record) Reset()
func (*UpdateConfigReq_Record) String ¶
func (m *UpdateConfigReq_Record) String() string
func (*UpdateConfigReq_Record) XXX_DiscardUnknown ¶
func (m *UpdateConfigReq_Record) XXX_DiscardUnknown()
func (*UpdateConfigReq_Record) XXX_Marshal ¶
func (m *UpdateConfigReq_Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateConfigReq_Record) XXX_Merge ¶
func (m *UpdateConfigReq_Record) XXX_Merge(src proto.Message)
func (*UpdateConfigReq_Record) XXX_Size ¶
func (m *UpdateConfigReq_Record) XXX_Size() int
func (*UpdateConfigReq_Record) XXX_Unmarshal ¶
func (m *UpdateConfigReq_Record) XXX_Unmarshal(b []byte) error
type UpdateConfigResp ¶
type UpdateConfigResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*UpdateConfigResp) Descriptor ¶
func (*UpdateConfigResp) Descriptor() ([]byte, []int)
func (*UpdateConfigResp) ProtoMessage ¶
func (*UpdateConfigResp) ProtoMessage()
func (*UpdateConfigResp) Reset ¶
func (m *UpdateConfigResp) Reset()
func (*UpdateConfigResp) String ¶
func (m *UpdateConfigResp) String() string
func (*UpdateConfigResp) XXX_DiscardUnknown ¶
func (m *UpdateConfigResp) XXX_DiscardUnknown()
func (*UpdateConfigResp) XXX_Marshal ¶
func (m *UpdateConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateConfigResp) XXX_Merge ¶
func (m *UpdateConfigResp) XXX_Merge(src proto.Message)
func (*UpdateConfigResp) XXX_Size ¶
func (m *UpdateConfigResp) XXX_Size() int
func (*UpdateConfigResp) XXX_Unmarshal ¶
func (m *UpdateConfigResp) XXX_Unmarshal(b []byte) error
type UpdateReq ¶
type UpdateReq struct {
// 账号
Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
// 密码
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
// 昵称
Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"`
// 权限
Roles []string `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"`
// 头像
Avatar string `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*UpdateReq) Descriptor ¶
func (*UpdateReq) GetAccount ¶
func (*UpdateReq) GetNickname ¶
func (*UpdateReq) GetPassword ¶
func (*UpdateReq) ProtoMessage ¶
func (*UpdateReq) ProtoMessage()
func (*UpdateReq) XXX_DiscardUnknown ¶
func (m *UpdateReq) XXX_DiscardUnknown()
func (*UpdateReq) XXX_Marshal ¶
func (*UpdateReq) XXX_Unmarshal ¶
type UpdateResp ¶
type UpdateResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*UpdateResp) Descriptor ¶
func (*UpdateResp) Descriptor() ([]byte, []int)
func (*UpdateResp) ProtoMessage ¶
func (*UpdateResp) ProtoMessage()
func (*UpdateResp) Reset ¶
func (m *UpdateResp) Reset()
func (*UpdateResp) String ¶
func (m *UpdateResp) String() string
func (*UpdateResp) XXX_DiscardUnknown ¶
func (m *UpdateResp) XXX_DiscardUnknown()
func (*UpdateResp) XXX_Marshal ¶
func (m *UpdateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateResp) XXX_Merge ¶
func (m *UpdateResp) XXX_Merge(src proto.Message)
func (*UpdateResp) XXX_Size ¶
func (m *UpdateResp) XXX_Size() int
func (*UpdateResp) XXX_Unmarshal ¶
func (m *UpdateResp) XXX_Unmarshal(b []byte) error
type UpdateServerInfoReq ¶
type UpdateServerInfoReq struct {
// 服务端实例id
EntryId string `protobuf:"bytes,1,opt,name=entryId,json=id,proto3" json:"id,omitempty"`
// 服务器名称
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// 执行的完整命令
CmdStr []string `protobuf:"bytes,3,rep,name=cmdStr,json=cmd_str,proto3" json:"cmd_str,omitempty"`
// 启动服务器端口
Port int64 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
// 运行所在工作区间
RunPath string `protobuf:"bytes,5,opt,name=runPath,json=run_rath,proto3" json:"run_rath,omitempty"`
// 是否是镜像服务器
IsMirror bool `protobuf:"varint,6,opt,name=isMirror,json=is_mirror,proto3" json:"is_mirror,omitempty"`
// 是否启动资源监听器
IsStartMonitor bool `protobuf:"varint,7,opt,name=isStartMonitor,json=is_start_monitor,proto3" json:"is_start_monitor,omitempty"`
// 使用内存大小,单位M
Memory int64 `protobuf:"varint,8,opt,name=memory,proto3" json:"memory,omitempty"`
// 服务端版本
Version string `protobuf:"bytes,9,opt,name=version,proto3" json:"version,omitempty"`
// 服务器模式
GameType string `protobuf:"bytes,10,opt,name=gameType,json=game_type,proto3" json:"game_type,omitempty"`
// 启动状态:0.未启动 1.启动 -1.正在启动 -2.正在关闭
State int64 `protobuf:"varint,11,opt,name=state,proto3" json:"state,omitempty"`
// 本机的ip
Ips []string `protobuf:"bytes,12,rep,name=ips,proto3" json:"ips,omitempty"`
// 服务端类型
Side string `protobuf:"bytes,13,opt,name=side,proto3" json:"side,omitempty"`
// 备注
Comment string `protobuf:"bytes,14,opt,name=comment,proto3" json:"comment,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*UpdateServerInfoReq) Descriptor ¶
func (*UpdateServerInfoReq) Descriptor() ([]byte, []int)
func (*UpdateServerInfoReq) GetCmdStr ¶
func (m *UpdateServerInfoReq) GetCmdStr() []string
func (*UpdateServerInfoReq) GetComment ¶
func (m *UpdateServerInfoReq) GetComment() string
func (*UpdateServerInfoReq) GetEntryId ¶
func (m *UpdateServerInfoReq) GetEntryId() string
func (*UpdateServerInfoReq) GetGameType ¶
func (m *UpdateServerInfoReq) GetGameType() string
func (*UpdateServerInfoReq) GetIps ¶
func (m *UpdateServerInfoReq) GetIps() []string
func (*UpdateServerInfoReq) GetIsMirror ¶
func (m *UpdateServerInfoReq) GetIsMirror() bool
func (*UpdateServerInfoReq) GetIsStartMonitor ¶
func (m *UpdateServerInfoReq) GetIsStartMonitor() bool
func (*UpdateServerInfoReq) GetMemory ¶
func (m *UpdateServerInfoReq) GetMemory() int64
func (*UpdateServerInfoReq) GetName ¶
func (m *UpdateServerInfoReq) GetName() string
func (*UpdateServerInfoReq) GetPort ¶
func (m *UpdateServerInfoReq) GetPort() int64
func (*UpdateServerInfoReq) GetRunPath ¶
func (m *UpdateServerInfoReq) GetRunPath() string
func (*UpdateServerInfoReq) GetSide ¶
func (m *UpdateServerInfoReq) GetSide() string
func (*UpdateServerInfoReq) GetState ¶
func (m *UpdateServerInfoReq) GetState() int64
func (*UpdateServerInfoReq) GetVersion ¶
func (m *UpdateServerInfoReq) GetVersion() string
func (*UpdateServerInfoReq) ProtoMessage ¶
func (*UpdateServerInfoReq) ProtoMessage()
func (*UpdateServerInfoReq) Reset ¶
func (m *UpdateServerInfoReq) Reset()
func (*UpdateServerInfoReq) String ¶
func (m *UpdateServerInfoReq) String() string
func (*UpdateServerInfoReq) XXX_DiscardUnknown ¶
func (m *UpdateServerInfoReq) XXX_DiscardUnknown()
func (*UpdateServerInfoReq) XXX_Marshal ¶
func (m *UpdateServerInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateServerInfoReq) XXX_Merge ¶
func (m *UpdateServerInfoReq) XXX_Merge(src proto.Message)
func (*UpdateServerInfoReq) XXX_Size ¶
func (m *UpdateServerInfoReq) XXX_Size() int
func (*UpdateServerInfoReq) XXX_Unmarshal ¶
func (m *UpdateServerInfoReq) XXX_Unmarshal(b []byte) error
type UpdateServerInfoResp ¶
type UpdateServerInfoResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*UpdateServerInfoResp) Descriptor ¶
func (*UpdateServerInfoResp) Descriptor() ([]byte, []int)
func (*UpdateServerInfoResp) ProtoMessage ¶
func (*UpdateServerInfoResp) ProtoMessage()
func (*UpdateServerInfoResp) Reset ¶
func (m *UpdateServerInfoResp) Reset()
func (*UpdateServerInfoResp) String ¶
func (m *UpdateServerInfoResp) String() string
func (*UpdateServerInfoResp) XXX_DiscardUnknown ¶
func (m *UpdateServerInfoResp) XXX_DiscardUnknown()
func (*UpdateServerInfoResp) XXX_Marshal ¶
func (m *UpdateServerInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateServerInfoResp) XXX_Merge ¶
func (m *UpdateServerInfoResp) XXX_Merge(src proto.Message)
func (*UpdateServerInfoResp) XXX_Size ¶
func (m *UpdateServerInfoResp) XXX_Size() int
func (*UpdateServerInfoResp) XXX_Unmarshal ¶
func (m *UpdateServerInfoResp) XXX_Unmarshal(b []byte) error
type UserClient ¶
type UserClient interface {
// 用户登录
Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*LoginResp, error)
// 用户注销
// `hasInput:"false"`
Logout(ctx context.Context, in *LogoutReq, opts ...grpc.CallOption) (*LogoutResp, error)
// 获取用户信息
// `middleware:"auth" hasInput:"false"`
Info(ctx context.Context, in *InfoReq, opts ...grpc.CallOption) (*InfoResp, error)
// 更新用户信息
// `middleware:"auth"`
Update(ctx context.Context, in *UpdateReq, opts ...grpc.CallOption) (*UpdateResp, error)
}
UserClient is the client API for User service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUserClient ¶
func NewUserClient(cc grpc.ClientConnInterface) UserClient
type UserGinServer ¶
type UserGinServer interface {
// 用户登录
Login(ctx context.Context, req *LoginReq) (resp *LoginResp, err error)
// 用户注销
Logout(ctx context.Context, req *LogoutReq) (resp *LogoutResp, err error)
// 获取用户信息
Info(ctx context.Context, req *InfoReq) (resp *InfoResp, err error)
// 更新用户信息
Update(ctx context.Context, req *UpdateReq) (resp *UpdateResp, err error)
}
UserGinServer is the server API for User service.
type UserServer ¶
type UserServer interface {
// 用户登录
Login(context.Context, *LoginReq) (*LoginResp, error)
// 用户注销
// `hasInput:"false"`
Logout(context.Context, *LogoutReq) (*LogoutResp, error)
// 获取用户信息
// `middleware:"auth" hasInput:"false"`
Info(context.Context, *InfoReq) (*InfoResp, error)
// 更新用户信息
// `middleware:"auth"`
Update(context.Context, *UpdateReq) (*UpdateResp, error)
}
UserServer is the server API for User service.