consultingapis

package
v0.0.0-...-e518e2d Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Status_name = map[int32]string{
		0:     "UNSPECIFIED",
		20000: "OK",
		40000: "INVALID_ARGUMENT",
		40001: "STAFF_TYPE_NOT_FOUND",
		40003: "UNSUPPORTED_STAFF_TYPE",
		40004: "STAFF_ID_CANNOT_BE_EMPTY",
		40400: "NOT_FOUND",
		40401: "STAFF_NOT_FOUND",
		50000: "SERVICE_ERROR",
	}
	Status_value = map[string]int32{
		"UNSPECIFIED":              0,
		"OK":                       20000,
		"INVALID_ARGUMENT":         40000,
		"STAFF_TYPE_NOT_FOUND":     40001,
		"UNSUPPORTED_STAFF_TYPE":   40003,
		"STAFF_ID_CANNOT_BE_EMPTY": 40004,
		"NOT_FOUND":                40400,
		"STAFF_NOT_FOUND":          40401,
		"SERVICE_ERROR":            50000,
	}
)

Enum value maps for Status.

View Source
var File_consultingapis_status_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Status

type Status int32

请求状态 错误定义

const (
	Status_UNSPECIFIED Status = 0
	// 成功
	Status_OK Status = 20000
	// 通用参数错误
	Status_INVALID_ARGUMENT Status = 40000
	// 人员类型参数缺失
	Status_STAFF_TYPE_NOT_FOUND Status = 40001
	// 不支持的人员类型
	Status_UNSUPPORTED_STAFF_TYPE Status = 40003
	// 人员工号缺失
	Status_STAFF_ID_CANNOT_BE_EMPTY Status = 40004
	// 通用无法找到
	Status_NOT_FOUND Status = 40400
	// 未找到人员
	Status_STAFF_NOT_FOUND Status = 40401
	// 服务错误
	Status_SERVICE_ERROR Status = 50000
)

func (Status) Descriptor

func (Status) Descriptor() protoreflect.EnumDescriptor

func (Status) Enum

func (x Status) Enum() *Status

func (Status) EnumDescriptor deprecated

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

Deprecated: Use Status.Descriptor instead.

func (Status) Number

func (x Status) Number() protoreflect.EnumNumber

func (Status) String

func (x Status) String() string

func (Status) Type

func (Status) Type() protoreflect.EnumType

Directories

Path Synopsis
dingtalk
v1
Package dingtalkv1 is a reverse proxy.
Package dingtalkv1 is a reverse proxy.
faq
v1
Package faqv1 is a reverse proxy.
Package faqv1 is a reverse proxy.
wiki
v1
Package wikiv1 is a reverse proxy.
Package wikiv1 is a reverse proxy.

Jump to

Keyboard shortcuts

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