v1

package
v0.0.0-...-a3cb3ec Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HttpService_DebugPerf_FullMethodName = "/api.http.v1.HttpService/DebugPerf"
	HttpService_Login_FullMethodName     = "/api.http.v1.HttpService/Login"
	HttpService_Captcha_FullMethodName   = "/api.http.v1.HttpService/Captcha"
	HttpService_Setting_FullMethodName   = "/api.http.v1.HttpService/Setting"
)
View Source
const OperationHttpServiceCaptcha = "/api.http.v1.HttpService/Captcha"
View Source
const OperationHttpServiceDebugPerf = "/api.http.v1.HttpService/DebugPerf"
View Source
const OperationHttpServiceLogin = "/api.http.v1.HttpService/Login"
View Source
const OperationHttpServiceSetting = "/api.http.v1.HttpService/Setting"

Variables

View Source
var File_http_v1_http_proto protoreflect.FileDescriptor
View Source
var HttpService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.http.v1.HttpService",
	HandlerType: (*HttpServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DebugPerf",
			Handler:    _HttpService_DebugPerf_Handler,
		},
		{
			MethodName: "Login",
			Handler:    _HttpService_Login_Handler,
		},
		{
			MethodName: "Captcha",
			Handler:    _HttpService_Captcha_Handler,
		},
		{
			MethodName: "Setting",
			Handler:    _HttpService_Setting_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "http/v1/http.proto",
}

HttpService_ServiceDesc is the grpc.ServiceDesc for HttpService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterHttpServiceHTTPServer

func RegisterHttpServiceHTTPServer(s *http.Server, srv HttpServiceHTTPServer)

func RegisterHttpServiceServer

func RegisterHttpServiceServer(s grpc.ServiceRegistrar, srv HttpServiceServer)

Types

type AddCasbinRequest

type AddCasbinRequest struct {
	RoleIDs string `protobuf:"bytes,1,opt,name=roleIDs,proto3" json:"roleIDs"`
	Path    string `protobuf:"bytes,2,opt,name=path,proto3" json:"path"`
	Method  string `protobuf:"bytes,3,opt,name=method,proto3" json:"method"`
	Desc    string `protobuf:"bytes,4,opt,name=desc,proto3" json:"desc"`
	// contains filtered or unexported fields
}

func (*AddCasbinRequest) Descriptor deprecated

func (*AddCasbinRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddCasbinRequest.ProtoReflect.Descriptor instead.

func (*AddCasbinRequest) GetDesc

func (x *AddCasbinRequest) GetDesc() string

func (*AddCasbinRequest) GetMethod

func (x *AddCasbinRequest) GetMethod() string

func (*AddCasbinRequest) GetPath

func (x *AddCasbinRequest) GetPath() string

func (*AddCasbinRequest) GetRoleIDs

func (x *AddCasbinRequest) GetRoleIDs() string

func (*AddCasbinRequest) ProtoMessage

func (*AddCasbinRequest) ProtoMessage()

func (*AddCasbinRequest) ProtoReflect

func (x *AddCasbinRequest) ProtoReflect() protoreflect.Message

func (*AddCasbinRequest) Reset

func (x *AddCasbinRequest) Reset()

func (*AddCasbinRequest) String

func (x *AddCasbinRequest) String() string

func (*AddCasbinRequest) Validate

func (m *AddCasbinRequest) Validate() error

Validate checks the field values on AddCasbinRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AddCasbinRequest) ValidateAll

func (m *AddCasbinRequest) ValidateAll() error

ValidateAll checks the field values on AddCasbinRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddCasbinRequestMultiError, or nil if none found.

type AddCasbinRequestMultiError

type AddCasbinRequestMultiError []error

AddCasbinRequestMultiError is an error wrapping multiple validation errors returned by AddCasbinRequest.ValidateAll() if the designated constraints aren't met.

func (AddCasbinRequestMultiError) AllErrors

func (m AddCasbinRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddCasbinRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AddCasbinRequestValidationError

type AddCasbinRequestValidationError struct {
	// contains filtered or unexported fields
}

AddCasbinRequestValidationError is the validation error returned by AddCasbinRequest.Validate if the designated constraints aren't met.

func (AddCasbinRequestValidationError) Cause

Cause function returns cause value.

func (AddCasbinRequestValidationError) Error

Error satisfies the builtin error interface

func (AddCasbinRequestValidationError) ErrorName

ErrorName returns error name.

func (AddCasbinRequestValidationError) Field

Field function returns field value.

func (AddCasbinRequestValidationError) Key

Key function returns key value.

func (AddCasbinRequestValidationError) Reason

Reason function returns reason value.

type AddRoleMenuRequest

type AddRoleMenuRequest struct {
	Component string `protobuf:"bytes,1,opt,name=component,proto3" json:"component"`
	Hidden    bool   `protobuf:"varint,2,opt,name=hidden,proto3" json:"hidden"`
	Icon      string `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon"`
	KeepAlive bool   `protobuf:"varint,4,opt,name=keepAlive,proto3" json:"keepAlive"`
	Name      string `protobuf:"bytes,5,opt,name=name,proto3" json:"name"`
	ParentID  int32  `protobuf:"varint,6,opt,name=parentID,proto3" json:"parentID"`
	Path      string `protobuf:"bytes,7,opt,name=path,proto3" json:"path"`
	RoleIDs   string `protobuf:"bytes,8,opt,name=roleIDs,proto3" json:"roleIDs"`
	Sort      int32  `protobuf:"varint,9,opt,name=sort,proto3" json:"sort"`
	Title     string `protobuf:"bytes,10,opt,name=title,proto3" json:"title"`
	Redirect  string `protobuf:"bytes,11,opt,name=redirect,proto3" json:"redirect"`
	// contains filtered or unexported fields
}

func (*AddRoleMenuRequest) Descriptor deprecated

func (*AddRoleMenuRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddRoleMenuRequest.ProtoReflect.Descriptor instead.

func (*AddRoleMenuRequest) GetComponent

func (x *AddRoleMenuRequest) GetComponent() string

func (*AddRoleMenuRequest) GetHidden

func (x *AddRoleMenuRequest) GetHidden() bool

func (*AddRoleMenuRequest) GetIcon

func (x *AddRoleMenuRequest) GetIcon() string

func (*AddRoleMenuRequest) GetKeepAlive

func (x *AddRoleMenuRequest) GetKeepAlive() bool

func (*AddRoleMenuRequest) GetName

func (x *AddRoleMenuRequest) GetName() string

func (*AddRoleMenuRequest) GetParentID

func (x *AddRoleMenuRequest) GetParentID() int32

func (*AddRoleMenuRequest) GetPath

func (x *AddRoleMenuRequest) GetPath() string

func (*AddRoleMenuRequest) GetRedirect

func (x *AddRoleMenuRequest) GetRedirect() string

func (*AddRoleMenuRequest) GetRoleIDs

func (x *AddRoleMenuRequest) GetRoleIDs() string

func (*AddRoleMenuRequest) GetSort

func (x *AddRoleMenuRequest) GetSort() int32

func (*AddRoleMenuRequest) GetTitle

func (x *AddRoleMenuRequest) GetTitle() string

func (*AddRoleMenuRequest) ProtoMessage

func (*AddRoleMenuRequest) ProtoMessage()

func (*AddRoleMenuRequest) ProtoReflect

func (x *AddRoleMenuRequest) ProtoReflect() protoreflect.Message

func (*AddRoleMenuRequest) Reset

func (x *AddRoleMenuRequest) Reset()

func (*AddRoleMenuRequest) String

func (x *AddRoleMenuRequest) String() string

func (*AddRoleMenuRequest) Validate

func (m *AddRoleMenuRequest) Validate() error

Validate checks the field values on AddRoleMenuRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AddRoleMenuRequest) ValidateAll

func (m *AddRoleMenuRequest) ValidateAll() error

ValidateAll checks the field values on AddRoleMenuRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddRoleMenuRequestMultiError, or nil if none found.

type AddRoleMenuRequestMultiError

type AddRoleMenuRequestMultiError []error

AddRoleMenuRequestMultiError is an error wrapping multiple validation errors returned by AddRoleMenuRequest.ValidateAll() if the designated constraints aren't met.

func (AddRoleMenuRequestMultiError) AllErrors

func (m AddRoleMenuRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddRoleMenuRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AddRoleMenuRequestValidationError

type AddRoleMenuRequestValidationError struct {
	// contains filtered or unexported fields
}

AddRoleMenuRequestValidationError is the validation error returned by AddRoleMenuRequest.Validate if the designated constraints aren't met.

func (AddRoleMenuRequestValidationError) Cause

Cause function returns cause value.

func (AddRoleMenuRequestValidationError) Error

Error satisfies the builtin error interface

func (AddRoleMenuRequestValidationError) ErrorName

ErrorName returns error name.

func (AddRoleMenuRequestValidationError) Field

Field function returns field value.

func (AddRoleMenuRequestValidationError) Key

Key function returns key value.

func (AddRoleMenuRequestValidationError) Reason

Reason function returns reason value.

type AddTokenBlackRequest

type AddTokenBlackRequest struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token"`
	// contains filtered or unexported fields
}

func (*AddTokenBlackRequest) Descriptor deprecated

func (*AddTokenBlackRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddTokenBlackRequest.ProtoReflect.Descriptor instead.

func (*AddTokenBlackRequest) GetToken

func (x *AddTokenBlackRequest) GetToken() string

func (*AddTokenBlackRequest) ProtoMessage

func (*AddTokenBlackRequest) ProtoMessage()

func (*AddTokenBlackRequest) ProtoReflect

func (x *AddTokenBlackRequest) ProtoReflect() protoreflect.Message

func (*AddTokenBlackRequest) Reset

func (x *AddTokenBlackRequest) Reset()

func (*AddTokenBlackRequest) String

func (x *AddTokenBlackRequest) String() string

func (*AddTokenBlackRequest) Validate

func (m *AddTokenBlackRequest) Validate() error

Validate checks the field values on AddTokenBlackRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AddTokenBlackRequest) ValidateAll

func (m *AddTokenBlackRequest) ValidateAll() error

ValidateAll checks the field values on AddTokenBlackRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddTokenBlackRequestMultiError, or nil if none found.

type AddTokenBlackRequestMultiError

type AddTokenBlackRequestMultiError []error

AddTokenBlackRequestMultiError is an error wrapping multiple validation errors returned by AddTokenBlackRequest.ValidateAll() if the designated constraints aren't met.

func (AddTokenBlackRequestMultiError) AllErrors

func (m AddTokenBlackRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddTokenBlackRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AddTokenBlackRequestValidationError

type AddTokenBlackRequestValidationError struct {
	// contains filtered or unexported fields
}

AddTokenBlackRequestValidationError is the validation error returned by AddTokenBlackRequest.Validate if the designated constraints aren't met.

func (AddTokenBlackRequestValidationError) Cause

Cause function returns cause value.

func (AddTokenBlackRequestValidationError) Error

Error satisfies the builtin error interface

func (AddTokenBlackRequestValidationError) ErrorName

ErrorName returns error name.

func (AddTokenBlackRequestValidationError) Field

Field function returns field value.

func (AddTokenBlackRequestValidationError) Key

Key function returns key value.

func (AddTokenBlackRequestValidationError) Reason

Reason function returns reason value.

type CaptchaRequest

type CaptchaRequest struct {
	// contains filtered or unexported fields
}

func (*CaptchaRequest) Descriptor deprecated

func (*CaptchaRequest) Descriptor() ([]byte, []int)

Deprecated: Use CaptchaRequest.ProtoReflect.Descriptor instead.

func (*CaptchaRequest) ProtoMessage

func (*CaptchaRequest) ProtoMessage()

func (*CaptchaRequest) ProtoReflect

func (x *CaptchaRequest) ProtoReflect() protoreflect.Message

func (*CaptchaRequest) Reset

func (x *CaptchaRequest) Reset()

func (*CaptchaRequest) String

func (x *CaptchaRequest) String() string

func (*CaptchaRequest) Validate

func (m *CaptchaRequest) Validate() error

Validate checks the field values on CaptchaRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CaptchaRequest) ValidateAll

func (m *CaptchaRequest) ValidateAll() error

ValidateAll checks the field values on CaptchaRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CaptchaRequestMultiError, or nil if none found.

type CaptchaRequestMultiError

type CaptchaRequestMultiError []error

CaptchaRequestMultiError is an error wrapping multiple validation errors returned by CaptchaRequest.ValidateAll() if the designated constraints aren't met.

func (CaptchaRequestMultiError) AllErrors

func (m CaptchaRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CaptchaRequestMultiError) Error

func (m CaptchaRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CaptchaRequestValidationError

type CaptchaRequestValidationError struct {
	// contains filtered or unexported fields
}

CaptchaRequestValidationError is the validation error returned by CaptchaRequest.Validate if the designated constraints aren't met.

func (CaptchaRequestValidationError) Cause

Cause function returns cause value.

func (CaptchaRequestValidationError) Error

Error satisfies the builtin error interface

func (CaptchaRequestValidationError) ErrorName

func (e CaptchaRequestValidationError) ErrorName() string

ErrorName returns error name.

func (CaptchaRequestValidationError) Field

Field function returns field value.

func (CaptchaRequestValidationError) Key

Key function returns key value.

func (CaptchaRequestValidationError) Reason

Reason function returns reason value.

type CaptchaResponse

type CaptchaResponse struct {
	CaptchaID     string `protobuf:"bytes,1,opt,name=captchaID,proto3" json:"captchaID"`
	PicPath       string `protobuf:"bytes,2,opt,name=picPath,proto3" json:"picPath"`
	CaptchaLength int32  `protobuf:"varint,3,opt,name=captchaLength,proto3" json:"captchaLength"`
	// contains filtered or unexported fields
}

func (*CaptchaResponse) Descriptor deprecated

func (*CaptchaResponse) Descriptor() ([]byte, []int)

Deprecated: Use CaptchaResponse.ProtoReflect.Descriptor instead.

func (*CaptchaResponse) GetCaptchaID

func (x *CaptchaResponse) GetCaptchaID() string

func (*CaptchaResponse) GetCaptchaLength

func (x *CaptchaResponse) GetCaptchaLength() int32

func (*CaptchaResponse) GetPicPath

func (x *CaptchaResponse) GetPicPath() string

func (*CaptchaResponse) ProtoMessage

func (*CaptchaResponse) ProtoMessage()

func (*CaptchaResponse) ProtoReflect

func (x *CaptchaResponse) ProtoReflect() protoreflect.Message

func (*CaptchaResponse) Reset

func (x *CaptchaResponse) Reset()

func (*CaptchaResponse) String

func (x *CaptchaResponse) String() string

func (*CaptchaResponse) Validate

func (m *CaptchaResponse) Validate() error

Validate checks the field values on CaptchaResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CaptchaResponse) ValidateAll

func (m *CaptchaResponse) ValidateAll() error

ValidateAll checks the field values on CaptchaResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CaptchaResponseMultiError, or nil if none found.

type CaptchaResponseMultiError

type CaptchaResponseMultiError []error

CaptchaResponseMultiError is an error wrapping multiple validation errors returned by CaptchaResponse.ValidateAll() if the designated constraints aren't met.

func (CaptchaResponseMultiError) AllErrors

func (m CaptchaResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CaptchaResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CaptchaResponseValidationError

type CaptchaResponseValidationError struct {
	// contains filtered or unexported fields
}

CaptchaResponseValidationError is the validation error returned by CaptchaResponse.Validate if the designated constraints aren't met.

func (CaptchaResponseValidationError) Cause

Cause function returns cause value.

func (CaptchaResponseValidationError) Error

Error satisfies the builtin error interface

func (CaptchaResponseValidationError) ErrorName

func (e CaptchaResponseValidationError) ErrorName() string

ErrorName returns error name.

func (CaptchaResponseValidationError) Field

Field function returns field value.

func (CaptchaResponseValidationError) Key

Key function returns key value.

func (CaptchaResponseValidationError) Reason

Reason function returns reason value.

type DebugPerfRequest

type DebugPerfRequest struct {
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text"`
	// contains filtered or unexported fields
}

func (*DebugPerfRequest) Descriptor deprecated

func (*DebugPerfRequest) Descriptor() ([]byte, []int)

Deprecated: Use DebugPerfRequest.ProtoReflect.Descriptor instead.

func (*DebugPerfRequest) GetText

func (x *DebugPerfRequest) GetText() string

func (*DebugPerfRequest) ProtoMessage

func (*DebugPerfRequest) ProtoMessage()

func (*DebugPerfRequest) ProtoReflect

func (x *DebugPerfRequest) ProtoReflect() protoreflect.Message

func (*DebugPerfRequest) Reset

func (x *DebugPerfRequest) Reset()

func (*DebugPerfRequest) String

func (x *DebugPerfRequest) String() string

func (*DebugPerfRequest) Validate

func (m *DebugPerfRequest) Validate() error

Validate checks the field values on DebugPerfRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DebugPerfRequest) ValidateAll

func (m *DebugPerfRequest) ValidateAll() error

ValidateAll checks the field values on DebugPerfRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DebugPerfRequestMultiError, or nil if none found.

type DebugPerfRequestMultiError

type DebugPerfRequestMultiError []error

DebugPerfRequestMultiError is an error wrapping multiple validation errors returned by DebugPerfRequest.ValidateAll() if the designated constraints aren't met.

func (DebugPerfRequestMultiError) AllErrors

func (m DebugPerfRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DebugPerfRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DebugPerfRequestValidationError

type DebugPerfRequestValidationError struct {
	// contains filtered or unexported fields
}

DebugPerfRequestValidationError is the validation error returned by DebugPerfRequest.Validate if the designated constraints aren't met.

func (DebugPerfRequestValidationError) Cause

Cause function returns cause value.

func (DebugPerfRequestValidationError) Error

Error satisfies the builtin error interface

func (DebugPerfRequestValidationError) ErrorName

ErrorName returns error name.

func (DebugPerfRequestValidationError) Field

Field function returns field value.

func (DebugPerfRequestValidationError) Key

Key function returns key value.

func (DebugPerfRequestValidationError) Reason

Reason function returns reason value.

type DebugPerfResponse

type DebugPerfResponse struct {
	ID         int64  `protobuf:"varint,1,opt,name=ID,proto3" json:"ID"`
	UID        string `protobuf:"bytes,2,opt,name=UID,proto3" json:"UID"`
	UserName   string `protobuf:"bytes,3,opt,name=userName,proto3" json:"userName"`
	Motto      string `protobuf:"bytes,4,opt,name=Motto,proto3" json:"Motto"`
	Text       string `protobuf:"bytes,5,opt,name=text,proto3" json:"text"`
	CreateTime string `protobuf:"bytes,6,opt,name=createTime,proto3" json:"createTime"`
	CreateUser string `protobuf:"bytes,7,opt,name=createUser,proto3" json:"createUser"`
	// contains filtered or unexported fields
}

func (*DebugPerfResponse) Descriptor deprecated

func (*DebugPerfResponse) Descriptor() ([]byte, []int)

Deprecated: Use DebugPerfResponse.ProtoReflect.Descriptor instead.

func (*DebugPerfResponse) GetCreateTime

func (x *DebugPerfResponse) GetCreateTime() string

func (*DebugPerfResponse) GetCreateUser

func (x *DebugPerfResponse) GetCreateUser() string

func (*DebugPerfResponse) GetID

func (x *DebugPerfResponse) GetID() int64

func (*DebugPerfResponse) GetMotto

func (x *DebugPerfResponse) GetMotto() string

func (*DebugPerfResponse) GetText

func (x *DebugPerfResponse) GetText() string

func (*DebugPerfResponse) GetUID

func (x *DebugPerfResponse) GetUID() string

func (*DebugPerfResponse) GetUserName

func (x *DebugPerfResponse) GetUserName() string

func (*DebugPerfResponse) ProtoMessage

func (*DebugPerfResponse) ProtoMessage()

func (*DebugPerfResponse) ProtoReflect

func (x *DebugPerfResponse) ProtoReflect() protoreflect.Message

func (*DebugPerfResponse) Reset

func (x *DebugPerfResponse) Reset()

func (*DebugPerfResponse) String

func (x *DebugPerfResponse) String() string

func (*DebugPerfResponse) Validate

func (m *DebugPerfResponse) Validate() error

Validate checks the field values on DebugPerfResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DebugPerfResponse) ValidateAll

func (m *DebugPerfResponse) ValidateAll() error

ValidateAll checks the field values on DebugPerfResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DebugPerfResponseMultiError, or nil if none found.

type DebugPerfResponseMultiError

type DebugPerfResponseMultiError []error

DebugPerfResponseMultiError is an error wrapping multiple validation errors returned by DebugPerfResponse.ValidateAll() if the designated constraints aren't met.

func (DebugPerfResponseMultiError) AllErrors

func (m DebugPerfResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DebugPerfResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DebugPerfResponseValidationError

type DebugPerfResponseValidationError struct {
	// contains filtered or unexported fields
}

DebugPerfResponseValidationError is the validation error returned by DebugPerfResponse.Validate if the designated constraints aren't met.

func (DebugPerfResponseValidationError) Cause

Cause function returns cause value.

func (DebugPerfResponseValidationError) Error

Error satisfies the builtin error interface

func (DebugPerfResponseValidationError) ErrorName

ErrorName returns error name.

func (DebugPerfResponseValidationError) Field

Field function returns field value.

func (DebugPerfResponseValidationError) Key

Key function returns key value.

func (DebugPerfResponseValidationError) Reason

Reason function returns reason value.

type DeleteCasbinRequest

type DeleteCasbinRequest struct {
	ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID"`
	// contains filtered or unexported fields
}

func (*DeleteCasbinRequest) Descriptor deprecated

func (*DeleteCasbinRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteCasbinRequest.ProtoReflect.Descriptor instead.

func (*DeleteCasbinRequest) GetID

func (x *DeleteCasbinRequest) GetID() int64

func (*DeleteCasbinRequest) ProtoMessage

func (*DeleteCasbinRequest) ProtoMessage()

func (*DeleteCasbinRequest) ProtoReflect

func (x *DeleteCasbinRequest) ProtoReflect() protoreflect.Message

func (*DeleteCasbinRequest) Reset

func (x *DeleteCasbinRequest) Reset()

func (*DeleteCasbinRequest) String

func (x *DeleteCasbinRequest) String() string

func (*DeleteCasbinRequest) Validate

func (m *DeleteCasbinRequest) Validate() error

Validate checks the field values on DeleteCasbinRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteCasbinRequest) ValidateAll

func (m *DeleteCasbinRequest) ValidateAll() error

ValidateAll checks the field values on DeleteCasbinRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteCasbinRequestMultiError, or nil if none found.

type DeleteCasbinRequestMultiError

type DeleteCasbinRequestMultiError []error

DeleteCasbinRequestMultiError is an error wrapping multiple validation errors returned by DeleteCasbinRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteCasbinRequestMultiError) AllErrors

func (m DeleteCasbinRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteCasbinRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteCasbinRequestValidationError

type DeleteCasbinRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteCasbinRequestValidationError is the validation error returned by DeleteCasbinRequest.Validate if the designated constraints aren't met.

func (DeleteCasbinRequestValidationError) Cause

Cause function returns cause value.

func (DeleteCasbinRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteCasbinRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteCasbinRequestValidationError) Field

Field function returns field value.

func (DeleteCasbinRequestValidationError) Key

Key function returns key value.

func (DeleteCasbinRequestValidationError) Reason

Reason function returns reason value.

type DeleteRoleMenuRequest

type DeleteRoleMenuRequest struct {
	ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID"`
	// contains filtered or unexported fields
}

func (*DeleteRoleMenuRequest) Descriptor deprecated

func (*DeleteRoleMenuRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRoleMenuRequest.ProtoReflect.Descriptor instead.

func (*DeleteRoleMenuRequest) GetID

func (x *DeleteRoleMenuRequest) GetID() int64

func (*DeleteRoleMenuRequest) ProtoMessage

func (*DeleteRoleMenuRequest) ProtoMessage()

func (*DeleteRoleMenuRequest) ProtoReflect

func (x *DeleteRoleMenuRequest) ProtoReflect() protoreflect.Message

func (*DeleteRoleMenuRequest) Reset

func (x *DeleteRoleMenuRequest) Reset()

func (*DeleteRoleMenuRequest) String

func (x *DeleteRoleMenuRequest) String() string

func (*DeleteRoleMenuRequest) Validate

func (m *DeleteRoleMenuRequest) Validate() error

Validate checks the field values on DeleteRoleMenuRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteRoleMenuRequest) ValidateAll

func (m *DeleteRoleMenuRequest) ValidateAll() error

ValidateAll checks the field values on DeleteRoleMenuRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteRoleMenuRequestMultiError, or nil if none found.

type DeleteRoleMenuRequestMultiError

type DeleteRoleMenuRequestMultiError []error

DeleteRoleMenuRequestMultiError is an error wrapping multiple validation errors returned by DeleteRoleMenuRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteRoleMenuRequestMultiError) AllErrors

func (m DeleteRoleMenuRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteRoleMenuRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteRoleMenuRequestValidationError

type DeleteRoleMenuRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteRoleMenuRequestValidationError is the validation error returned by DeleteRoleMenuRequest.Validate if the designated constraints aren't met.

func (DeleteRoleMenuRequestValidationError) Cause

Cause function returns cause value.

func (DeleteRoleMenuRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteRoleMenuRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteRoleMenuRequestValidationError) Field

Field function returns field value.

func (DeleteRoleMenuRequestValidationError) Key

Key function returns key value.

func (DeleteRoleMenuRequestValidationError) Reason

Reason function returns reason value.

type GetCasbinRequest

type GetCasbinRequest struct {
	RoleIDs  string `protobuf:"bytes,1,opt,name=roleIDs,proto3" json:"roleIDs"`
	Path     string `protobuf:"bytes,2,opt,name=path,proto3" json:"path"`
	Method   string `protobuf:"bytes,3,opt,name=method,proto3" json:"method"`
	Page     int32  `protobuf:"varint,4,opt,name=page,proto3" json:"page"`
	PageSize int32  `protobuf:"varint,5,opt,name=pageSize,proto3" json:"pageSize"`
	// contains filtered or unexported fields
}

获取权限列表

func (*GetCasbinRequest) Descriptor deprecated

func (*GetCasbinRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCasbinRequest.ProtoReflect.Descriptor instead.

func (*GetCasbinRequest) GetMethod

func (x *GetCasbinRequest) GetMethod() string

func (*GetCasbinRequest) GetPage

func (x *GetCasbinRequest) GetPage() int32

func (*GetCasbinRequest) GetPageSize

func (x *GetCasbinRequest) GetPageSize() int32

func (*GetCasbinRequest) GetPath

func (x *GetCasbinRequest) GetPath() string

func (*GetCasbinRequest) GetRoleIDs

func (x *GetCasbinRequest) GetRoleIDs() string

func (*GetCasbinRequest) ProtoMessage

func (*GetCasbinRequest) ProtoMessage()

func (*GetCasbinRequest) ProtoReflect

func (x *GetCasbinRequest) ProtoReflect() protoreflect.Message

func (*GetCasbinRequest) Reset

func (x *GetCasbinRequest) Reset()

func (*GetCasbinRequest) String

func (x *GetCasbinRequest) String() string

func (*GetCasbinRequest) Validate

func (m *GetCasbinRequest) Validate() error

Validate checks the field values on GetCasbinRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetCasbinRequest) ValidateAll

func (m *GetCasbinRequest) ValidateAll() error

ValidateAll checks the field values on GetCasbinRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCasbinRequestMultiError, or nil if none found.

type GetCasbinRequestMultiError

type GetCasbinRequestMultiError []error

GetCasbinRequestMultiError is an error wrapping multiple validation errors returned by GetCasbinRequest.ValidateAll() if the designated constraints aren't met.

func (GetCasbinRequestMultiError) AllErrors

func (m GetCasbinRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCasbinRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetCasbinRequestValidationError

type GetCasbinRequestValidationError struct {
	// contains filtered or unexported fields
}

GetCasbinRequestValidationError is the validation error returned by GetCasbinRequest.Validate if the designated constraints aren't met.

func (GetCasbinRequestValidationError) Cause

Cause function returns cause value.

func (GetCasbinRequestValidationError) Error

Error satisfies the builtin error interface

func (GetCasbinRequestValidationError) ErrorName

ErrorName returns error name.

func (GetCasbinRequestValidationError) Field

Field function returns field value.

func (GetCasbinRequestValidationError) Key

Key function returns key value.

func (GetCasbinRequestValidationError) Reason

Reason function returns reason value.

type GetCasbinResponse

type GetCasbinResponse struct {
	ID      int64  `protobuf:"varint,1,opt,name=ID,proto3" json:"ID"`
	RoleIDs string `protobuf:"bytes,2,opt,name=roleIDs,proto3" json:"roleIDs"`
	Path    string `protobuf:"bytes,3,opt,name=path,proto3" json:"path"`
	Method  string `protobuf:"bytes,4,opt,name=method,proto3" json:"method"`
	Desc    string `protobuf:"bytes,5,opt,name=desc,proto3" json:"desc"`
	// contains filtered or unexported fields
}

func (*GetCasbinResponse) Descriptor deprecated

func (*GetCasbinResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetCasbinResponse.ProtoReflect.Descriptor instead.

func (*GetCasbinResponse) GetDesc

func (x *GetCasbinResponse) GetDesc() string

func (*GetCasbinResponse) GetID

func (x *GetCasbinResponse) GetID() int64

func (*GetCasbinResponse) GetMethod

func (x *GetCasbinResponse) GetMethod() string

func (*GetCasbinResponse) GetPath

func (x *GetCasbinResponse) GetPath() string

func (*GetCasbinResponse) GetRoleIDs

func (x *GetCasbinResponse) GetRoleIDs() string

func (*GetCasbinResponse) ProtoMessage

func (*GetCasbinResponse) ProtoMessage()

func (*GetCasbinResponse) ProtoReflect

func (x *GetCasbinResponse) ProtoReflect() protoreflect.Message

func (*GetCasbinResponse) Reset

func (x *GetCasbinResponse) Reset()

func (*GetCasbinResponse) String

func (x *GetCasbinResponse) String() string

func (*GetCasbinResponse) Validate

func (m *GetCasbinResponse) Validate() error

Validate checks the field values on GetCasbinResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetCasbinResponse) ValidateAll

func (m *GetCasbinResponse) ValidateAll() error

ValidateAll checks the field values on GetCasbinResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCasbinResponseMultiError, or nil if none found.

type GetCasbinResponseMultiError

type GetCasbinResponseMultiError []error

GetCasbinResponseMultiError is an error wrapping multiple validation errors returned by GetCasbinResponse.ValidateAll() if the designated constraints aren't met.

func (GetCasbinResponseMultiError) AllErrors

func (m GetCasbinResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCasbinResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetCasbinResponseValidationError

type GetCasbinResponseValidationError struct {
	// contains filtered or unexported fields
}

GetCasbinResponseValidationError is the validation error returned by GetCasbinResponse.Validate if the designated constraints aren't met.

func (GetCasbinResponseValidationError) Cause

Cause function returns cause value.

func (GetCasbinResponseValidationError) Error

Error satisfies the builtin error interface

func (GetCasbinResponseValidationError) ErrorName

ErrorName returns error name.

func (GetCasbinResponseValidationError) Field

Field function returns field value.

func (GetCasbinResponseValidationError) Key

Key function returns key value.

func (GetCasbinResponseValidationError) Reason

Reason function returns reason value.

type GetUserInfoResponse

type GetUserInfoResponse struct {
	ID       int64  `protobuf:"varint,1,opt,name=ID,proto3" json:"ID"`
	UID      string `protobuf:"bytes,2,opt,name=UID,proto3" json:"UID"`
	UserName string `protobuf:"bytes,3,opt,name=userName,proto3" json:"userName"`
	NickName string `protobuf:"bytes,4,opt,name=nickName,proto3" json:"nickName"`
	Birth    string `protobuf:"bytes,5,opt,name=birth,proto3" json:"birth"`
	Avatar   string `protobuf:"bytes,6,opt,name=avatar,proto3" json:"avatar"`
	RoleID   string `protobuf:"bytes,7,opt,name=roleID,proto3" json:"roleID"`
	RoleName string `protobuf:"bytes,8,opt,name=roleName,proto3" json:"roleName"`
	Phone    string `protobuf:"bytes,9,opt,name=phone,proto3" json:"phone"`
	Wechat   string `protobuf:"bytes,10,opt,name=wechat,proto3" json:"wechat"`
	Email    string `protobuf:"bytes,11,opt,name=email,proto3" json:"email"`
	State    int32  `protobuf:"varint,12,opt,name=state,proto3" json:"state"`
	Motto    string `protobuf:"bytes,13,opt,name=motto,proto3" json:"motto"`
	// contains filtered or unexported fields
}

func (*GetUserInfoResponse) Descriptor deprecated

func (*GetUserInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUserInfoResponse.ProtoReflect.Descriptor instead.

func (*GetUserInfoResponse) GetAvatar

func (x *GetUserInfoResponse) GetAvatar() string

func (*GetUserInfoResponse) GetBirth

func (x *GetUserInfoResponse) GetBirth() string

func (*GetUserInfoResponse) GetEmail

func (x *GetUserInfoResponse) GetEmail() string

func (*GetUserInfoResponse) GetID

func (x *GetUserInfoResponse) GetID() int64

func (*GetUserInfoResponse) GetMotto

func (x *GetUserInfoResponse) GetMotto() string

func (*GetUserInfoResponse) GetNickName

func (x *GetUserInfoResponse) GetNickName() string

func (*GetUserInfoResponse) GetPhone

func (x *GetUserInfoResponse) GetPhone() string

func (*GetUserInfoResponse) GetRoleID

func (x *GetUserInfoResponse) GetRoleID() string

func (*GetUserInfoResponse) GetRoleName

func (x *GetUserInfoResponse) GetRoleName() string

func (*GetUserInfoResponse) GetState

func (x *GetUserInfoResponse) GetState() int32

func (*GetUserInfoResponse) GetUID

func (x *GetUserInfoResponse) GetUID() string

func (*GetUserInfoResponse) GetUserName

func (x *GetUserInfoResponse) GetUserName() string

func (*GetUserInfoResponse) GetWechat

func (x *GetUserInfoResponse) GetWechat() string

func (*GetUserInfoResponse) ProtoMessage

func (*GetUserInfoResponse) ProtoMessage()

func (*GetUserInfoResponse) ProtoReflect

func (x *GetUserInfoResponse) ProtoReflect() protoreflect.Message

func (*GetUserInfoResponse) Reset

func (x *GetUserInfoResponse) Reset()

func (*GetUserInfoResponse) String

func (x *GetUserInfoResponse) String() string

func (*GetUserInfoResponse) Validate

func (m *GetUserInfoResponse) Validate() error

Validate checks the field values on GetUserInfoResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetUserInfoResponse) ValidateAll

func (m *GetUserInfoResponse) ValidateAll() error

ValidateAll checks the field values on GetUserInfoResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserInfoResponseMultiError, or nil if none found.

type GetUserInfoResponseMultiError

type GetUserInfoResponseMultiError []error

GetUserInfoResponseMultiError is an error wrapping multiple validation errors returned by GetUserInfoResponse.ValidateAll() if the designated constraints aren't met.

func (GetUserInfoResponseMultiError) AllErrors

func (m GetUserInfoResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserInfoResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetUserInfoResponseValidationError

type GetUserInfoResponseValidationError struct {
	// contains filtered or unexported fields
}

GetUserInfoResponseValidationError is the validation error returned by GetUserInfoResponse.Validate if the designated constraints aren't met.

func (GetUserInfoResponseValidationError) Cause

Cause function returns cause value.

func (GetUserInfoResponseValidationError) Error

Error satisfies the builtin error interface

func (GetUserInfoResponseValidationError) ErrorName

ErrorName returns error name.

func (GetUserInfoResponseValidationError) Field

Field function returns field value.

func (GetUserInfoResponseValidationError) Key

Key function returns key value.

func (GetUserInfoResponseValidationError) Reason

Reason function returns reason value.

type HttpServiceClient

type HttpServiceClient interface {
	// 性能测试
	DebugPerf(ctx context.Context, in *DebugPerfRequest, opts ...grpc.CallOption) (*DebugPerfResponse, error)
	// 登录
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	// 获取验证码
	Captcha(ctx context.Context, in *CaptchaRequest, opts ...grpc.CallOption) (*CaptchaResponse, error)
	// 设置
	Setting(ctx context.Context, in *SettingRequest, opts ...grpc.CallOption) (*SettingResponse, error)
}

HttpServiceClient is the client API for HttpService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type HttpServiceHTTPClient

type HttpServiceHTTPClient interface {
	Captcha(ctx context.Context, req *CaptchaRequest, opts ...http.CallOption) (rsp *CaptchaResponse, err error)
	DebugPerf(ctx context.Context, req *DebugPerfRequest, opts ...http.CallOption) (rsp *DebugPerfResponse, err error)
	Login(ctx context.Context, req *LoginRequest, opts ...http.CallOption) (rsp *LoginResponse, err error)
	Setting(ctx context.Context, req *SettingRequest, opts ...http.CallOption) (rsp *SettingResponse, err error)
}

func NewHttpServiceHTTPClient

func NewHttpServiceHTTPClient(client *http.Client) HttpServiceHTTPClient

type HttpServiceHTTPClientImpl

type HttpServiceHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*HttpServiceHTTPClientImpl) Captcha

func (*HttpServiceHTTPClientImpl) DebugPerf

func (*HttpServiceHTTPClientImpl) Login

func (*HttpServiceHTTPClientImpl) Setting

type HttpServiceHTTPServer

type HttpServiceHTTPServer interface {
	// Captcha获取验证码
	Captcha(context.Context, *CaptchaRequest) (*CaptchaResponse, error)
	// DebugPerf性能测试
	DebugPerf(context.Context, *DebugPerfRequest) (*DebugPerfResponse, error)
	// Login登录
	Login(context.Context, *LoginRequest) (*LoginResponse, error)
	// Setting设置
	Setting(context.Context, *SettingRequest) (*SettingResponse, error)
}

type HttpServiceServer

type HttpServiceServer interface {
	// 性能测试
	DebugPerf(context.Context, *DebugPerfRequest) (*DebugPerfResponse, error)
	// 登录
	Login(context.Context, *LoginRequest) (*LoginResponse, error)
	// 获取验证码
	Captcha(context.Context, *CaptchaRequest) (*CaptchaResponse, error)
	// 设置
	Setting(context.Context, *SettingRequest) (*SettingResponse, error)
	// contains filtered or unexported methods
}

HttpServiceServer is the server API for HttpService service. All implementations must embed UnimplementedHttpServiceServer for forward compatibility

type IsTokenBlackkRequest

type IsTokenBlackkRequest struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token"`
	// contains filtered or unexported fields
}

func (*IsTokenBlackkRequest) Descriptor deprecated

func (*IsTokenBlackkRequest) Descriptor() ([]byte, []int)

Deprecated: Use IsTokenBlackkRequest.ProtoReflect.Descriptor instead.

func (*IsTokenBlackkRequest) GetToken

func (x *IsTokenBlackkRequest) GetToken() string

func (*IsTokenBlackkRequest) ProtoMessage

func (*IsTokenBlackkRequest) ProtoMessage()

func (*IsTokenBlackkRequest) ProtoReflect

func (x *IsTokenBlackkRequest) ProtoReflect() protoreflect.Message

func (*IsTokenBlackkRequest) Reset

func (x *IsTokenBlackkRequest) Reset()

func (*IsTokenBlackkRequest) String

func (x *IsTokenBlackkRequest) String() string

func (*IsTokenBlackkRequest) Validate

func (m *IsTokenBlackkRequest) Validate() error

Validate checks the field values on IsTokenBlackkRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*IsTokenBlackkRequest) ValidateAll

func (m *IsTokenBlackkRequest) ValidateAll() error

ValidateAll checks the field values on IsTokenBlackkRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IsTokenBlackkRequestMultiError, or nil if none found.

type IsTokenBlackkRequestMultiError

type IsTokenBlackkRequestMultiError []error

IsTokenBlackkRequestMultiError is an error wrapping multiple validation errors returned by IsTokenBlackkRequest.ValidateAll() if the designated constraints aren't met.

func (IsTokenBlackkRequestMultiError) AllErrors

func (m IsTokenBlackkRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IsTokenBlackkRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type IsTokenBlackkRequestValidationError

type IsTokenBlackkRequestValidationError struct {
	// contains filtered or unexported fields
}

IsTokenBlackkRequestValidationError is the validation error returned by IsTokenBlackkRequest.Validate if the designated constraints aren't met.

func (IsTokenBlackkRequestValidationError) Cause

Cause function returns cause value.

func (IsTokenBlackkRequestValidationError) Error

Error satisfies the builtin error interface

func (IsTokenBlackkRequestValidationError) ErrorName

ErrorName returns error name.

func (IsTokenBlackkRequestValidationError) Field

Field function returns field value.

func (IsTokenBlackkRequestValidationError) Key

Key function returns key value.

func (IsTokenBlackkRequestValidationError) Reason

Reason function returns reason value.

type LoginRequest

type LoginRequest struct {

	// 用户名
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username"`
	// 密码
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password"`
	// 验证码
	Captcha string `protobuf:"bytes,3,opt,name=captcha,proto3" json:"captcha"`
	// 校验ID
	CaptchaID string `protobuf:"bytes,4,opt,name=captchaID,proto3" json:"captchaID"`
	// contains filtered or unexported fields
}

func (*LoginRequest) Descriptor deprecated

func (*LoginRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetCaptcha

func (x *LoginRequest) GetCaptcha() string

func (*LoginRequest) GetCaptchaID

func (x *LoginRequest) GetCaptchaID() string

func (*LoginRequest) GetPassword

func (x *LoginRequest) GetPassword() string

func (*LoginRequest) GetUsername

func (x *LoginRequest) GetUsername() string

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect

func (x *LoginRequest) ProtoReflect() protoreflect.Message

func (*LoginRequest) Reset

func (x *LoginRequest) Reset()

func (*LoginRequest) String

func (x *LoginRequest) String() string

func (*LoginRequest) Validate

func (m *LoginRequest) Validate() error

Validate checks the field values on LoginRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoginRequest) ValidateAll

func (m *LoginRequest) ValidateAll() error

ValidateAll checks the field values on LoginRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoginRequestMultiError, or nil if none found.

type LoginRequestMultiError

type LoginRequestMultiError []error

LoginRequestMultiError is an error wrapping multiple validation errors returned by LoginRequest.ValidateAll() if the designated constraints aren't met.

func (LoginRequestMultiError) AllErrors

func (m LoginRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoginRequestMultiError) Error

func (m LoginRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LoginRequestValidationError

type LoginRequestValidationError struct {
	// contains filtered or unexported fields
}

LoginRequestValidationError is the validation error returned by LoginRequest.Validate if the designated constraints aren't met.

func (LoginRequestValidationError) Cause

Cause function returns cause value.

func (LoginRequestValidationError) Error

Error satisfies the builtin error interface

func (LoginRequestValidationError) ErrorName

func (e LoginRequestValidationError) ErrorName() string

ErrorName returns error name.

func (LoginRequestValidationError) Field

Field function returns field value.

func (LoginRequestValidationError) Key

Key function returns key value.

func (LoginRequestValidationError) Reason

Reason function returns reason value.

type LoginResponse

type LoginResponse struct {
	ID           int64  `protobuf:"varint,1,opt,name=ID,proto3" json:"ID"`
	UID          string `protobuf:"bytes,2,opt,name=UID,proto3" json:"UID"`
	UserName     string `protobuf:"bytes,3,opt,name=userName,proto3" json:"userName"`
	NickName     string `protobuf:"bytes,4,opt,name=nickName,proto3" json:"nickName"`
	Birth        string `protobuf:"bytes,5,opt,name=birth,proto3" json:"birth"`
	Avatar       string `protobuf:"bytes,6,opt,name=avatar,proto3" json:"avatar"`
	RoleID       string `protobuf:"bytes,7,opt,name=roleID,proto3" json:"roleID"`
	RoleName     string `protobuf:"bytes,8,opt,name=roleName,proto3" json:"roleName"`
	Phone        string `protobuf:"bytes,9,opt,name=phone,proto3" json:"phone"`
	Wechat       string `protobuf:"bytes,10,opt,name=wechat,proto3" json:"wechat"`
	Email        string `protobuf:"bytes,11,opt,name=email,proto3" json:"email"`
	State        int32  `protobuf:"varint,12,opt,name=state,proto3" json:"state"`
	Motto        string `protobuf:"bytes,13,opt,name=motto,proto3" json:"motto"`
	Token        string `protobuf:"bytes,18,opt,name=token,proto3" json:"token"`
	RefreshToken string `protobuf:"bytes,19,opt,name=refreshToken,proto3" json:"refreshToken"`
	// contains filtered or unexported fields
}

func (*LoginResponse) Descriptor deprecated

func (*LoginResponse) Descriptor() ([]byte, []int)

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetAvatar

func (x *LoginResponse) GetAvatar() string

func (*LoginResponse) GetBirth

func (x *LoginResponse) GetBirth() string

func (*LoginResponse) GetEmail

func (x *LoginResponse) GetEmail() string

func (*LoginResponse) GetID

func (x *LoginResponse) GetID() int64

func (*LoginResponse) GetMotto

func (x *LoginResponse) GetMotto() string

func (*LoginResponse) GetNickName

func (x *LoginResponse) GetNickName() string

func (*LoginResponse) GetPhone

func (x *LoginResponse) GetPhone() string

func (*LoginResponse) GetRefreshToken

func (x *LoginResponse) GetRefreshToken() string

func (*LoginResponse) GetRoleID

func (x *LoginResponse) GetRoleID() string

func (*LoginResponse) GetRoleName

func (x *LoginResponse) GetRoleName() string

func (*LoginResponse) GetState

func (x *LoginResponse) GetState() int32

func (*LoginResponse) GetToken

func (x *LoginResponse) GetToken() string

func (*LoginResponse) GetUID

func (x *LoginResponse) GetUID() string

func (*LoginResponse) GetUserName

func (x *LoginResponse) GetUserName() string

func (*LoginResponse) GetWechat

func (x *LoginResponse) GetWechat() string

func (*LoginResponse) ProtoMessage

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) ProtoReflect

func (x *LoginResponse) ProtoReflect() protoreflect.Message

func (*LoginResponse) Reset

func (x *LoginResponse) Reset()

func (*LoginResponse) String

func (x *LoginResponse) String() string

func (*LoginResponse) Validate

func (m *LoginResponse) Validate() error

Validate checks the field values on LoginResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoginResponse) ValidateAll

func (m *LoginResponse) ValidateAll() error

ValidateAll checks the field values on LoginResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoginResponseMultiError, or nil if none found.

type LoginResponseMultiError

type LoginResponseMultiError []error

LoginResponseMultiError is an error wrapping multiple validation errors returned by LoginResponse.ValidateAll() if the designated constraints aren't met.

func (LoginResponseMultiError) AllErrors

func (m LoginResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoginResponseMultiError) Error

func (m LoginResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LoginResponseValidationError

type LoginResponseValidationError struct {
	// contains filtered or unexported fields
}

LoginResponseValidationError is the validation error returned by LoginResponse.Validate if the designated constraints aren't met.

func (LoginResponseValidationError) Cause

Cause function returns cause value.

func (LoginResponseValidationError) Error

Error satisfies the builtin error interface

func (LoginResponseValidationError) ErrorName

func (e LoginResponseValidationError) ErrorName() string

ErrorName returns error name.

func (LoginResponseValidationError) Field

Field function returns field value.

func (LoginResponseValidationError) Key

Key function returns key value.

func (LoginResponseValidationError) Reason

Reason function returns reason value.

type MenuRequest struct {
	// contains filtered or unexported fields
}
func (*MenuRequest) Descriptor() ([]byte, []int)

Deprecated: Use MenuRequest.ProtoReflect.Descriptor instead.

func (*MenuRequest) ProtoMessage()
func (x *MenuRequest) ProtoReflect() protoreflect.Message
func (x *MenuRequest) Reset()
func (x *MenuRequest) String() string
func (m *MenuRequest) Validate() error

Validate checks the field values on MenuRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (m *MenuRequest) ValidateAll() error

ValidateAll checks the field values on MenuRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MenuRequestMultiError, or nil if none found.

type MenuRequestMultiError []error

MenuRequestMultiError is an error wrapping multiple validation errors returned by MenuRequest.ValidateAll() if the designated constraints aren't met.

func (m MenuRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (m MenuRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MenuRequestValidationError struct {
	// contains filtered or unexported fields
}

MenuRequestValidationError is the validation error returned by MenuRequest.Validate if the designated constraints aren't met.

Cause function returns cause value.

Error satisfies the builtin error interface

func (e MenuRequestValidationError) ErrorName() string

ErrorName returns error name.

Field function returns field value.

Key function returns key value.

Reason function returns reason value.

type MenuResponse struct {
	Path      string             `protobuf:"bytes,1,opt,name=path,proto3" json:"path"`
	Name      string             `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
	Component string             `protobuf:"bytes,3,opt,name=component,proto3" json:"component"`
	Redirect  string             `protobuf:"bytes,4,opt,name=redirect,proto3" json:"redirect"`
	Meta      *MenuResponse_Meta `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta"`
	Children  []*MenuResponse    `protobuf:"bytes,6,rep,name=children,proto3" json:"children"`
	// contains filtered or unexported fields
}
func (*MenuResponse) Descriptor() ([]byte, []int)

Deprecated: Use MenuResponse.ProtoReflect.Descriptor instead.

func (x *MenuResponse) GetChildren() []*MenuResponse
func (x *MenuResponse) GetComponent() string
func (x *MenuResponse) GetMeta() *MenuResponse_Meta
func (x *MenuResponse) GetName() string
func (x *MenuResponse) GetPath() string
func (x *MenuResponse) GetRedirect() string
func (*MenuResponse) ProtoMessage()
func (x *MenuResponse) ProtoReflect() protoreflect.Message
func (x *MenuResponse) Reset()
func (x *MenuResponse) String() string
func (m *MenuResponse) Validate() error

Validate checks the field values on MenuResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (m *MenuResponse) ValidateAll() error

ValidateAll checks the field values on MenuResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MenuResponseMultiError, or nil if none found.

type MenuResponseMultiError []error

MenuResponseMultiError is an error wrapping multiple validation errors returned by MenuResponse.ValidateAll() if the designated constraints aren't met.

func (m MenuResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (m MenuResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MenuResponseValidationError struct {
	// contains filtered or unexported fields
}

MenuResponseValidationError is the validation error returned by MenuResponse.Validate if the designated constraints aren't met.

Cause function returns cause value.

Error satisfies the builtin error interface

func (e MenuResponseValidationError) ErrorName() string

ErrorName returns error name.

Field function returns field value.

Key function returns key value.

Reason function returns reason value.

type MenuResponse_Meta struct {
	ID        int64  `protobuf:"varint,1,opt,name=ID,proto3" json:"ID"`
	ParentID  int32  `protobuf:"varint,2,opt,name=parentID,proto3" json:"parentID"`
	RoleIDs   string `protobuf:"bytes,3,opt,name=roleIDs,proto3" json:"roleIDs"`
	Title     string `protobuf:"bytes,4,opt,name=title,proto3" json:"title"`
	Icon      string `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon"`
	Hidden    bool   `protobuf:"varint,6,opt,name=hidden,proto3" json:"hidden"`
	KeepAlive bool   `protobuf:"varint,7,opt,name=keepAlive,proto3" json:"keepAlive"`
	Sort      int32  `protobuf:"varint,8,opt,name=sort,proto3" json:"sort"`
	// contains filtered or unexported fields
}
func (*MenuResponse_Meta) Descriptor() ([]byte, []int)

Deprecated: Use MenuResponse_Meta.ProtoReflect.Descriptor instead.

func (x *MenuResponse_Meta) GetHidden() bool
func (x *MenuResponse_Meta) GetID() int64
func (x *MenuResponse_Meta) GetIcon() string
func (x *MenuResponse_Meta) GetKeepAlive() bool
func (x *MenuResponse_Meta) GetParentID() int32
func (x *MenuResponse_Meta) GetRoleIDs() string
func (x *MenuResponse_Meta) GetSort() int32
func (x *MenuResponse_Meta) GetTitle() string
func (*MenuResponse_Meta) ProtoMessage()
func (x *MenuResponse_Meta) ProtoReflect() protoreflect.Message
func (x *MenuResponse_Meta) Reset()
func (x *MenuResponse_Meta) String() string
func (m *MenuResponse_Meta) Validate() error

Validate checks the field values on MenuResponse_Meta with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (m *MenuResponse_Meta) ValidateAll() error

ValidateAll checks the field values on MenuResponse_Meta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MenuResponse_MetaMultiError, or nil if none found.

type MenuResponse_MetaMultiError []error

MenuResponse_MetaMultiError is an error wrapping multiple validation errors returned by MenuResponse_Meta.ValidateAll() if the designated constraints aren't met.

func (m MenuResponse_MetaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

Error returns a concatenation of all the error messages it wraps.

type MenuResponse_MetaValidationError struct {
	// contains filtered or unexported fields
}

MenuResponse_MetaValidationError is the validation error returned by MenuResponse_Meta.Validate if the designated constraints aren't met.

Cause function returns cause value.

Error satisfies the builtin error interface

ErrorName returns error name.

Field function returns field value.

Key function returns key value.

Reason function returns reason value.

type SettingRequest

type SettingRequest struct {
	Lang                  string `protobuf:"bytes,1,opt,name=lang,proto3" json:"lang"`
	SideModeColor         string `protobuf:"bytes,2,opt,name=sideModeColor,proto3" json:"sideModeColor"`
	Collapse              bool   `protobuf:"varint,3,opt,name=collapse,proto3" json:"collapse"`                          //侧边栏折叠
	Breadcrumb            bool   `protobuf:"varint,4,opt,name=breadcrumb,proto3" json:"breadcrumb"`                      //面包屑
	DefaultRouter         string `protobuf:"bytes,5,opt,name=defaultRouter,proto3" json:"defaultRouter"`                 //默认路由
	ActiveTextColor       string `protobuf:"bytes,6,opt,name=activeTextColor,proto3" json:"activeTextColor"`             //活跃文本颜色
	ActiveBackgroundColor string `protobuf:"bytes,7,opt,name=activeBackgroundColor,proto3" json:"activeBackgroundColor"` //活跃文本背景色
	UID                   string `protobuf:"bytes,10,opt,name=UID,proto3" json:"UID"`
	// contains filtered or unexported fields
}

func (*SettingRequest) Descriptor deprecated

func (*SettingRequest) Descriptor() ([]byte, []int)

Deprecated: Use SettingRequest.ProtoReflect.Descriptor instead.

func (*SettingRequest) GetActiveBackgroundColor

func (x *SettingRequest) GetActiveBackgroundColor() string

func (*SettingRequest) GetActiveTextColor

func (x *SettingRequest) GetActiveTextColor() string

func (*SettingRequest) GetBreadcrumb

func (x *SettingRequest) GetBreadcrumb() bool

func (*SettingRequest) GetCollapse

func (x *SettingRequest) GetCollapse() bool

func (*SettingRequest) GetDefaultRouter

func (x *SettingRequest) GetDefaultRouter() string

func (*SettingRequest) GetLang

func (x *SettingRequest) GetLang() string

func (*SettingRequest) GetSideModeColor

func (x *SettingRequest) GetSideModeColor() string

func (*SettingRequest) GetUID

func (x *SettingRequest) GetUID() string

func (*SettingRequest) ProtoMessage

func (*SettingRequest) ProtoMessage()

func (*SettingRequest) ProtoReflect

func (x *SettingRequest) ProtoReflect() protoreflect.Message

func (*SettingRequest) Reset

func (x *SettingRequest) Reset()

func (*SettingRequest) String

func (x *SettingRequest) String() string

func (*SettingRequest) Validate

func (m *SettingRequest) Validate() error

Validate checks the field values on SettingRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SettingRequest) ValidateAll

func (m *SettingRequest) ValidateAll() error

ValidateAll checks the field values on SettingRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SettingRequestMultiError, or nil if none found.

type SettingRequestMultiError

type SettingRequestMultiError []error

SettingRequestMultiError is an error wrapping multiple validation errors returned by SettingRequest.ValidateAll() if the designated constraints aren't met.

func (SettingRequestMultiError) AllErrors

func (m SettingRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SettingRequestMultiError) Error

func (m SettingRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SettingRequestValidationError

type SettingRequestValidationError struct {
	// contains filtered or unexported fields
}

SettingRequestValidationError is the validation error returned by SettingRequest.Validate if the designated constraints aren't met.

func (SettingRequestValidationError) Cause

Cause function returns cause value.

func (SettingRequestValidationError) Error

Error satisfies the builtin error interface

func (SettingRequestValidationError) ErrorName

func (e SettingRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SettingRequestValidationError) Field

Field function returns field value.

func (SettingRequestValidationError) Key

Key function returns key value.

func (SettingRequestValidationError) Reason

Reason function returns reason value.

type SettingResponse

type SettingResponse struct {
	ID                    int64  `protobuf:"varint,1,opt,name=ID,proto3" json:"ID"`
	Lang                  string `protobuf:"bytes,2,opt,name=lang,proto3" json:"lang"`
	SideModeColor         string `protobuf:"bytes,3,opt,name=sideModeColor,proto3" json:"sideModeColor"`
	Collapse              bool   `protobuf:"varint,4,opt,name=collapse,proto3" json:"collapse"`                          //侧边栏折叠
	Breadcrumb            bool   `protobuf:"varint,5,opt,name=breadcrumb,proto3" json:"breadcrumb"`                      //面包屑
	DefaultRouter         string `protobuf:"bytes,6,opt,name=defaultRouter,proto3" json:"defaultRouter"`                 //默认路由
	ActiveTextColor       string `protobuf:"bytes,7,opt,name=activeTextColor,proto3" json:"activeTextColor"`             //活跃文本颜色
	ActiveBackgroundColor string `protobuf:"bytes,8,opt,name=activeBackgroundColor,proto3" json:"activeBackgroundColor"` //活跃文本背景色
	UID                   string `protobuf:"bytes,10,opt,name=UID,proto3" json:"UID"`
	// contains filtered or unexported fields
}

func (*SettingResponse) Descriptor deprecated

func (*SettingResponse) Descriptor() ([]byte, []int)

Deprecated: Use SettingResponse.ProtoReflect.Descriptor instead.

func (*SettingResponse) GetActiveBackgroundColor

func (x *SettingResponse) GetActiveBackgroundColor() string

func (*SettingResponse) GetActiveTextColor

func (x *SettingResponse) GetActiveTextColor() string

func (*SettingResponse) GetBreadcrumb

func (x *SettingResponse) GetBreadcrumb() bool

func (*SettingResponse) GetCollapse

func (x *SettingResponse) GetCollapse() bool

func (*SettingResponse) GetDefaultRouter

func (x *SettingResponse) GetDefaultRouter() string

func (*SettingResponse) GetID

func (x *SettingResponse) GetID() int64

func (*SettingResponse) GetLang

func (x *SettingResponse) GetLang() string

func (*SettingResponse) GetSideModeColor

func (x *SettingResponse) GetSideModeColor() string

func (*SettingResponse) GetUID

func (x *SettingResponse) GetUID() string

func (*SettingResponse) ProtoMessage

func (*SettingResponse) ProtoMessage()

func (*SettingResponse) ProtoReflect

func (x *SettingResponse) ProtoReflect() protoreflect.Message

func (*SettingResponse) Reset

func (x *SettingResponse) Reset()

func (*SettingResponse) String

func (x *SettingResponse) String() string

func (*SettingResponse) Validate

func (m *SettingResponse) Validate() error

Validate checks the field values on SettingResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SettingResponse) ValidateAll

func (m *SettingResponse) ValidateAll() error

ValidateAll checks the field values on SettingResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SettingResponseMultiError, or nil if none found.

type SettingResponseMultiError

type SettingResponseMultiError []error

SettingResponseMultiError is an error wrapping multiple validation errors returned by SettingResponse.ValidateAll() if the designated constraints aren't met.

func (SettingResponseMultiError) AllErrors

func (m SettingResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SettingResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SettingResponseValidationError

type SettingResponseValidationError struct {
	// contains filtered or unexported fields
}

SettingResponseValidationError is the validation error returned by SettingResponse.Validate if the designated constraints aren't met.

func (SettingResponseValidationError) Cause

Cause function returns cause value.

func (SettingResponseValidationError) Error

Error satisfies the builtin error interface

func (SettingResponseValidationError) ErrorName

func (e SettingResponseValidationError) ErrorName() string

ErrorName returns error name.

func (SettingResponseValidationError) Field

Field function returns field value.

func (SettingResponseValidationError) Key

Key function returns key value.

func (SettingResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedHttpServiceServer

type UnimplementedHttpServiceServer struct {
}

UnimplementedHttpServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedHttpServiceServer) Captcha

func (UnimplementedHttpServiceServer) DebugPerf

func (UnimplementedHttpServiceServer) Login

func (UnimplementedHttpServiceServer) Setting

type UnsafeHttpServiceServer

type UnsafeHttpServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeHttpServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HttpServiceServer will result in compilation errors.

type UpdateCasbinRequest

type UpdateCasbinRequest struct {
	ID      int64  `protobuf:"varint,1,opt,name=ID,proto3" json:"ID"`
	RoleIDs string `protobuf:"bytes,2,opt,name=roleIDs,proto3" json:"roleIDs"`
	Path    string `protobuf:"bytes,3,opt,name=path,proto3" json:"path"`
	Method  string `protobuf:"bytes,4,opt,name=method,proto3" json:"method"`
	Desc    string `protobuf:"bytes,5,opt,name=desc,proto3" json:"desc"`
	// contains filtered or unexported fields
}

func (*UpdateCasbinRequest) Descriptor deprecated

func (*UpdateCasbinRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCasbinRequest.ProtoReflect.Descriptor instead.

func (*UpdateCasbinRequest) GetDesc

func (x *UpdateCasbinRequest) GetDesc() string

func (*UpdateCasbinRequest) GetID

func (x *UpdateCasbinRequest) GetID() int64

func (*UpdateCasbinRequest) GetMethod

func (x *UpdateCasbinRequest) GetMethod() string

func (*UpdateCasbinRequest) GetPath

func (x *UpdateCasbinRequest) GetPath() string

func (*UpdateCasbinRequest) GetRoleIDs

func (x *UpdateCasbinRequest) GetRoleIDs() string

func (*UpdateCasbinRequest) ProtoMessage

func (*UpdateCasbinRequest) ProtoMessage()

func (*UpdateCasbinRequest) ProtoReflect

func (x *UpdateCasbinRequest) ProtoReflect() protoreflect.Message

func (*UpdateCasbinRequest) Reset

func (x *UpdateCasbinRequest) Reset()

func (*UpdateCasbinRequest) String

func (x *UpdateCasbinRequest) String() string

func (*UpdateCasbinRequest) Validate

func (m *UpdateCasbinRequest) Validate() error

Validate checks the field values on UpdateCasbinRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateCasbinRequest) ValidateAll

func (m *UpdateCasbinRequest) ValidateAll() error

ValidateAll checks the field values on UpdateCasbinRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateCasbinRequestMultiError, or nil if none found.

type UpdateCasbinRequestMultiError

type UpdateCasbinRequestMultiError []error

UpdateCasbinRequestMultiError is an error wrapping multiple validation errors returned by UpdateCasbinRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateCasbinRequestMultiError) AllErrors

func (m UpdateCasbinRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateCasbinRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateCasbinRequestValidationError

type UpdateCasbinRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateCasbinRequestValidationError is the validation error returned by UpdateCasbinRequest.Validate if the designated constraints aren't met.

func (UpdateCasbinRequestValidationError) Cause

Cause function returns cause value.

func (UpdateCasbinRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateCasbinRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateCasbinRequestValidationError) Field

Field function returns field value.

func (UpdateCasbinRequestValidationError) Key

Key function returns key value.

func (UpdateCasbinRequestValidationError) Reason

Reason function returns reason value.

type UpdatePasswordRequest

type UpdatePasswordRequest struct {
	UID         string `protobuf:"bytes,1,opt,name=UID,proto3" json:"UID"`
	OldPassword string `protobuf:"bytes,2,opt,name=oldPassword,proto3" json:"oldPassword"`
	NewPassword string `protobuf:"bytes,3,opt,name=newPassword,proto3" json:"newPassword"`
	// contains filtered or unexported fields
}

func (*UpdatePasswordRequest) Descriptor deprecated

func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePasswordRequest.ProtoReflect.Descriptor instead.

func (*UpdatePasswordRequest) GetNewPassword

func (x *UpdatePasswordRequest) GetNewPassword() string

func (*UpdatePasswordRequest) GetOldPassword

func (x *UpdatePasswordRequest) GetOldPassword() string

func (*UpdatePasswordRequest) GetUID

func (x *UpdatePasswordRequest) GetUID() string

func (*UpdatePasswordRequest) ProtoMessage

func (*UpdatePasswordRequest) ProtoMessage()

func (*UpdatePasswordRequest) ProtoReflect

func (x *UpdatePasswordRequest) ProtoReflect() protoreflect.Message

func (*UpdatePasswordRequest) Reset

func (x *UpdatePasswordRequest) Reset()

func (*UpdatePasswordRequest) String

func (x *UpdatePasswordRequest) String() string

func (*UpdatePasswordRequest) Validate

func (m *UpdatePasswordRequest) Validate() error

Validate checks the field values on UpdatePasswordRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdatePasswordRequest) ValidateAll

func (m *UpdatePasswordRequest) ValidateAll() error

ValidateAll checks the field values on UpdatePasswordRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdatePasswordRequestMultiError, or nil if none found.

type UpdatePasswordRequestMultiError

type UpdatePasswordRequestMultiError []error

UpdatePasswordRequestMultiError is an error wrapping multiple validation errors returned by UpdatePasswordRequest.ValidateAll() if the designated constraints aren't met.

func (UpdatePasswordRequestMultiError) AllErrors

func (m UpdatePasswordRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdatePasswordRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdatePasswordRequestValidationError

type UpdatePasswordRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdatePasswordRequestValidationError is the validation error returned by UpdatePasswordRequest.Validate if the designated constraints aren't met.

func (UpdatePasswordRequestValidationError) Cause

Cause function returns cause value.

func (UpdatePasswordRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdatePasswordRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdatePasswordRequestValidationError) Field

Field function returns field value.

func (UpdatePasswordRequestValidationError) Key

Key function returns key value.

func (UpdatePasswordRequestValidationError) Reason

Reason function returns reason value.

type UpdateRoleMenuRequest

type UpdateRoleMenuRequest struct {
	Component string `protobuf:"bytes,1,opt,name=component,proto3" json:"component"`
	Hidden    bool   `protobuf:"varint,2,opt,name=hidden,proto3" json:"hidden"`
	Icon      string `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon"`
	KeepAlive bool   `protobuf:"varint,4,opt,name=keepAlive,proto3" json:"keepAlive"`
	Name      string `protobuf:"bytes,5,opt,name=name,proto3" json:"name"`
	ParentID  int32  `protobuf:"varint,6,opt,name=parentID,proto3" json:"parentID"`
	Path      string `protobuf:"bytes,7,opt,name=path,proto3" json:"path"`
	RoleIDs   string `protobuf:"bytes,8,opt,name=roleIDs,proto3" json:"roleIDs"`
	Sort      int32  `protobuf:"varint,9,opt,name=sort,proto3" json:"sort"`
	Title     string `protobuf:"bytes,10,opt,name=title,proto3" json:"title"`
	ID        int64  `protobuf:"varint,11,opt,name=ID,proto3" json:"ID"`
	Redirect  string `protobuf:"bytes,12,opt,name=redirect,proto3" json:"redirect"`
	// contains filtered or unexported fields
}

func (*UpdateRoleMenuRequest) Descriptor deprecated

func (*UpdateRoleMenuRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRoleMenuRequest.ProtoReflect.Descriptor instead.

func (*UpdateRoleMenuRequest) GetComponent

func (x *UpdateRoleMenuRequest) GetComponent() string

func (*UpdateRoleMenuRequest) GetHidden

func (x *UpdateRoleMenuRequest) GetHidden() bool

func (*UpdateRoleMenuRequest) GetID

func (x *UpdateRoleMenuRequest) GetID() int64

func (*UpdateRoleMenuRequest) GetIcon

func (x *UpdateRoleMenuRequest) GetIcon() string

func (*UpdateRoleMenuRequest) GetKeepAlive

func (x *UpdateRoleMenuRequest) GetKeepAlive() bool

func (*UpdateRoleMenuRequest) GetName

func (x *UpdateRoleMenuRequest) GetName() string

func (*UpdateRoleMenuRequest) GetParentID

func (x *UpdateRoleMenuRequest) GetParentID() int32

func (*UpdateRoleMenuRequest) GetPath

func (x *UpdateRoleMenuRequest) GetPath() string

func (*UpdateRoleMenuRequest) GetRedirect

func (x *UpdateRoleMenuRequest) GetRedirect() string

func (*UpdateRoleMenuRequest) GetRoleIDs

func (x *UpdateRoleMenuRequest) GetRoleIDs() string

func (*UpdateRoleMenuRequest) GetSort

func (x *UpdateRoleMenuRequest) GetSort() int32

func (*UpdateRoleMenuRequest) GetTitle

func (x *UpdateRoleMenuRequest) GetTitle() string

func (*UpdateRoleMenuRequest) ProtoMessage

func (*UpdateRoleMenuRequest) ProtoMessage()

func (*UpdateRoleMenuRequest) ProtoReflect

func (x *UpdateRoleMenuRequest) ProtoReflect() protoreflect.Message

func (*UpdateRoleMenuRequest) Reset

func (x *UpdateRoleMenuRequest) Reset()

func (*UpdateRoleMenuRequest) String

func (x *UpdateRoleMenuRequest) String() string

func (*UpdateRoleMenuRequest) Validate

func (m *UpdateRoleMenuRequest) Validate() error

Validate checks the field values on UpdateRoleMenuRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateRoleMenuRequest) ValidateAll

func (m *UpdateRoleMenuRequest) ValidateAll() error

ValidateAll checks the field values on UpdateRoleMenuRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateRoleMenuRequestMultiError, or nil if none found.

type UpdateRoleMenuRequestMultiError

type UpdateRoleMenuRequestMultiError []error

UpdateRoleMenuRequestMultiError is an error wrapping multiple validation errors returned by UpdateRoleMenuRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateRoleMenuRequestMultiError) AllErrors

func (m UpdateRoleMenuRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateRoleMenuRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateRoleMenuRequestValidationError

type UpdateRoleMenuRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateRoleMenuRequestValidationError is the validation error returned by UpdateRoleMenuRequest.Validate if the designated constraints aren't met.

func (UpdateRoleMenuRequestValidationError) Cause

Cause function returns cause value.

func (UpdateRoleMenuRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateRoleMenuRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateRoleMenuRequestValidationError) Field

Field function returns field value.

func (UpdateRoleMenuRequestValidationError) Key

Key function returns key value.

func (UpdateRoleMenuRequestValidationError) Reason

Reason function returns reason value.

type UpdateUserInfoRequest

type UpdateUserInfoRequest struct {
	UID      string `protobuf:"bytes,1,opt,name=UID,proto3" json:"UID"`
	NickName string `protobuf:"bytes,2,opt,name=nickName,proto3" json:"nickName"`
	Birth    string `protobuf:"bytes,3,opt,name=birth,proto3" json:"birth"`
	Phone    string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone"`
	Wechat   string `protobuf:"bytes,5,opt,name=wechat,proto3" json:"wechat"`
	Email    string `protobuf:"bytes,6,opt,name=email,proto3" json:"email"`
	Motto    string `protobuf:"bytes,7,opt,name=motto,proto3" json:"motto"`
	// contains filtered or unexported fields
}

func (*UpdateUserInfoRequest) Descriptor deprecated

func (*UpdateUserInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserInfoRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserInfoRequest) GetBirth

func (x *UpdateUserInfoRequest) GetBirth() string

func (*UpdateUserInfoRequest) GetEmail

func (x *UpdateUserInfoRequest) GetEmail() string

func (*UpdateUserInfoRequest) GetMotto

func (x *UpdateUserInfoRequest) GetMotto() string

func (*UpdateUserInfoRequest) GetNickName

func (x *UpdateUserInfoRequest) GetNickName() string

func (*UpdateUserInfoRequest) GetPhone

func (x *UpdateUserInfoRequest) GetPhone() string

func (*UpdateUserInfoRequest) GetUID

func (x *UpdateUserInfoRequest) GetUID() string

func (*UpdateUserInfoRequest) GetWechat

func (x *UpdateUserInfoRequest) GetWechat() string

func (*UpdateUserInfoRequest) ProtoMessage

func (*UpdateUserInfoRequest) ProtoMessage()

func (*UpdateUserInfoRequest) ProtoReflect

func (x *UpdateUserInfoRequest) ProtoReflect() protoreflect.Message

func (*UpdateUserInfoRequest) Reset

func (x *UpdateUserInfoRequest) Reset()

func (*UpdateUserInfoRequest) String

func (x *UpdateUserInfoRequest) String() string

func (*UpdateUserInfoRequest) Validate

func (m *UpdateUserInfoRequest) Validate() error

Validate checks the field values on UpdateUserInfoRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateUserInfoRequest) ValidateAll

func (m *UpdateUserInfoRequest) ValidateAll() error

ValidateAll checks the field values on UpdateUserInfoRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserInfoRequestMultiError, or nil if none found.

type UpdateUserInfoRequestMultiError

type UpdateUserInfoRequestMultiError []error

UpdateUserInfoRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserInfoRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateUserInfoRequestMultiError) AllErrors

func (m UpdateUserInfoRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateUserInfoRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateUserInfoRequestValidationError

type UpdateUserInfoRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateUserInfoRequestValidationError is the validation error returned by UpdateUserInfoRequest.Validate if the designated constraints aren't met.

func (UpdateUserInfoRequestValidationError) Cause

Cause function returns cause value.

func (UpdateUserInfoRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserInfoRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserInfoRequestValidationError) Field

Field function returns field value.

func (UpdateUserInfoRequestValidationError) Key

Key function returns key value.

func (UpdateUserInfoRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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