Documentation
¶
Index ¶
- func RegisterService(s giraffe_micro.Server, srv Service)
- type Client
- type GetAppHealthConfigV2Request
- func (*GetAppHealthConfigV2Request) Descriptor() ([]byte, []int)
- func (m *GetAppHealthConfigV2Request) GetAppId() string
- func (*GetAppHealthConfigV2Request) ProtoMessage()
- func (m *GetAppHealthConfigV2Request) Reset()
- func (m *GetAppHealthConfigV2Request) String() string
- func (this *GetAppHealthConfigV2Request) Validate() error
- func (m *GetAppHealthConfigV2Request) XXX_DiscardUnknown()
- func (m *GetAppHealthConfigV2Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAppHealthConfigV2Request) XXX_Merge(src proto.Message)
- func (m *GetAppHealthConfigV2Request) XXX_Size() int
- func (m *GetAppHealthConfigV2Request) XXX_Unmarshal(b []byte) error
- type GetAppHealthConfigV2Response
- func (*GetAppHealthConfigV2Response) Descriptor() ([]byte, []int)
- func (m *GetAppHealthConfigV2Response) GetCode() int32
- func (m *GetAppHealthConfigV2Response) GetData() *monitor_config.AppHealthConfig
- func (m *GetAppHealthConfigV2Response) GetMsg() string
- func (*GetAppHealthConfigV2Response) ProtoMessage()
- func (m *GetAppHealthConfigV2Response) Reset()
- func (m *GetAppHealthConfigV2Response) String() string
- func (this *GetAppHealthConfigV2Response) Validate() error
- func (m *GetAppHealthConfigV2Response) XXX_DiscardUnknown()
- func (m *GetAppHealthConfigV2Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAppHealthConfigV2Response) XXX_Merge(src proto.Message)
- func (m *GetAppHealthConfigV2Response) XXX_Size() int
- func (m *GetAppHealthConfigV2Response) XXX_Unmarshal(b []byte) error
- type GetAppHealthConfigV2ResponseWrapper
- func (*GetAppHealthConfigV2ResponseWrapper) Descriptor() ([]byte, []int)
- func (m *GetAppHealthConfigV2ResponseWrapper) GetCode() int32
- func (m *GetAppHealthConfigV2ResponseWrapper) GetCodeExplain() string
- func (m *GetAppHealthConfigV2ResponseWrapper) GetData() *GetAppHealthConfigV2Response
- func (m *GetAppHealthConfigV2ResponseWrapper) GetError() string
- func (*GetAppHealthConfigV2ResponseWrapper) ProtoMessage()
- func (m *GetAppHealthConfigV2ResponseWrapper) Reset()
- func (m *GetAppHealthConfigV2ResponseWrapper) String() string
- func (this *GetAppHealthConfigV2ResponseWrapper) Validate() error
- func (m *GetAppHealthConfigV2ResponseWrapper) XXX_DiscardUnknown()
- func (m *GetAppHealthConfigV2ResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAppHealthConfigV2ResponseWrapper) XXX_Merge(src proto.Message)
- func (m *GetAppHealthConfigV2ResponseWrapper) XXX_Size() int
- func (m *GetAppHealthConfigV2ResponseWrapper) XXX_Unmarshal(b []byte) error
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterService ¶
func RegisterService(s giraffe_micro.Server, srv Service)
Types ¶
type Client ¶
type Client interface {
GetAppHealthConfigV2(ctx context.Context, in *GetAppHealthConfigV2Request) (*GetAppHealthConfigV2Response, error)
}
Client is the client API for app_health service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewClient ¶
func NewClient(c giraffe_micro.Client) Client
type GetAppHealthConfigV2Request ¶
type GetAppHealthConfigV2Request struct { // //应用id AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id" form:"app_id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetAppHealthConfigV2请求
func (*GetAppHealthConfigV2Request) Descriptor ¶
func (*GetAppHealthConfigV2Request) Descriptor() ([]byte, []int)
func (*GetAppHealthConfigV2Request) GetAppId ¶
func (m *GetAppHealthConfigV2Request) GetAppId() string
func (*GetAppHealthConfigV2Request) ProtoMessage ¶
func (*GetAppHealthConfigV2Request) ProtoMessage()
func (*GetAppHealthConfigV2Request) Reset ¶
func (m *GetAppHealthConfigV2Request) Reset()
func (*GetAppHealthConfigV2Request) String ¶
func (m *GetAppHealthConfigV2Request) String() string
func (*GetAppHealthConfigV2Request) Validate ¶
func (this *GetAppHealthConfigV2Request) Validate() error
func (*GetAppHealthConfigV2Request) XXX_DiscardUnknown ¶
func (m *GetAppHealthConfigV2Request) XXX_DiscardUnknown()
func (*GetAppHealthConfigV2Request) XXX_Marshal ¶
func (m *GetAppHealthConfigV2Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAppHealthConfigV2Request) XXX_Merge ¶
func (m *GetAppHealthConfigV2Request) XXX_Merge(src proto.Message)
func (*GetAppHealthConfigV2Request) XXX_Size ¶
func (m *GetAppHealthConfigV2Request) XXX_Size() int
func (*GetAppHealthConfigV2Request) XXX_Unmarshal ¶
func (m *GetAppHealthConfigV2Request) XXX_Unmarshal(b []byte) error
type GetAppHealthConfigV2Response ¶
type GetAppHealthConfigV2Response struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回信息 Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg" form:"msg"` // //返回数据 Data *monitor_config.AppHealthConfig `protobuf:"bytes,3,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetAppHealthConfigV2返回
func (*GetAppHealthConfigV2Response) Descriptor ¶
func (*GetAppHealthConfigV2Response) Descriptor() ([]byte, []int)
func (*GetAppHealthConfigV2Response) GetCode ¶
func (m *GetAppHealthConfigV2Response) GetCode() int32
func (*GetAppHealthConfigV2Response) GetData ¶
func (m *GetAppHealthConfigV2Response) GetData() *monitor_config.AppHealthConfig
func (*GetAppHealthConfigV2Response) GetMsg ¶
func (m *GetAppHealthConfigV2Response) GetMsg() string
func (*GetAppHealthConfigV2Response) ProtoMessage ¶
func (*GetAppHealthConfigV2Response) ProtoMessage()
func (*GetAppHealthConfigV2Response) Reset ¶
func (m *GetAppHealthConfigV2Response) Reset()
func (*GetAppHealthConfigV2Response) String ¶
func (m *GetAppHealthConfigV2Response) String() string
func (*GetAppHealthConfigV2Response) Validate ¶
func (this *GetAppHealthConfigV2Response) Validate() error
func (*GetAppHealthConfigV2Response) XXX_DiscardUnknown ¶
func (m *GetAppHealthConfigV2Response) XXX_DiscardUnknown()
func (*GetAppHealthConfigV2Response) XXX_Marshal ¶
func (m *GetAppHealthConfigV2Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAppHealthConfigV2Response) XXX_Merge ¶
func (m *GetAppHealthConfigV2Response) XXX_Merge(src proto.Message)
func (*GetAppHealthConfigV2Response) XXX_Size ¶
func (m *GetAppHealthConfigV2Response) XXX_Size() int
func (*GetAppHealthConfigV2Response) XXX_Unmarshal ¶
func (m *GetAppHealthConfigV2Response) XXX_Unmarshal(b []byte) error
type GetAppHealthConfigV2ResponseWrapper ¶
type GetAppHealthConfigV2ResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *GetAppHealthConfigV2Response `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetAppHealthConfigV2Api返回
func (*GetAppHealthConfigV2ResponseWrapper) Descriptor ¶
func (*GetAppHealthConfigV2ResponseWrapper) Descriptor() ([]byte, []int)
func (*GetAppHealthConfigV2ResponseWrapper) GetCode ¶
func (m *GetAppHealthConfigV2ResponseWrapper) GetCode() int32
func (*GetAppHealthConfigV2ResponseWrapper) GetCodeExplain ¶
func (m *GetAppHealthConfigV2ResponseWrapper) GetCodeExplain() string
func (*GetAppHealthConfigV2ResponseWrapper) GetData ¶
func (m *GetAppHealthConfigV2ResponseWrapper) GetData() *GetAppHealthConfigV2Response
func (*GetAppHealthConfigV2ResponseWrapper) GetError ¶
func (m *GetAppHealthConfigV2ResponseWrapper) GetError() string
func (*GetAppHealthConfigV2ResponseWrapper) ProtoMessage ¶
func (*GetAppHealthConfigV2ResponseWrapper) ProtoMessage()
func (*GetAppHealthConfigV2ResponseWrapper) Reset ¶
func (m *GetAppHealthConfigV2ResponseWrapper) Reset()
func (*GetAppHealthConfigV2ResponseWrapper) String ¶
func (m *GetAppHealthConfigV2ResponseWrapper) String() string
func (*GetAppHealthConfigV2ResponseWrapper) Validate ¶
func (this *GetAppHealthConfigV2ResponseWrapper) Validate() error
func (*GetAppHealthConfigV2ResponseWrapper) XXX_DiscardUnknown ¶
func (m *GetAppHealthConfigV2ResponseWrapper) XXX_DiscardUnknown()
func (*GetAppHealthConfigV2ResponseWrapper) XXX_Marshal ¶
func (m *GetAppHealthConfigV2ResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAppHealthConfigV2ResponseWrapper) XXX_Merge ¶
func (m *GetAppHealthConfigV2ResponseWrapper) XXX_Merge(src proto.Message)
func (*GetAppHealthConfigV2ResponseWrapper) XXX_Size ¶
func (m *GetAppHealthConfigV2ResponseWrapper) XXX_Size() int
func (*GetAppHealthConfigV2ResponseWrapper) XXX_Unmarshal ¶
func (m *GetAppHealthConfigV2ResponseWrapper) XXX_Unmarshal(b []byte) error
type Service ¶
type Service interface {
GetAppHealthConfigV2(context.Context, *GetAppHealthConfigV2Request) (*GetAppHealthConfigV2Response, error)
}
Service is the server API for app_health service.
Click to show internal directories.
Click to hide internal directories.