Documentation ¶
Overview ¶
Package commonHealth ヘルスチェック
Index ¶
- Variables
- type CommonHealth
- func (*CommonHealth) Descriptor() ([]byte, []int)deprecated
- func (x *CommonHealth) GetCommonHealthEnum() CommonHealthEnum
- func (x *CommonHealth) GetHealthId() int64
- func (x *CommonHealth) GetName() string
- func (*CommonHealth) ProtoMessage()
- func (x *CommonHealth) ProtoReflect() protoreflect.Message
- func (x *CommonHealth) Reset()
- func (x *CommonHealth) String() string
- type CommonHealthEnum
- func (CommonHealthEnum) Descriptor() protoreflect.EnumDescriptor
- func (x CommonHealthEnum) Enum() *CommonHealthEnum
- func (CommonHealthEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x CommonHealthEnum) Number() protoreflect.EnumNumber
- func (x CommonHealthEnum) String() string
- func (CommonHealthEnum) Type() protoreflect.EnumType
- type CommonHealths
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CommonHealthEnum_name = map[int32]string{ 0: "CommonNone", 1: "CommonSuccess", } CommonHealthEnum_value = map[string]int32{ "CommonNone": 0, "CommonSuccess": 1, } )
Enum value maps for CommonHealthEnum.
View Source
var File_health_commonHealth_common_health_enum_proto protoreflect.FileDescriptor
View Source
var File_health_commonHealth_common_health_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CommonHealth ¶
type CommonHealth struct { HealthId int64 `protobuf:"varint,1,opt,name=health_id,json=healthId,proto3" json:"health_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` CommonHealthEnum CommonHealthEnum `` /* 144-byte string literal not displayed */ // contains filtered or unexported fields }
func NewCommonHealth ¶
func NewCommonHealth() *CommonHealth
func SetCommonHealth ¶
func SetCommonHealth(healthId int64, name string, commonHealthEnum CommonHealthEnum) *CommonHealth
func (*CommonHealth) Descriptor
deprecated
func (*CommonHealth) Descriptor() ([]byte, []int)
Deprecated: Use CommonHealth.ProtoReflect.Descriptor instead.
func (*CommonHealth) GetCommonHealthEnum ¶
func (x *CommonHealth) GetCommonHealthEnum() CommonHealthEnum
func (*CommonHealth) GetHealthId ¶
func (x *CommonHealth) GetHealthId() int64
func (*CommonHealth) GetName ¶
func (x *CommonHealth) GetName() string
func (*CommonHealth) ProtoMessage ¶
func (*CommonHealth) ProtoMessage()
func (*CommonHealth) ProtoReflect ¶
func (x *CommonHealth) ProtoReflect() protoreflect.Message
func (*CommonHealth) Reset ¶
func (x *CommonHealth) Reset()
func (*CommonHealth) String ¶
func (x *CommonHealth) String() string
type CommonHealthEnum ¶
type CommonHealthEnum int32
const ( CommonHealthEnum_CommonNone CommonHealthEnum = 0 CommonHealthEnum_CommonSuccess CommonHealthEnum = 1 )
func (CommonHealthEnum) Descriptor ¶
func (CommonHealthEnum) Descriptor() protoreflect.EnumDescriptor
func (CommonHealthEnum) Enum ¶
func (x CommonHealthEnum) Enum() *CommonHealthEnum
func (CommonHealthEnum) EnumDescriptor
deprecated
func (CommonHealthEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommonHealthEnum.Descriptor instead.
func (CommonHealthEnum) Number ¶
func (x CommonHealthEnum) Number() protoreflect.EnumNumber
func (CommonHealthEnum) String ¶
func (x CommonHealthEnum) String() string
func (CommonHealthEnum) Type ¶
func (CommonHealthEnum) Type() protoreflect.EnumType
type CommonHealths ¶
type CommonHealths []*CommonHealth
func NewCommonHealths ¶
func NewCommonHealths() CommonHealths
Click to show internal directories.
Click to hide internal directories.