appoauther

package
v0.0.0-...-effdaea Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: MIT Imports: 25 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	AppOAuther_ListAppOAuther_FullMethodName   = "/manager.api.appoauther.AppOAuther/ListAppOAuther"
	AppOAuther_CreateAppOAuther_FullMethodName = "/manager.api.appoauther.AppOAuther/CreateAppOAuther"
	AppOAuther_UpdateAppOAuther_FullMethodName = "/manager.api.appoauther.AppOAuther/UpdateAppOAuther"
	AppOAuther_DeleteAppOAuther_FullMethodName = "/manager.api.appoauther.AppOAuther/DeleteAppOAuther"
)
View Source
const OperationAppOAutherCreateAppOAuther = "/manager.api.appoauther.AppOAuther/CreateAppOAuther"
View Source
const OperationAppOAutherDeleteAppOAuther = "/manager.api.appoauther.AppOAuther/DeleteAppOAuther"
View Source
const OperationAppOAutherListAppOAuther = "/manager.api.appoauther.AppOAuther/ListAppOAuther"
View Source
const OperationAppOAutherUpdateAppOAuther = "/manager.api.appoauther.AppOAuther/UpdateAppOAuther"

Variables

View Source
var AppOAuther_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "manager.api.appoauther.AppOAuther",
	HandlerType: (*AppOAutherServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListAppOAuther",
			Handler:    _AppOAuther_ListAppOAuther_Handler,
		},
		{
			MethodName: "CreateAppOAuther",
			Handler:    _AppOAuther_CreateAppOAuther_Handler,
		},
		{
			MethodName: "UpdateAppOAuther",
			Handler:    _AppOAuther_UpdateAppOAuther_Handler,
		},
		{
			MethodName: "DeleteAppOAuther",
			Handler:    _AppOAuther_DeleteAppOAuther_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/appoauther/proto/appoauther_service.proto",
}

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

View Source
var File_api_appoauther_proto_appoauther_proto protoreflect.FileDescriptor
View Source
var File_api_appoauther_proto_appoauther_service_proto protoreflect.FileDescriptor

Functions

func RegisterAppOAutherHTTPServer

func RegisterAppOAutherHTTPServer(s *http.Server, srv AppOAutherHTTPServer)

func RegisterAppOAutherServer

func RegisterAppOAutherServer(s grpc.ServiceRegistrar, srv AppOAutherServer)

Types

type AppOAutherClient

type AppOAutherClient interface {
	// ListAppOAuther 获取应用渠道信息
	ListAppOAuther(ctx context.Context, in *ListAppOAutherRequest, opts ...grpc.CallOption) (*ListAppOAutherReply, error)
	// CreateApp 创建应用渠道信息
	CreateAppOAuther(ctx context.Context, in *CreateAppOAutherRequest, opts ...grpc.CallOption) (*CreateAppOAutherReply, error)
	// UpdateAppOAuther 更新应用渠道配置(自动注册、主登录渠道)
	UpdateAppOAuther(ctx context.Context, in *UpdateAppOAutherRequest, opts ...grpc.CallOption) (*UpdateAppOAutherReply, error)
	// DeleteApp 删除应用渠道信息
	DeleteAppOAuther(ctx context.Context, in *DeleteAppOAutherRequest, opts ...grpc.CallOption) (*DeleteAppOAutherReply, error)
}

AppOAutherClient is the client API for AppOAuther 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 NewAppOAutherClient

func NewAppOAutherClient(cc grpc.ClientConnInterface) AppOAutherClient

type AppOAutherHTTPClient

type AppOAutherHTTPClient interface {
	CreateAppOAuther(ctx context.Context, req *CreateAppOAutherRequest, opts ...http.CallOption) (rsp *CreateAppOAutherReply, err error)
	DeleteAppOAuther(ctx context.Context, req *DeleteAppOAutherRequest, opts ...http.CallOption) (rsp *DeleteAppOAutherReply, err error)
	ListAppOAuther(ctx context.Context, req *ListAppOAutherRequest, opts ...http.CallOption) (rsp *ListAppOAutherReply, err error)
	UpdateAppOAuther(ctx context.Context, req *UpdateAppOAutherRequest, opts ...http.CallOption) (rsp *UpdateAppOAutherReply, err error)
}

func NewAppOAutherHTTPClient

func NewAppOAutherHTTPClient(client *http.Client) AppOAutherHTTPClient

type AppOAutherHTTPClientImpl

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

func (*AppOAutherHTTPClientImpl) CreateAppOAuther

func (*AppOAutherHTTPClientImpl) DeleteAppOAuther

func (*AppOAutherHTTPClientImpl) ListAppOAuther

func (*AppOAutherHTTPClientImpl) UpdateAppOAuther

type AppOAutherHTTPServer

type AppOAutherHTTPServer interface {
	// CreateAppOAuther CreateApp 创建应用渠道信息
	CreateAppOAuther(context.Context, *CreateAppOAutherRequest) (*CreateAppOAutherReply, error)
	// DeleteAppOAuther DeleteApp 删除应用渠道信息
	DeleteAppOAuther(context.Context, *DeleteAppOAutherRequest) (*DeleteAppOAutherReply, error)
	// ListAppOAuther ListAppOAuther 获取应用渠道信息
	ListAppOAuther(context.Context, *ListAppOAutherRequest) (*ListAppOAutherReply, error)
	// UpdateAppOAuther UpdateAppOAuther 更新应用渠道配置(自动注册、主登录渠道)
	UpdateAppOAuther(context.Context, *UpdateAppOAutherRequest) (*UpdateAppOAutherReply, error)
}

type AppOAutherServer

type AppOAutherServer interface {
	// ListAppOAuther 获取应用渠道信息
	ListAppOAuther(context.Context, *ListAppOAutherRequest) (*ListAppOAutherReply, error)
	// CreateApp 创建应用渠道信息
	CreateAppOAuther(context.Context, *CreateAppOAutherRequest) (*CreateAppOAutherReply, error)
	// UpdateAppOAuther 更新应用渠道配置(自动注册、主登录渠道)
	UpdateAppOAuther(context.Context, *UpdateAppOAutherRequest) (*UpdateAppOAutherReply, error)
	// DeleteApp 删除应用渠道信息
	DeleteAppOAuther(context.Context, *DeleteAppOAutherRequest) (*DeleteAppOAutherReply, error)
	// contains filtered or unexported methods
}

AppOAutherServer is the server API for AppOAuther service. All implementations must embed UnimplementedAppOAutherServer for forward compatibility.

type CreateAppOAutherReply

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

func (*CreateAppOAutherReply) Descriptor deprecated

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

Deprecated: Use CreateAppOAutherReply.ProtoReflect.Descriptor instead.

func (*CreateAppOAutherReply) GetId

func (x *CreateAppOAutherReply) GetId() uint32

func (*CreateAppOAutherReply) ProtoMessage

func (*CreateAppOAutherReply) ProtoMessage()

func (*CreateAppOAutherReply) ProtoReflect

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

func (*CreateAppOAutherReply) Reset

func (x *CreateAppOAutherReply) Reset()

func (*CreateAppOAutherReply) String

func (x *CreateAppOAutherReply) String() string

func (*CreateAppOAutherReply) Validate

func (m *CreateAppOAutherReply) Validate() error

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

func (m *CreateAppOAutherReply) ValidateAll() error

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

type CreateAppOAutherReplyMultiError

type CreateAppOAutherReplyMultiError []error

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

func (CreateAppOAutherReplyMultiError) AllErrors

func (m CreateAppOAutherReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateAppOAutherReplyMultiError) Error

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

type CreateAppOAutherReplyValidationError

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

CreateAppOAutherReplyValidationError is the validation error returned by CreateAppOAutherReply.Validate if the designated constraints aren't met.

func (CreateAppOAutherReplyValidationError) Cause

Cause function returns cause value.

func (CreateAppOAutherReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateAppOAutherReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateAppOAutherReplyValidationError) Field

Field function returns field value.

func (CreateAppOAutherReplyValidationError) Key

Key function returns key value.

func (CreateAppOAutherReplyValidationError) Reason

Reason function returns reason value.

type CreateAppOAutherRequest

type CreateAppOAutherRequest struct {
	App       string `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
	OautherId uint32 `protobuf:"varint,2,opt,name=oautherId,proto3" json:"oautherId,omitempty"`
	// 未绑定账号时自动注册(需渠道支持)
	AutoRegister bool `protobuf:"varint,3,opt,name=autoRegister,proto3" json:"autoRegister,omitempty"`
	// 主登录渠道:每个应用最多一个,登录页优先展示
	IsPrimary bool `protobuf:"varint,4,opt,name=isPrimary,proto3" json:"isPrimary,omitempty"`
	// 强制绑定:未绑定身份按用户名直接绑定已有账号,无需密码确认(需渠道支持)
	ForceBind bool `protobuf:"varint,5,opt,name=forceBind,proto3" json:"forceBind,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAppOAutherRequest) Descriptor deprecated

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

Deprecated: Use CreateAppOAutherRequest.ProtoReflect.Descriptor instead.

func (*CreateAppOAutherRequest) GetApp

func (x *CreateAppOAutherRequest) GetApp() string

func (*CreateAppOAutherRequest) GetAutoRegister

func (x *CreateAppOAutherRequest) GetAutoRegister() bool

func (*CreateAppOAutherRequest) GetForceBind

func (x *CreateAppOAutherRequest) GetForceBind() bool

func (*CreateAppOAutherRequest) GetIsPrimary

func (x *CreateAppOAutherRequest) GetIsPrimary() bool

func (*CreateAppOAutherRequest) GetOautherId

func (x *CreateAppOAutherRequest) GetOautherId() uint32

func (*CreateAppOAutherRequest) ProtoMessage

func (*CreateAppOAutherRequest) ProtoMessage()

func (*CreateAppOAutherRequest) ProtoReflect

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

func (*CreateAppOAutherRequest) Reset

func (x *CreateAppOAutherRequest) Reset()

func (*CreateAppOAutherRequest) String

func (x *CreateAppOAutherRequest) String() string

func (*CreateAppOAutherRequest) Validate

func (m *CreateAppOAutherRequest) Validate() error

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

func (m *CreateAppOAutherRequest) ValidateAll() error

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

type CreateAppOAutherRequestMultiError

type CreateAppOAutherRequestMultiError []error

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

func (CreateAppOAutherRequestMultiError) AllErrors

func (m CreateAppOAutherRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateAppOAutherRequestMultiError) Error

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

type CreateAppOAutherRequestValidationError

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

CreateAppOAutherRequestValidationError is the validation error returned by CreateAppOAutherRequest.Validate if the designated constraints aren't met.

func (CreateAppOAutherRequestValidationError) Cause

Cause function returns cause value.

func (CreateAppOAutherRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateAppOAutherRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateAppOAutherRequestValidationError) Field

Field function returns field value.

func (CreateAppOAutherRequestValidationError) Key

Key function returns key value.

func (CreateAppOAutherRequestValidationError) Reason

Reason function returns reason value.

type DeleteAppOAutherReply

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

func (*DeleteAppOAutherReply) Descriptor deprecated

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

Deprecated: Use DeleteAppOAutherReply.ProtoReflect.Descriptor instead.

func (*DeleteAppOAutherReply) ProtoMessage

func (*DeleteAppOAutherReply) ProtoMessage()

func (*DeleteAppOAutherReply) ProtoReflect

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

func (*DeleteAppOAutherReply) Reset

func (x *DeleteAppOAutherReply) Reset()

func (*DeleteAppOAutherReply) String

func (x *DeleteAppOAutherReply) String() string

func (*DeleteAppOAutherReply) Validate

func (m *DeleteAppOAutherReply) Validate() error

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

func (m *DeleteAppOAutherReply) ValidateAll() error

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

type DeleteAppOAutherReplyMultiError

type DeleteAppOAutherReplyMultiError []error

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

func (DeleteAppOAutherReplyMultiError) AllErrors

func (m DeleteAppOAutherReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteAppOAutherReplyMultiError) Error

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

type DeleteAppOAutherReplyValidationError

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

DeleteAppOAutherReplyValidationError is the validation error returned by DeleteAppOAutherReply.Validate if the designated constraints aren't met.

func (DeleteAppOAutherReplyValidationError) Cause

Cause function returns cause value.

func (DeleteAppOAutherReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteAppOAutherReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteAppOAutherReplyValidationError) Field

Field function returns field value.

func (DeleteAppOAutherReplyValidationError) Key

Key function returns key value.

func (DeleteAppOAutherReplyValidationError) Reason

Reason function returns reason value.

type DeleteAppOAutherRequest

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

func (*DeleteAppOAutherRequest) Descriptor deprecated

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

Deprecated: Use DeleteAppOAutherRequest.ProtoReflect.Descriptor instead.

func (*DeleteAppOAutherRequest) GetId

func (x *DeleteAppOAutherRequest) GetId() uint32

func (*DeleteAppOAutherRequest) ProtoMessage

func (*DeleteAppOAutherRequest) ProtoMessage()

func (*DeleteAppOAutherRequest) ProtoReflect

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

func (*DeleteAppOAutherRequest) Reset

func (x *DeleteAppOAutherRequest) Reset()

func (*DeleteAppOAutherRequest) String

func (x *DeleteAppOAutherRequest) String() string

func (*DeleteAppOAutherRequest) Validate

func (m *DeleteAppOAutherRequest) Validate() error

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

func (m *DeleteAppOAutherRequest) ValidateAll() error

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

type DeleteAppOAutherRequestMultiError

type DeleteAppOAutherRequestMultiError []error

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

func (DeleteAppOAutherRequestMultiError) AllErrors

func (m DeleteAppOAutherRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteAppOAutherRequestMultiError) Error

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

type DeleteAppOAutherRequestValidationError

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

DeleteAppOAutherRequestValidationError is the validation error returned by DeleteAppOAutherRequest.Validate if the designated constraints aren't met.

func (DeleteAppOAutherRequestValidationError) Cause

Cause function returns cause value.

func (DeleteAppOAutherRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteAppOAutherRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteAppOAutherRequestValidationError) Field

Field function returns field value.

func (DeleteAppOAutherRequestValidationError) Key

Key function returns key value.

func (DeleteAppOAutherRequestValidationError) Reason

Reason function returns reason value.

type ListAppOAutherReply

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

func (*ListAppOAutherReply) Descriptor deprecated

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

Deprecated: Use ListAppOAutherReply.ProtoReflect.Descriptor instead.

func (*ListAppOAutherReply) GetList

func (*ListAppOAutherReply) GetTotal

func (x *ListAppOAutherReply) GetTotal() uint32

func (*ListAppOAutherReply) ProtoMessage

func (*ListAppOAutherReply) ProtoMessage()

func (*ListAppOAutherReply) ProtoReflect

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

func (*ListAppOAutherReply) Reset

func (x *ListAppOAutherReply) Reset()

func (*ListAppOAutherReply) String

func (x *ListAppOAutherReply) String() string

func (*ListAppOAutherReply) Validate

func (m *ListAppOAutherReply) Validate() error

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

func (m *ListAppOAutherReply) ValidateAll() error

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

type ListAppOAutherReplyMultiError

type ListAppOAutherReplyMultiError []error

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

func (ListAppOAutherReplyMultiError) AllErrors

func (m ListAppOAutherReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListAppOAutherReplyMultiError) Error

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

type ListAppOAutherReplyValidationError

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

ListAppOAutherReplyValidationError is the validation error returned by ListAppOAutherReply.Validate if the designated constraints aren't met.

func (ListAppOAutherReplyValidationError) Cause

Cause function returns cause value.

func (ListAppOAutherReplyValidationError) Error

Error satisfies the builtin error interface

func (ListAppOAutherReplyValidationError) ErrorName

ErrorName returns error name.

func (ListAppOAutherReplyValidationError) Field

Field function returns field value.

func (ListAppOAutherReplyValidationError) Key

Key function returns key value.

func (ListAppOAutherReplyValidationError) Reason

Reason function returns reason value.

type ListAppOAutherReply_Data

type ListAppOAutherReply_Data struct {
	Id        uint32   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	App       string   `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty"`
	OautherId uint32   `protobuf:"varint,3,opt,name=oautherId,proto3" json:"oautherId,omitempty"`
	CreatedAt uint32   `protobuf:"varint,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt uint32   `protobuf:"varint,5,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	Oauther   *OAuther `protobuf:"bytes,6,opt,name=oauther,proto3" json:"oauther,omitempty"`
	// 未绑定账号时自动注册
	AutoRegister bool `protobuf:"varint,7,opt,name=autoRegister,proto3" json:"autoRegister,omitempty"`
	// 主登录渠道
	IsPrimary bool `protobuf:"varint,8,opt,name=isPrimary,proto3" json:"isPrimary,omitempty"`
	// 强制绑定
	ForceBind bool `protobuf:"varint,9,opt,name=forceBind,proto3" json:"forceBind,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAppOAutherReply_Data) Descriptor deprecated

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

Deprecated: Use ListAppOAutherReply_Data.ProtoReflect.Descriptor instead.

func (*ListAppOAutherReply_Data) GetApp

func (x *ListAppOAutherReply_Data) GetApp() string

func (*ListAppOAutherReply_Data) GetAutoRegister

func (x *ListAppOAutherReply_Data) GetAutoRegister() bool

func (*ListAppOAutherReply_Data) GetCreatedAt

func (x *ListAppOAutherReply_Data) GetCreatedAt() uint32

func (*ListAppOAutherReply_Data) GetForceBind

func (x *ListAppOAutherReply_Data) GetForceBind() bool

func (*ListAppOAutherReply_Data) GetId

func (x *ListAppOAutherReply_Data) GetId() uint32

func (*ListAppOAutherReply_Data) GetIsPrimary

func (x *ListAppOAutherReply_Data) GetIsPrimary() bool

func (*ListAppOAutherReply_Data) GetOauther

func (x *ListAppOAutherReply_Data) GetOauther() *OAuther

func (*ListAppOAutherReply_Data) GetOautherId

func (x *ListAppOAutherReply_Data) GetOautherId() uint32

func (*ListAppOAutherReply_Data) GetUpdatedAt

func (x *ListAppOAutherReply_Data) GetUpdatedAt() uint32

func (*ListAppOAutherReply_Data) ProtoMessage

func (*ListAppOAutherReply_Data) ProtoMessage()

func (*ListAppOAutherReply_Data) ProtoReflect

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

func (*ListAppOAutherReply_Data) Reset

func (x *ListAppOAutherReply_Data) Reset()

func (*ListAppOAutherReply_Data) String

func (x *ListAppOAutherReply_Data) String() string

func (*ListAppOAutherReply_Data) Validate

func (m *ListAppOAutherReply_Data) Validate() error

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

func (m *ListAppOAutherReply_Data) ValidateAll() error

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

type ListAppOAutherReply_DataMultiError

type ListAppOAutherReply_DataMultiError []error

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

func (ListAppOAutherReply_DataMultiError) AllErrors

func (m ListAppOAutherReply_DataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListAppOAutherReply_DataMultiError) Error

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

type ListAppOAutherReply_DataValidationError

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

ListAppOAutherReply_DataValidationError is the validation error returned by ListAppOAutherReply_Data.Validate if the designated constraints aren't met.

func (ListAppOAutherReply_DataValidationError) Cause

Cause function returns cause value.

func (ListAppOAutherReply_DataValidationError) Error

Error satisfies the builtin error interface

func (ListAppOAutherReply_DataValidationError) ErrorName

ErrorName returns error name.

func (ListAppOAutherReply_DataValidationError) Field

Field function returns field value.

func (ListAppOAutherReply_DataValidationError) Key

Key function returns key value.

func (ListAppOAutherReply_DataValidationError) Reason

Reason function returns reason value.

type ListAppOAutherRequest

type ListAppOAutherRequest 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"`
	App      string  `protobuf:"bytes,7,opt,name=app,proto3" json:"app,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAppOAutherRequest) Descriptor deprecated

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

Deprecated: Use ListAppOAutherRequest.ProtoReflect.Descriptor instead.

func (*ListAppOAutherRequest) GetApp

func (x *ListAppOAutherRequest) GetApp() string

func (*ListAppOAutherRequest) GetKeyword

func (x *ListAppOAutherRequest) GetKeyword() string

func (*ListAppOAutherRequest) GetName

func (x *ListAppOAutherRequest) GetName() string

func (*ListAppOAutherRequest) GetOrder

func (x *ListAppOAutherRequest) GetOrder() string

func (*ListAppOAutherRequest) GetOrderBy

func (x *ListAppOAutherRequest) GetOrderBy() string

func (*ListAppOAutherRequest) GetPage

func (x *ListAppOAutherRequest) GetPage() uint32

func (*ListAppOAutherRequest) GetPageSize

func (x *ListAppOAutherRequest) GetPageSize() uint32

func (*ListAppOAutherRequest) ProtoMessage

func (*ListAppOAutherRequest) ProtoMessage()

func (*ListAppOAutherRequest) ProtoReflect

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

func (*ListAppOAutherRequest) Reset

func (x *ListAppOAutherRequest) Reset()

func (*ListAppOAutherRequest) String

func (x *ListAppOAutherRequest) String() string

func (*ListAppOAutherRequest) Validate

func (m *ListAppOAutherRequest) Validate() error

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

func (m *ListAppOAutherRequest) ValidateAll() error

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

type ListAppOAutherRequestMultiError

type ListAppOAutherRequestMultiError []error

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

func (ListAppOAutherRequestMultiError) AllErrors

func (m ListAppOAutherRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListAppOAutherRequestMultiError) Error

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

type ListAppOAutherRequestValidationError

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

ListAppOAutherRequestValidationError is the validation error returned by ListAppOAutherRequest.Validate if the designated constraints aren't met.

func (ListAppOAutherRequestValidationError) Cause

Cause function returns cause value.

func (ListAppOAutherRequestValidationError) Error

Error satisfies the builtin error interface

func (ListAppOAutherRequestValidationError) ErrorName

ErrorName returns error name.

func (ListAppOAutherRequestValidationError) Field

Field function returns field value.

func (ListAppOAutherRequestValidationError) Key

Key function returns key value.

func (ListAppOAutherRequestValidationError) Reason

Reason function returns reason value.

type OAuther

type OAuther struct {
	Id      uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name    string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Keyword string `protobuf:"bytes,4,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Type    string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuther) Descriptor deprecated

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

Deprecated: Use OAuther.ProtoReflect.Descriptor instead.

func (*OAuther) GetId

func (x *OAuther) GetId() uint32

func (*OAuther) GetKeyword

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

func (*OAuther) GetName

func (x *OAuther) GetName() string

func (*OAuther) GetType

func (x *OAuther) GetType() string

func (*OAuther) ProtoMessage

func (*OAuther) ProtoMessage()

func (*OAuther) ProtoReflect

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

func (*OAuther) Reset

func (x *OAuther) Reset()

func (*OAuther) String

func (x *OAuther) String() string

func (*OAuther) Validate

func (m *OAuther) Validate() error

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

func (m *OAuther) ValidateAll() error

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

type OAutherMultiError

type OAutherMultiError []error

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

func (OAutherMultiError) AllErrors

func (m OAutherMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OAutherMultiError) Error

func (m OAutherMultiError) Error() string

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

type OAutherValidationError

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

OAutherValidationError is the validation error returned by OAuther.Validate if the designated constraints aren't met.

func (OAutherValidationError) Cause

func (e OAutherValidationError) Cause() error

Cause function returns cause value.

func (OAutherValidationError) Error

func (e OAutherValidationError) Error() string

Error satisfies the builtin error interface

func (OAutherValidationError) ErrorName

func (e OAutherValidationError) ErrorName() string

ErrorName returns error name.

func (OAutherValidationError) Field

func (e OAutherValidationError) Field() string

Field function returns field value.

func (OAutherValidationError) Key

func (e OAutherValidationError) Key() bool

Key function returns key value.

func (OAutherValidationError) Reason

func (e OAutherValidationError) Reason() string

Reason function returns reason value.

type UnimplementedAppOAutherServer

type UnimplementedAppOAutherServer struct{}

UnimplementedAppOAutherServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedAppOAutherServer) CreateAppOAuther

func (UnimplementedAppOAutherServer) DeleteAppOAuther

func (UnimplementedAppOAutherServer) ListAppOAuther

func (UnimplementedAppOAutherServer) UpdateAppOAuther

type UnsafeAppOAutherServer

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

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

type UpdateAppOAutherReply

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

func (*UpdateAppOAutherReply) Descriptor deprecated

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

Deprecated: Use UpdateAppOAutherReply.ProtoReflect.Descriptor instead.

func (*UpdateAppOAutherReply) ProtoMessage

func (*UpdateAppOAutherReply) ProtoMessage()

func (*UpdateAppOAutherReply) ProtoReflect

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

func (*UpdateAppOAutherReply) Reset

func (x *UpdateAppOAutherReply) Reset()

func (*UpdateAppOAutherReply) String

func (x *UpdateAppOAutherReply) String() string

func (*UpdateAppOAutherReply) Validate

func (m *UpdateAppOAutherReply) Validate() error

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

func (m *UpdateAppOAutherReply) ValidateAll() error

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

type UpdateAppOAutherReplyMultiError

type UpdateAppOAutherReplyMultiError []error

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

func (UpdateAppOAutherReplyMultiError) AllErrors

func (m UpdateAppOAutherReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateAppOAutherReplyMultiError) Error

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

type UpdateAppOAutherReplyValidationError

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

UpdateAppOAutherReplyValidationError is the validation error returned by UpdateAppOAutherReply.Validate if the designated constraints aren't met.

func (UpdateAppOAutherReplyValidationError) Cause

Cause function returns cause value.

func (UpdateAppOAutherReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateAppOAutherReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateAppOAutherReplyValidationError) Field

Field function returns field value.

func (UpdateAppOAutherReplyValidationError) Key

Key function returns key value.

func (UpdateAppOAutherReplyValidationError) Reason

Reason function returns reason value.

type UpdateAppOAutherRequest

type UpdateAppOAutherRequest struct {
	Id           uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	AutoRegister *bool  `protobuf:"varint,2,opt,name=autoRegister,proto3,oneof" json:"autoRegister,omitempty"`
	IsPrimary    *bool  `protobuf:"varint,3,opt,name=isPrimary,proto3,oneof" json:"isPrimary,omitempty"`
	ForceBind    *bool  `protobuf:"varint,4,opt,name=forceBind,proto3,oneof" json:"forceBind,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAppOAutherRequest) Descriptor deprecated

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

Deprecated: Use UpdateAppOAutherRequest.ProtoReflect.Descriptor instead.

func (*UpdateAppOAutherRequest) GetAutoRegister

func (x *UpdateAppOAutherRequest) GetAutoRegister() bool

func (*UpdateAppOAutherRequest) GetForceBind

func (x *UpdateAppOAutherRequest) GetForceBind() bool

func (*UpdateAppOAutherRequest) GetId

func (x *UpdateAppOAutherRequest) GetId() uint32

func (*UpdateAppOAutherRequest) GetIsPrimary

func (x *UpdateAppOAutherRequest) GetIsPrimary() bool

func (*UpdateAppOAutherRequest) ProtoMessage

func (*UpdateAppOAutherRequest) ProtoMessage()

func (*UpdateAppOAutherRequest) ProtoReflect

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

func (*UpdateAppOAutherRequest) Reset

func (x *UpdateAppOAutherRequest) Reset()

func (*UpdateAppOAutherRequest) String

func (x *UpdateAppOAutherRequest) String() string

func (*UpdateAppOAutherRequest) Validate

func (m *UpdateAppOAutherRequest) Validate() error

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

func (m *UpdateAppOAutherRequest) ValidateAll() error

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

type UpdateAppOAutherRequestMultiError

type UpdateAppOAutherRequestMultiError []error

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

func (UpdateAppOAutherRequestMultiError) AllErrors

func (m UpdateAppOAutherRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateAppOAutherRequestMultiError) Error

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

type UpdateAppOAutherRequestValidationError

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

UpdateAppOAutherRequestValidationError is the validation error returned by UpdateAppOAutherRequest.Validate if the designated constraints aren't met.

func (UpdateAppOAutherRequestValidationError) Cause

Cause function returns cause value.

func (UpdateAppOAutherRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateAppOAutherRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateAppOAutherRequestValidationError) Field

Field function returns field value.

func (UpdateAppOAutherRequestValidationError) Key

Key function returns key value.

func (UpdateAppOAutherRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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