commonHealth

package
v0.0.0-...-4834045 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package commonHealth ヘルスチェック

Index

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) Enum

func (CommonHealthEnum) EnumDescriptor deprecated

func (CommonHealthEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use CommonHealthEnum.Descriptor instead.

func (CommonHealthEnum) Number

func (CommonHealthEnum) String

func (x CommonHealthEnum) String() string

func (CommonHealthEnum) Type

type CommonHealths

type CommonHealths []*CommonHealth

func NewCommonHealths

func NewCommonHealths() CommonHealths

Jump to

Keyboard shortcuts

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