oauther

package
v0.0.0-...-d36d6b6 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OAuther_ListOAutherType_FullMethodName = "/manager.api.oauther.OAuther/ListOAutherType"
	OAuther_ListOAuther_FullMethodName     = "/manager.api.oauther.OAuther/ListOAuther"
	OAuther_CreateOAuther_FullMethodName   = "/manager.api.oauther.OAuther/CreateOAuther"
	OAuther_UpdateOAuther_FullMethodName   = "/manager.api.oauther.OAuther/UpdateOAuther"
	OAuther_DeleteOAuther_FullMethodName   = "/manager.api.oauther.OAuther/DeleteOAuther"
)
View Source
const (
	OperationOAutherCreateOAuther   = "/manager.api.oauther.OAuther/CreateOAuther"
	OperationOAutherDeleteOAuther   = "/manager.api.oauther.OAuther/DeleteOAuther"
	OperationOAutherListOAuther     = "/manager.api.oauther.OAuther/ListOAuther"
	OperationOAutherListOAutherType = "/manager.api.oauther.OAuther/ListOAutherType"
	OperationOAutherUpdateOAuther   = "/manager.api.oauther.OAuther/UpdateOAuther"
)

Variables

View Source
var File_api_oauther_proto_oauther_proto protoreflect.FileDescriptor
View Source
var File_api_oauther_proto_oauther_service_proto protoreflect.FileDescriptor
View Source
var OAuther_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "manager.api.oauther.OAuther",
	HandlerType: (*OAutherServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListOAutherType",
			Handler:    _OAuther_ListOAutherType_Handler,
		},
		{
			MethodName: "ListOAuther",
			Handler:    _OAuther_ListOAuther_Handler,
		},
		{
			MethodName: "CreateOAuther",
			Handler:    _OAuther_CreateOAuther_Handler,
		},
		{
			MethodName: "UpdateOAuther",
			Handler:    _OAuther_UpdateOAuther_Handler,
		},
		{
			MethodName: "DeleteOAuther",
			Handler:    _OAuther_DeleteOAuther_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/oauther/proto/oauther_service.proto",
}

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

Functions

func RegisterOAutherHTTPServer

func RegisterOAutherHTTPServer(s *http.Server, srv OAutherHTTPServer)

func RegisterOAutherServer

func RegisterOAutherServer(s grpc.ServiceRegistrar, srv OAutherServer)

Types

type CreateOAutherReply

type CreateOAutherReply struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOAutherReply) Descriptor deprecated

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

Deprecated: Use CreateOAutherReply.ProtoReflect.Descriptor instead.

func (*CreateOAutherReply) GetId

func (x *CreateOAutherReply) GetId() uint32

func (*CreateOAutherReply) ProtoMessage

func (*CreateOAutherReply) ProtoMessage()

func (*CreateOAutherReply) ProtoReflect

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

func (*CreateOAutherReply) Reset

func (x *CreateOAutherReply) Reset()

func (*CreateOAutherReply) String

func (x *CreateOAutherReply) String() string

func (*CreateOAutherReply) Validate

func (m *CreateOAutherReply) Validate() error

Validate checks the field values on CreateOAutherReply 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 (*CreateOAutherReply) ValidateAll

func (m *CreateOAutherReply) ValidateAll() error

ValidateAll checks the field values on CreateOAutherReply 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 CreateOAutherReplyMultiError, or nil if none found.

type CreateOAutherReplyMultiError

type CreateOAutherReplyMultiError []error

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

func (CreateOAutherReplyMultiError) AllErrors

func (m CreateOAutherReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateOAutherReplyMultiError) Error

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

type CreateOAutherReplyValidationError

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

CreateOAutherReplyValidationError is the validation error returned by CreateOAutherReply.Validate if the designated constraints aren't met.

func (CreateOAutherReplyValidationError) Cause

Cause function returns cause value.

func (CreateOAutherReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateOAutherReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateOAutherReplyValidationError) Field

Field function returns field value.

func (CreateOAutherReplyValidationError) Key

Key function returns key value.

func (CreateOAutherReplyValidationError) Reason

Reason function returns reason value.

type CreateOAutherRequest

type CreateOAutherRequest struct {
	Keyword     string          `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Name        string          `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Ak          string          `protobuf:"bytes,4,opt,name=ak,proto3" json:"ak,omitempty"`
	Sk          string          `protobuf:"bytes,5,opt,name=sk,proto3" json:"sk,omitempty"`
	Type        string          `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
	Setting     *OAutherSetting `protobuf:"bytes,7,opt,name=setting,proto3" json:"setting,omitempty"`
	Description string          `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOAutherRequest) Descriptor deprecated

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

Deprecated: Use CreateOAutherRequest.ProtoReflect.Descriptor instead.

func (*CreateOAutherRequest) GetAk

func (x *CreateOAutherRequest) GetAk() string

func (*CreateOAutherRequest) GetDescription

func (x *CreateOAutherRequest) GetDescription() string

func (*CreateOAutherRequest) GetKeyword

func (x *CreateOAutherRequest) GetKeyword() string
func (x *CreateOAutherRequest) GetLogo() string

func (*CreateOAutherRequest) GetName

func (x *CreateOAutherRequest) GetName() string

func (*CreateOAutherRequest) GetSetting

func (x *CreateOAutherRequest) GetSetting() *OAutherSetting

func (*CreateOAutherRequest) GetSk

func (x *CreateOAutherRequest) GetSk() string

func (*CreateOAutherRequest) GetType

func (x *CreateOAutherRequest) GetType() string

func (*CreateOAutherRequest) ProtoMessage

func (*CreateOAutherRequest) ProtoMessage()

func (*CreateOAutherRequest) ProtoReflect

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

func (*CreateOAutherRequest) Reset

func (x *CreateOAutherRequest) Reset()

func (*CreateOAutherRequest) String

func (x *CreateOAutherRequest) String() string

func (*CreateOAutherRequest) Validate

func (m *CreateOAutherRequest) Validate() error

Validate checks the field values on CreateOAutherRequest 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 (*CreateOAutherRequest) ValidateAll

func (m *CreateOAutherRequest) ValidateAll() error

ValidateAll checks the field values on CreateOAutherRequest 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 CreateOAutherRequestMultiError, or nil if none found.

type CreateOAutherRequestMultiError

type CreateOAutherRequestMultiError []error

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

func (CreateOAutherRequestMultiError) AllErrors

func (m CreateOAutherRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateOAutherRequestMultiError) Error

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

type CreateOAutherRequestValidationError

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

CreateOAutherRequestValidationError is the validation error returned by CreateOAutherRequest.Validate if the designated constraints aren't met.

func (CreateOAutherRequestValidationError) Cause

Cause function returns cause value.

func (CreateOAutherRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateOAutherRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateOAutherRequestValidationError) Field

Field function returns field value.

func (CreateOAutherRequestValidationError) Key

Key function returns key value.

func (CreateOAutherRequestValidationError) Reason

Reason function returns reason value.

type DeleteOAutherReply

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

func (*DeleteOAutherReply) Descriptor deprecated

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

Deprecated: Use DeleteOAutherReply.ProtoReflect.Descriptor instead.

func (*DeleteOAutherReply) ProtoMessage

func (*DeleteOAutherReply) ProtoMessage()

func (*DeleteOAutherReply) ProtoReflect

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

func (*DeleteOAutherReply) Reset

func (x *DeleteOAutherReply) Reset()

func (*DeleteOAutherReply) String

func (x *DeleteOAutherReply) String() string

func (*DeleteOAutherReply) Validate

func (m *DeleteOAutherReply) Validate() error

Validate checks the field values on DeleteOAutherReply 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 (*DeleteOAutherReply) ValidateAll

func (m *DeleteOAutherReply) ValidateAll() error

ValidateAll checks the field values on DeleteOAutherReply 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 DeleteOAutherReplyMultiError, or nil if none found.

type DeleteOAutherReplyMultiError

type DeleteOAutherReplyMultiError []error

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

func (DeleteOAutherReplyMultiError) AllErrors

func (m DeleteOAutherReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteOAutherReplyMultiError) Error

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

type DeleteOAutherReplyValidationError

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

DeleteOAutherReplyValidationError is the validation error returned by DeleteOAutherReply.Validate if the designated constraints aren't met.

func (DeleteOAutherReplyValidationError) Cause

Cause function returns cause value.

func (DeleteOAutherReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteOAutherReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteOAutherReplyValidationError) Field

Field function returns field value.

func (DeleteOAutherReplyValidationError) Key

Key function returns key value.

func (DeleteOAutherReplyValidationError) Reason

Reason function returns reason value.

type DeleteOAutherRequest

type DeleteOAutherRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteOAutherRequest) Descriptor deprecated

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

Deprecated: Use DeleteOAutherRequest.ProtoReflect.Descriptor instead.

func (*DeleteOAutherRequest) GetId

func (x *DeleteOAutherRequest) GetId() uint32

func (*DeleteOAutherRequest) ProtoMessage

func (*DeleteOAutherRequest) ProtoMessage()

func (*DeleteOAutherRequest) ProtoReflect

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

func (*DeleteOAutherRequest) Reset

func (x *DeleteOAutherRequest) Reset()

func (*DeleteOAutherRequest) String

func (x *DeleteOAutherRequest) String() string

func (*DeleteOAutherRequest) Validate

func (m *DeleteOAutherRequest) Validate() error

Validate checks the field values on DeleteOAutherRequest 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 (*DeleteOAutherRequest) ValidateAll

func (m *DeleteOAutherRequest) ValidateAll() error

ValidateAll checks the field values on DeleteOAutherRequest 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 DeleteOAutherRequestMultiError, or nil if none found.

type DeleteOAutherRequestMultiError

type DeleteOAutherRequestMultiError []error

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

func (DeleteOAutherRequestMultiError) AllErrors

func (m DeleteOAutherRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteOAutherRequestMultiError) Error

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

type DeleteOAutherRequestValidationError

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

DeleteOAutherRequestValidationError is the validation error returned by DeleteOAutherRequest.Validate if the designated constraints aren't met.

func (DeleteOAutherRequestValidationError) Cause

Cause function returns cause value.

func (DeleteOAutherRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteOAutherRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteOAutherRequestValidationError) Field

Field function returns field value.

func (DeleteOAutherRequestValidationError) Key

Key function returns key value.

func (DeleteOAutherRequestValidationError) Reason

Reason function returns reason value.

type ListOAutherReply

type ListOAutherReply struct {
	Total uint32                      `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	List  []*ListOAutherReply_OAuther `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOAutherReply) Descriptor deprecated

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

Deprecated: Use ListOAutherReply.ProtoReflect.Descriptor instead.

func (*ListOAutherReply) GetList

func (*ListOAutherReply) GetTotal

func (x *ListOAutherReply) GetTotal() uint32

func (*ListOAutherReply) ProtoMessage

func (*ListOAutherReply) ProtoMessage()

func (*ListOAutherReply) ProtoReflect

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

func (*ListOAutherReply) Reset

func (x *ListOAutherReply) Reset()

func (*ListOAutherReply) String

func (x *ListOAutherReply) String() string

func (*ListOAutherReply) Validate

func (m *ListOAutherReply) Validate() error

Validate checks the field values on ListOAutherReply 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 (*ListOAutherReply) ValidateAll

func (m *ListOAutherReply) ValidateAll() error

ValidateAll checks the field values on ListOAutherReply 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 ListOAutherReplyMultiError, or nil if none found.

type ListOAutherReplyMultiError

type ListOAutherReplyMultiError []error

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

func (ListOAutherReplyMultiError) AllErrors

func (m ListOAutherReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListOAutherReplyMultiError) Error

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

type ListOAutherReplyValidationError

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

ListOAutherReplyValidationError is the validation error returned by ListOAutherReply.Validate if the designated constraints aren't met.

func (ListOAutherReplyValidationError) Cause

Cause function returns cause value.

func (ListOAutherReplyValidationError) Error

Error satisfies the builtin error interface

func (ListOAutherReplyValidationError) ErrorName

ErrorName returns error name.

func (ListOAutherReplyValidationError) Field

Field function returns field value.

func (ListOAutherReplyValidationError) Key

Key function returns key value.

func (ListOAutherReplyValidationError) Reason

Reason function returns reason value.

type ListOAutherReply_OAuther

type ListOAutherReply_OAuther struct {
	Id          uint32          `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Keyword     string          `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Type        string          `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	Name        string          `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	Status      *bool           `protobuf:"varint,6,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Ak          string          `protobuf:"bytes,7,opt,name=ak,proto3" json:"ak,omitempty"`
	Sk          string          `protobuf:"bytes,8,opt,name=sk,proto3" json:"sk,omitempty"`
	Setting     *OAutherSetting `protobuf:"bytes,9,opt,name=setting,proto3" json:"setting,omitempty"`
	Description string          `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"`
	CreatedAt   uint32          `protobuf:"varint,11,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   uint32          `protobuf:"varint,12,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOAutherReply_OAuther) Descriptor deprecated

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

Deprecated: Use ListOAutherReply_OAuther.ProtoReflect.Descriptor instead.

func (*ListOAutherReply_OAuther) GetAk

func (x *ListOAutherReply_OAuther) GetAk() string

func (*ListOAutherReply_OAuther) GetCreatedAt

func (x *ListOAutherReply_OAuther) GetCreatedAt() uint32

func (*ListOAutherReply_OAuther) GetDescription

func (x *ListOAutherReply_OAuther) GetDescription() string

func (*ListOAutherReply_OAuther) GetId

func (x *ListOAutherReply_OAuther) GetId() uint32

func (*ListOAutherReply_OAuther) GetKeyword

func (x *ListOAutherReply_OAuther) GetKeyword() string
func (x *ListOAutherReply_OAuther) GetLogo() string

func (*ListOAutherReply_OAuther) GetName

func (x *ListOAutherReply_OAuther) GetName() string

func (*ListOAutherReply_OAuther) GetSetting

func (x *ListOAutherReply_OAuther) GetSetting() *OAutherSetting

func (*ListOAutherReply_OAuther) GetSk

func (x *ListOAutherReply_OAuther) GetSk() string

func (*ListOAutherReply_OAuther) GetStatus

func (x *ListOAutherReply_OAuther) GetStatus() bool

func (*ListOAutherReply_OAuther) GetType

func (x *ListOAutherReply_OAuther) GetType() string

func (*ListOAutherReply_OAuther) GetUpdatedAt

func (x *ListOAutherReply_OAuther) GetUpdatedAt() uint32

func (*ListOAutherReply_OAuther) ProtoMessage

func (*ListOAutherReply_OAuther) ProtoMessage()

func (*ListOAutherReply_OAuther) ProtoReflect

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

func (*ListOAutherReply_OAuther) Reset

func (x *ListOAutherReply_OAuther) Reset()

func (*ListOAutherReply_OAuther) String

func (x *ListOAutherReply_OAuther) String() string

func (*ListOAutherReply_OAuther) Validate

func (m *ListOAutherReply_OAuther) Validate() error

Validate checks the field values on ListOAutherReply_OAuther 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 (*ListOAutherReply_OAuther) ValidateAll

func (m *ListOAutherReply_OAuther) ValidateAll() error

ValidateAll checks the field values on ListOAutherReply_OAuther 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 ListOAutherReply_OAutherMultiError, or nil if none found.

type ListOAutherReply_OAutherMultiError

type ListOAutherReply_OAutherMultiError []error

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

func (ListOAutherReply_OAutherMultiError) AllErrors

func (m ListOAutherReply_OAutherMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListOAutherReply_OAutherMultiError) Error

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

type ListOAutherReply_OAutherValidationError

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

ListOAutherReply_OAutherValidationError is the validation error returned by ListOAutherReply_OAuther.Validate if the designated constraints aren't met.

func (ListOAutherReply_OAutherValidationError) Cause

Cause function returns cause value.

func (ListOAutherReply_OAutherValidationError) Error

Error satisfies the builtin error interface

func (ListOAutherReply_OAutherValidationError) ErrorName

ErrorName returns error name.

func (ListOAutherReply_OAutherValidationError) Field

Field function returns field value.

func (ListOAutherReply_OAutherValidationError) Key

Key function returns key value.

func (ListOAutherReply_OAutherValidationError) Reason

Reason function returns reason value.

type ListOAutherRequest

type ListOAutherRequest struct {
	Page     uint32  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize uint32  `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	Order    *string `protobuf:"bytes,3,opt,name=order,proto3,oneof" json:"order,omitempty"`
	OrderBy  *string `protobuf:"bytes,4,opt,name=orderBy,proto3,oneof" json:"orderBy,omitempty"`
	Keyword  *string `protobuf:"bytes,5,opt,name=keyword,proto3,oneof" json:"keyword,omitempty"`
	Name     *string `protobuf:"bytes,6,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Status   *bool   `protobuf:"varint,7,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOAutherRequest) Descriptor deprecated

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

Deprecated: Use ListOAutherRequest.ProtoReflect.Descriptor instead.

func (*ListOAutherRequest) GetKeyword

func (x *ListOAutherRequest) GetKeyword() string

func (*ListOAutherRequest) GetName

func (x *ListOAutherRequest) GetName() string

func (*ListOAutherRequest) GetOrder

func (x *ListOAutherRequest) GetOrder() string

func (*ListOAutherRequest) GetOrderBy

func (x *ListOAutherRequest) GetOrderBy() string

func (*ListOAutherRequest) GetPage

func (x *ListOAutherRequest) GetPage() uint32

func (*ListOAutherRequest) GetPageSize

func (x *ListOAutherRequest) GetPageSize() uint32

func (*ListOAutherRequest) GetStatus

func (x *ListOAutherRequest) GetStatus() bool

func (*ListOAutherRequest) ProtoMessage

func (*ListOAutherRequest) ProtoMessage()

func (*ListOAutherRequest) ProtoReflect

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

func (*ListOAutherRequest) Reset

func (x *ListOAutherRequest) Reset()

func (*ListOAutherRequest) String

func (x *ListOAutherRequest) String() string

func (*ListOAutherRequest) Validate

func (m *ListOAutherRequest) Validate() error

Validate checks the field values on ListOAutherRequest 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 (*ListOAutherRequest) ValidateAll

func (m *ListOAutherRequest) ValidateAll() error

ValidateAll checks the field values on ListOAutherRequest 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 ListOAutherRequestMultiError, or nil if none found.

type ListOAutherRequestMultiError

type ListOAutherRequestMultiError []error

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

func (ListOAutherRequestMultiError) AllErrors

func (m ListOAutherRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListOAutherRequestMultiError) Error

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

type ListOAutherRequestValidationError

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

ListOAutherRequestValidationError is the validation error returned by ListOAutherRequest.Validate if the designated constraints aren't met.

func (ListOAutherRequestValidationError) Cause

Cause function returns cause value.

func (ListOAutherRequestValidationError) Error

Error satisfies the builtin error interface

func (ListOAutherRequestValidationError) ErrorName

ErrorName returns error name.

func (ListOAutherRequestValidationError) Field

Field function returns field value.

func (ListOAutherRequestValidationError) Key

Key function returns key value.

func (ListOAutherRequestValidationError) Reason

Reason function returns reason value.

type ListOAutherTypeReply

type ListOAutherTypeReply struct {
	List []*ListOAutherTypeReply_Type `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOAutherTypeReply) Descriptor deprecated

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

Deprecated: Use ListOAutherTypeReply.ProtoReflect.Descriptor instead.

func (*ListOAutherTypeReply) GetList

func (*ListOAutherTypeReply) ProtoMessage

func (*ListOAutherTypeReply) ProtoMessage()

func (*ListOAutherTypeReply) ProtoReflect

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

func (*ListOAutherTypeReply) Reset

func (x *ListOAutherTypeReply) Reset()

func (*ListOAutherTypeReply) String

func (x *ListOAutherTypeReply) String() string

func (*ListOAutherTypeReply) Validate

func (m *ListOAutherTypeReply) Validate() error

Validate checks the field values on ListOAutherTypeReply 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 (*ListOAutherTypeReply) ValidateAll

func (m *ListOAutherTypeReply) ValidateAll() error

ValidateAll checks the field values on ListOAutherTypeReply 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 ListOAutherTypeReplyMultiError, or nil if none found.

type ListOAutherTypeReplyMultiError

type ListOAutherTypeReplyMultiError []error

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

func (ListOAutherTypeReplyMultiError) AllErrors

func (m ListOAutherTypeReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListOAutherTypeReplyMultiError) Error

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

type ListOAutherTypeReplyValidationError

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

ListOAutherTypeReplyValidationError is the validation error returned by ListOAutherTypeReply.Validate if the designated constraints aren't met.

func (ListOAutherTypeReplyValidationError) Cause

Cause function returns cause value.

func (ListOAutherTypeReplyValidationError) Error

Error satisfies the builtin error interface

func (ListOAutherTypeReplyValidationError) ErrorName

ErrorName returns error name.

func (ListOAutherTypeReplyValidationError) Field

Field function returns field value.

func (ListOAutherTypeReplyValidationError) Key

Key function returns key value.

func (ListOAutherTypeReplyValidationError) Reason

Reason function returns reason value.

type ListOAutherTypeReply_Type

type ListOAutherTypeReply_Type struct {
	Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOAutherTypeReply_Type) Descriptor deprecated

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

Deprecated: Use ListOAutherTypeReply_Type.ProtoReflect.Descriptor instead.

func (*ListOAutherTypeReply_Type) GetKeyword

func (x *ListOAutherTypeReply_Type) GetKeyword() string

func (*ListOAutherTypeReply_Type) GetName

func (x *ListOAutherTypeReply_Type) GetName() string

func (*ListOAutherTypeReply_Type) ProtoMessage

func (*ListOAutherTypeReply_Type) ProtoMessage()

func (*ListOAutherTypeReply_Type) ProtoReflect

func (*ListOAutherTypeReply_Type) Reset

func (x *ListOAutherTypeReply_Type) Reset()

func (*ListOAutherTypeReply_Type) String

func (x *ListOAutherTypeReply_Type) String() string

func (*ListOAutherTypeReply_Type) Validate

func (m *ListOAutherTypeReply_Type) Validate() error

Validate checks the field values on ListOAutherTypeReply_Type 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 (*ListOAutherTypeReply_Type) ValidateAll

func (m *ListOAutherTypeReply_Type) ValidateAll() error

ValidateAll checks the field values on ListOAutherTypeReply_Type 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 ListOAutherTypeReply_TypeMultiError, or nil if none found.

type ListOAutherTypeReply_TypeMultiError

type ListOAutherTypeReply_TypeMultiError []error

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

func (ListOAutherTypeReply_TypeMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListOAutherTypeReply_TypeMultiError) Error

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

type ListOAutherTypeReply_TypeValidationError

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

ListOAutherTypeReply_TypeValidationError is the validation error returned by ListOAutherTypeReply_Type.Validate if the designated constraints aren't met.

func (ListOAutherTypeReply_TypeValidationError) Cause

Cause function returns cause value.

func (ListOAutherTypeReply_TypeValidationError) Error

Error satisfies the builtin error interface

func (ListOAutherTypeReply_TypeValidationError) ErrorName

ErrorName returns error name.

func (ListOAutherTypeReply_TypeValidationError) Field

Field function returns field value.

func (ListOAutherTypeReply_TypeValidationError) Key

Key function returns key value.

func (ListOAutherTypeReply_TypeValidationError) Reason

Reason function returns reason value.

type ListOAutherTypeRequest

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

func (*ListOAutherTypeRequest) Descriptor deprecated

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

Deprecated: Use ListOAutherTypeRequest.ProtoReflect.Descriptor instead.

func (*ListOAutherTypeRequest) ProtoMessage

func (*ListOAutherTypeRequest) ProtoMessage()

func (*ListOAutherTypeRequest) ProtoReflect

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

func (*ListOAutherTypeRequest) Reset

func (x *ListOAutherTypeRequest) Reset()

func (*ListOAutherTypeRequest) String

func (x *ListOAutherTypeRequest) String() string

func (*ListOAutherTypeRequest) Validate

func (m *ListOAutherTypeRequest) Validate() error

Validate checks the field values on ListOAutherTypeRequest 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 (*ListOAutherTypeRequest) ValidateAll

func (m *ListOAutherTypeRequest) ValidateAll() error

ValidateAll checks the field values on ListOAutherTypeRequest 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 ListOAutherTypeRequestMultiError, or nil if none found.

type ListOAutherTypeRequestMultiError

type ListOAutherTypeRequestMultiError []error

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

func (ListOAutherTypeRequestMultiError) AllErrors

func (m ListOAutherTypeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListOAutherTypeRequestMultiError) Error

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

type ListOAutherTypeRequestValidationError

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

ListOAutherTypeRequestValidationError is the validation error returned by ListOAutherTypeRequest.Validate if the designated constraints aren't met.

func (ListOAutherTypeRequestValidationError) Cause

Cause function returns cause value.

func (ListOAutherTypeRequestValidationError) Error

Error satisfies the builtin error interface

func (ListOAutherTypeRequestValidationError) ErrorName

ErrorName returns error name.

func (ListOAutherTypeRequestValidationError) Field

Field function returns field value.

func (ListOAutherTypeRequestValidationError) Key

Key function returns key value.

func (ListOAutherTypeRequestValidationError) Reason

Reason function returns reason value.

type OAutherClient

type OAutherClient interface {
	// ListOAutherType 获取登陆渠道可用列表
	ListOAutherType(ctx context.Context, in *ListOAutherTypeRequest, opts ...grpc.CallOption) (*ListOAutherTypeReply, error)
	// ListOAuther 获取登陆渠道列表
	ListOAuther(ctx context.Context, in *ListOAutherRequest, opts ...grpc.CallOption) (*ListOAutherReply, error)
	// CreateOAuther 创建登陆渠道
	CreateOAuther(ctx context.Context, in *CreateOAutherRequest, opts ...grpc.CallOption) (*CreateOAutherReply, error)
	// UpdateOAuther 更新登陆渠道
	UpdateOAuther(ctx context.Context, in *UpdateOAutherRequest, opts ...grpc.CallOption) (*UpdateOAutherReply, error)
	// DeleteOAuther 删除登陆渠道
	DeleteOAuther(ctx context.Context, in *DeleteOAutherRequest, opts ...grpc.CallOption) (*DeleteOAutherReply, error)
}

OAutherClient is the client API for OAuther 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.

func NewOAutherClient

func NewOAutherClient(cc grpc.ClientConnInterface) OAutherClient

type OAutherHTTPClient

type OAutherHTTPClient interface {
	CreateOAuther(ctx context.Context, req *CreateOAutherRequest, opts ...http.CallOption) (rsp *CreateOAutherReply, err error)
	DeleteOAuther(ctx context.Context, req *DeleteOAutherRequest, opts ...http.CallOption) (rsp *DeleteOAutherReply, err error)
	ListOAuther(ctx context.Context, req *ListOAutherRequest, opts ...http.CallOption) (rsp *ListOAutherReply, err error)
	ListOAutherType(ctx context.Context, req *ListOAutherTypeRequest, opts ...http.CallOption) (rsp *ListOAutherTypeReply, err error)
	UpdateOAuther(ctx context.Context, req *UpdateOAutherRequest, opts ...http.CallOption) (rsp *UpdateOAutherReply, err error)
}

func NewOAutherHTTPClient

func NewOAutherHTTPClient(client *http.Client) OAutherHTTPClient

type OAutherHTTPClientImpl

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

func (*OAutherHTTPClientImpl) CreateOAuther

func (*OAutherHTTPClientImpl) DeleteOAuther

func (*OAutherHTTPClientImpl) ListOAuther

func (*OAutherHTTPClientImpl) ListOAutherType

func (*OAutherHTTPClientImpl) UpdateOAuther

type OAutherHTTPServer

type OAutherHTTPServer interface {
	// CreateOAuther CreateOAuther 创建登陆渠道
	CreateOAuther(context.Context, *CreateOAutherRequest) (*CreateOAutherReply, error)
	// DeleteOAuther DeleteOAuther 删除登陆渠道
	DeleteOAuther(context.Context, *DeleteOAutherRequest) (*DeleteOAutherReply, error)
	// ListOAuther ListOAuther 获取登陆渠道列表
	ListOAuther(context.Context, *ListOAutherRequest) (*ListOAutherReply, error)
	// ListOAutherType ListOAutherType 获取登陆渠道可用列表
	ListOAutherType(context.Context, *ListOAutherTypeRequest) (*ListOAutherTypeReply, error)
	// UpdateOAuther UpdateOAuther 更新登陆渠道
	UpdateOAuther(context.Context, *UpdateOAutherRequest) (*UpdateOAutherReply, error)
}

type OAutherServer

type OAutherServer interface {
	// ListOAutherType 获取登陆渠道可用列表
	ListOAutherType(context.Context, *ListOAutherTypeRequest) (*ListOAutherTypeReply, error)
	// ListOAuther 获取登陆渠道列表
	ListOAuther(context.Context, *ListOAutherRequest) (*ListOAutherReply, error)
	// CreateOAuther 创建登陆渠道
	CreateOAuther(context.Context, *CreateOAutherRequest) (*CreateOAutherReply, error)
	// UpdateOAuther 更新登陆渠道
	UpdateOAuther(context.Context, *UpdateOAutherRequest) (*UpdateOAutherReply, error)
	// DeleteOAuther 删除登陆渠道
	DeleteOAuther(context.Context, *DeleteOAutherRequest) (*DeleteOAutherReply, error)
	// contains filtered or unexported methods
}

OAutherServer is the server API for OAuther service. All implementations must embed UnimplementedOAutherServer for forward compatibility

type OAutherSetting

type OAutherSetting struct {
	Callback string                `protobuf:"bytes,1,opt,name=callback,proto3" json:"callback,omitempty"`
	Email    *OAutherSetting_Email `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*OAutherSetting) Descriptor deprecated

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

Deprecated: Use OAutherSetting.ProtoReflect.Descriptor instead.

func (*OAutherSetting) GetCallback

func (x *OAutherSetting) GetCallback() string

func (*OAutherSetting) GetEmail

func (x *OAutherSetting) GetEmail() *OAutherSetting_Email

func (*OAutherSetting) ProtoMessage

func (*OAutherSetting) ProtoMessage()

func (*OAutherSetting) ProtoReflect

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

func (*OAutherSetting) Reset

func (x *OAutherSetting) Reset()

func (*OAutherSetting) String

func (x *OAutherSetting) String() string

func (*OAutherSetting) Validate

func (m *OAutherSetting) Validate() error

Validate checks the field values on OAutherSetting 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 (*OAutherSetting) ValidateAll

func (m *OAutherSetting) ValidateAll() error

ValidateAll checks the field values on OAutherSetting 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 OAutherSettingMultiError, or nil if none found.

type OAutherSettingMultiError

type OAutherSettingMultiError []error

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

func (OAutherSettingMultiError) AllErrors

func (m OAutherSettingMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OAutherSettingMultiError) Error

func (m OAutherSettingMultiError) Error() string

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

type OAutherSettingValidationError

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

OAutherSettingValidationError is the validation error returned by OAutherSetting.Validate if the designated constraints aren't met.

func (OAutherSettingValidationError) Cause

Cause function returns cause value.

func (OAutherSettingValidationError) Error

Error satisfies the builtin error interface

func (OAutherSettingValidationError) ErrorName

func (e OAutherSettingValidationError) ErrorName() string

ErrorName returns error name.

func (OAutherSettingValidationError) Field

Field function returns field value.

func (OAutherSettingValidationError) Key

Key function returns key value.

func (OAutherSettingValidationError) Reason

Reason function returns reason value.

type OAutherSetting_Email

type OAutherSetting_Email struct {
	Host     string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Port     uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	From     string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	Subject  string `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"`
	Template string `protobuf:"bytes,5,opt,name=template,proto3" json:"template,omitempty"`
	// contains filtered or unexported fields
}

func (*OAutherSetting_Email) Descriptor deprecated

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

Deprecated: Use OAutherSetting_Email.ProtoReflect.Descriptor instead.

func (*OAutherSetting_Email) GetFrom

func (x *OAutherSetting_Email) GetFrom() string

func (*OAutherSetting_Email) GetHost

func (x *OAutherSetting_Email) GetHost() string

func (*OAutherSetting_Email) GetPort

func (x *OAutherSetting_Email) GetPort() uint32

func (*OAutherSetting_Email) GetSubject

func (x *OAutherSetting_Email) GetSubject() string

func (*OAutherSetting_Email) GetTemplate

func (x *OAutherSetting_Email) GetTemplate() string

func (*OAutherSetting_Email) ProtoMessage

func (*OAutherSetting_Email) ProtoMessage()

func (*OAutherSetting_Email) ProtoReflect

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

func (*OAutherSetting_Email) Reset

func (x *OAutherSetting_Email) Reset()

func (*OAutherSetting_Email) String

func (x *OAutherSetting_Email) String() string

func (*OAutherSetting_Email) Validate

func (m *OAutherSetting_Email) Validate() error

Validate checks the field values on OAutherSetting_Email 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 (*OAutherSetting_Email) ValidateAll

func (m *OAutherSetting_Email) ValidateAll() error

ValidateAll checks the field values on OAutherSetting_Email 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 OAutherSetting_EmailMultiError, or nil if none found.

type OAutherSetting_EmailMultiError

type OAutherSetting_EmailMultiError []error

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

func (OAutherSetting_EmailMultiError) AllErrors

func (m OAutherSetting_EmailMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OAutherSetting_EmailMultiError) Error

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

type OAutherSetting_EmailValidationError

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

OAutherSetting_EmailValidationError is the validation error returned by OAutherSetting_Email.Validate if the designated constraints aren't met.

func (OAutherSetting_EmailValidationError) Cause

Cause function returns cause value.

func (OAutherSetting_EmailValidationError) Error

Error satisfies the builtin error interface

func (OAutherSetting_EmailValidationError) ErrorName

ErrorName returns error name.

func (OAutherSetting_EmailValidationError) Field

Field function returns field value.

func (OAutherSetting_EmailValidationError) Key

Key function returns key value.

func (OAutherSetting_EmailValidationError) Reason

Reason function returns reason value.

type UnimplementedOAutherServer

type UnimplementedOAutherServer struct{}

UnimplementedOAutherServer must be embedded to have forward compatible implementations.

func (UnimplementedOAutherServer) CreateOAuther

func (UnimplementedOAutherServer) DeleteOAuther

func (UnimplementedOAutherServer) ListOAuther

func (UnimplementedOAutherServer) ListOAutherType

func (UnimplementedOAutherServer) UpdateOAuther

type UnsafeOAutherServer

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

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

type UpdateOAutherReply

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

func (*UpdateOAutherReply) Descriptor deprecated

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

Deprecated: Use UpdateOAutherReply.ProtoReflect.Descriptor instead.

func (*UpdateOAutherReply) ProtoMessage

func (*UpdateOAutherReply) ProtoMessage()

func (*UpdateOAutherReply) ProtoReflect

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

func (*UpdateOAutherReply) Reset

func (x *UpdateOAutherReply) Reset()

func (*UpdateOAutherReply) String

func (x *UpdateOAutherReply) String() string

func (*UpdateOAutherReply) Validate

func (m *UpdateOAutherReply) Validate() error

Validate checks the field values on UpdateOAutherReply 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 (*UpdateOAutherReply) ValidateAll

func (m *UpdateOAutherReply) ValidateAll() error

ValidateAll checks the field values on UpdateOAutherReply 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 UpdateOAutherReplyMultiError, or nil if none found.

type UpdateOAutherReplyMultiError

type UpdateOAutherReplyMultiError []error

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

func (UpdateOAutherReplyMultiError) AllErrors

func (m UpdateOAutherReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateOAutherReplyMultiError) Error

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

type UpdateOAutherReplyValidationError

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

UpdateOAutherReplyValidationError is the validation error returned by UpdateOAutherReply.Validate if the designated constraints aren't met.

func (UpdateOAutherReplyValidationError) Cause

Cause function returns cause value.

func (UpdateOAutherReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateOAutherReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateOAutherReplyValidationError) Field

Field function returns field value.

func (UpdateOAutherReplyValidationError) Key

Key function returns key value.

func (UpdateOAutherReplyValidationError) Reason

Reason function returns reason value.

type UpdateOAutherRequest

type UpdateOAutherRequest struct {
	Id          uint32          `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Type        *string         `protobuf:"bytes,3,opt,name=type,proto3,oneof" json:"type,omitempty"`
	Name        *string         `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Status      *bool           `protobuf:"varint,5,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Ak          *string         `protobuf:"bytes,6,opt,name=ak,proto3,oneof" json:"ak,omitempty"`
	Sk          *string         `protobuf:"bytes,7,opt,name=sk,proto3,oneof" json:"sk,omitempty"`
	Setting     *OAutherSetting `protobuf:"bytes,8,opt,name=setting,proto3,oneof" json:"setting,omitempty"`
	Description *string         `protobuf:"bytes,9,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateOAutherRequest) Descriptor deprecated

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

Deprecated: Use UpdateOAutherRequest.ProtoReflect.Descriptor instead.

func (*UpdateOAutherRequest) GetAk

func (x *UpdateOAutherRequest) GetAk() string

func (*UpdateOAutherRequest) GetDescription

func (x *UpdateOAutherRequest) GetDescription() string

func (*UpdateOAutherRequest) GetId

func (x *UpdateOAutherRequest) GetId() uint32
func (x *UpdateOAutherRequest) GetLogo() string

func (*UpdateOAutherRequest) GetName

func (x *UpdateOAutherRequest) GetName() string

func (*UpdateOAutherRequest) GetSetting

func (x *UpdateOAutherRequest) GetSetting() *OAutherSetting

func (*UpdateOAutherRequest) GetSk

func (x *UpdateOAutherRequest) GetSk() string

func (*UpdateOAutherRequest) GetStatus

func (x *UpdateOAutherRequest) GetStatus() bool

func (*UpdateOAutherRequest) GetType

func (x *UpdateOAutherRequest) GetType() string

func (*UpdateOAutherRequest) ProtoMessage

func (*UpdateOAutherRequest) ProtoMessage()

func (*UpdateOAutherRequest) ProtoReflect

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

func (*UpdateOAutherRequest) Reset

func (x *UpdateOAutherRequest) Reset()

func (*UpdateOAutherRequest) String

func (x *UpdateOAutherRequest) String() string

func (*UpdateOAutherRequest) Validate

func (m *UpdateOAutherRequest) Validate() error

Validate checks the field values on UpdateOAutherRequest 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 (*UpdateOAutherRequest) ValidateAll

func (m *UpdateOAutherRequest) ValidateAll() error

ValidateAll checks the field values on UpdateOAutherRequest 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 UpdateOAutherRequestMultiError, or nil if none found.

type UpdateOAutherRequestMultiError

type UpdateOAutherRequestMultiError []error

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

func (UpdateOAutherRequestMultiError) AllErrors

func (m UpdateOAutherRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateOAutherRequestMultiError) Error

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

type UpdateOAutherRequestValidationError

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

UpdateOAutherRequestValidationError is the validation error returned by UpdateOAutherRequest.Validate if the designated constraints aren't met.

func (UpdateOAutherRequestValidationError) Cause

Cause function returns cause value.

func (UpdateOAutherRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateOAutherRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateOAutherRequestValidationError) Field

Field function returns field value.

func (UpdateOAutherRequestValidationError) Key

Key function returns key value.

func (UpdateOAutherRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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