app_health

package
v0.0.0-...-b63aa1a Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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 (*GetAppHealthConfigV2Response) GetMsg

func (*GetAppHealthConfigV2Response) ProtoMessage

func (*GetAppHealthConfigV2Response) ProtoMessage()

func (*GetAppHealthConfigV2Response) Reset

func (m *GetAppHealthConfigV2Response) Reset()

func (*GetAppHealthConfigV2Response) 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 (*GetAppHealthConfigV2ResponseWrapper) GetCodeExplain

func (m *GetAppHealthConfigV2ResponseWrapper) GetCodeExplain() string

func (*GetAppHealthConfigV2ResponseWrapper) GetData

func (*GetAppHealthConfigV2ResponseWrapper) GetError

func (*GetAppHealthConfigV2ResponseWrapper) ProtoMessage

func (*GetAppHealthConfigV2ResponseWrapper) ProtoMessage()

func (*GetAppHealthConfigV2ResponseWrapper) Reset

func (*GetAppHealthConfigV2ResponseWrapper) 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 (*GetAppHealthConfigV2ResponseWrapper) XXX_Size

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.

Jump to

Keyboard shortcuts

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