v2

package
v0.0.0-...-d36ff20 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Aes_Encrypt_FullMethodName = "/palm.balsam.v1.Aes/Encrypt"
	Aes_Decrypt_FullMethodName = "/palm.balsam.v1.Aes/Decrypt"
)
View Source
const (
	Jwt_Sign_FullMethodName   = "/palm.balsam.v1.Jwt/Sign"
	Jwt_Verify_FullMethodName = "/palm.balsam.v1.Jwt/Verify"
)
View Source
const (
	HMac_Sign_FullMethodName   = "/palm.balsam.v1.HMac/Sign"
	HMac_Verify_FullMethodName = "/palm.balsam.v1.HMac/Verify"
)
View Source
const (
	User_Lock_FullMethodName          = "/palm.balsam.v1.User/Lock"
	User_Unlock_FullMethodName        = "/palm.balsam.v1.User/Unlock"
	User_Disable_FullMethodName       = "/palm.balsam.v1.User/Disable"
	User_Enable_FullMethodName        = "/palm.balsam.v1.User/Enable"
	User_Logs_FullMethodName          = "/palm.balsam.v1.User/Logs"
	User_SignOut_FullMethodName       = "/palm.balsam.v1.User/SignOut"
	User_Index_FullMethodName         = "/palm.balsam.v1.User/Index"
	User_UpdateProfile_FullMethodName = "/palm.balsam.v1.User/UpdateProfile"
	User_ById_FullMethodName          = "/palm.balsam.v1.User/ById"
	User_ByUid_FullMethodName         = "/palm.balsam.v1.User/ByUid"
)
View Source
const (
	EmailUser_SignIn_FullMethodName         = "/palm.balsam.v1.EmailUser/SignIn"
	EmailUser_SignUp_FullMethodName         = "/palm.balsam.v1.EmailUser/SignUp"
	EmailUser_ConfirmByEmail_FullMethodName = "/palm.balsam.v1.EmailUser/ConfirmByEmail"
	EmailUser_ConfirmByToken_FullMethodName = "/palm.balsam.v1.EmailUser/ConfirmByToken"
	EmailUser_UnlockByEmail_FullMethodName  = "/palm.balsam.v1.EmailUser/UnlockByEmail"
	EmailUser_UnlockByToken_FullMethodName  = "/palm.balsam.v1.EmailUser/UnlockByToken"
	EmailUser_ForgotPassword_FullMethodName = "/palm.balsam.v1.EmailUser/ForgotPassword"
	EmailUser_ResetPassword_FullMethodName  = "/palm.balsam.v1.EmailUser/ResetPassword"
	EmailUser_Confirm_FullMethodName        = "/palm.balsam.v1.EmailUser/Confirm"
	EmailUser_Disable_FullMethodName        = "/palm.balsam.v1.EmailUser/Disable"
	EmailUser_Enable_FullMethodName         = "/palm.balsam.v1.EmailUser/Enable"
	EmailUser_Index_FullMethodName          = "/palm.balsam.v1.EmailUser/Index"
	EmailUser_ById_FullMethodName           = "/palm.balsam.v1.EmailUser/ById"
	EmailUser_ByNickname_FullMethodName     = "/palm.balsam.v1.EmailUser/ByNickname"
	EmailUser_ByEmail_FullMethodName        = "/palm.balsam.v1.EmailUser/ByEmail"
)
View Source
const (
	GoogleOauth2User_Disable_FullMethodName   = "/palm.balsam.v1.GoogleOauth2User/Disable"
	GoogleOauth2User_Enable_FullMethodName    = "/palm.balsam.v1.GoogleOauth2User/Enable"
	GoogleOauth2User_Index_FullMethodName     = "/palm.balsam.v1.GoogleOauth2User/Index"
	GoogleOauth2User_ById_FullMethodName      = "/palm.balsam.v1.GoogleOauth2User/ById"
	GoogleOauth2User_BySubject_FullMethodName = "/palm.balsam.v1.GoogleOauth2User/BySubject"
)
View Source
const (
	WechatOauth2User_Disable_FullMethodName           = "/palm.balsam.v1.WechatOauth2User/Disable"
	WechatOauth2User_Enable_FullMethodName            = "/palm.balsam.v1.WechatOauth2User/Enable"
	WechatOauth2User_Index_FullMethodName             = "/palm.balsam.v1.WechatOauth2User/Index"
	WechatOauth2User_ById_FullMethodName              = "/palm.balsam.v1.WechatOauth2User/ById"
	WechatOauth2User_ByUnionId_FullMethodName         = "/palm.balsam.v1.WechatOauth2User/ByUnionId"
	WechatOauth2User_ByAppIdAndUnionId_FullMethodName = "/palm.balsam.v1.WechatOauth2User/ByAppIdAndUnionId"
)
View Source
const (
	WechatMiniProgramUser_Disable_FullMethodName           = "/palm.balsam.v1.WechatMiniProgramUser/Disable"
	WechatMiniProgramUser_Enable_FullMethodName            = "/palm.balsam.v1.WechatMiniProgramUser/Enable"
	WechatMiniProgramUser_Index_FullMethodName             = "/palm.balsam.v1.WechatMiniProgramUser/Index"
	WechatMiniProgramUser_ById_FullMethodName              = "/palm.balsam.v1.WechatMiniProgramUser/ById"
	WechatMiniProgramUser_ByUnionId_FullMethodName         = "/palm.balsam.v1.WechatMiniProgramUser/ByUnionId"
	WechatMiniProgramUser_ByAppIdAndUnionId_FullMethodName = "/palm.balsam.v1.WechatMiniProgramUser/ByAppIdAndUnionId"
)
View Source
const (
	Session_Disable_FullMethodName = "/palm.balsam.v1.Session/Disable"
	Session_Index_FullMethodName   = "/palm.balsam.v1.Session/Index"
	Session_ByUser_FullMethodName  = "/palm.balsam.v1.Session/ByUser"
)
View Source
const (
	Locale_Set_FullMethodName    = "/palm.balsam.v1.Locale/Set"
	Locale_Index_FullMethodName  = "/palm.balsam.v1.Locale/Index"
	Locale_ByLang_FullMethodName = "/palm.balsam.v1.Locale/ByLang"
)
View Source
const (
	Attachment_Disable_FullMethodName       = "/palm.balsam.v1.Attachment/Disable"
	Attachment_Index_FullMethodName         = "/palm.balsam.v1.Attachment/Index"
	Attachment_SetTitle_FullMethodName      = "/palm.balsam.v1.Attachment/SetTitle"
	Attachment_ById_FullMethodName          = "/palm.balsam.v1.Attachment/ById"
	Attachment_ByUser_FullMethodName        = "/palm.balsam.v1.Attachment/ByUser"
	Attachment_Clear_FullMethodName         = "/palm.balsam.v1.Attachment/Clear"
	Attachment_ByResource_FullMethodName    = "/palm.balsam.v1.Attachment/ByResource"
	Attachment_Associate_FullMethodName     = "/palm.balsam.v1.Attachment/Associate"
	Attachment_Dissociate_FullMethodName    = "/palm.balsam.v1.Attachment/Dissociate"
	Attachment_Create_FullMethodName        = "/palm.balsam.v1.Attachment/Create"
	Attachment_SetUploadedAt_FullMethodName = "/palm.balsam.v1.Attachment/SetUploadedAt"
)
View Source
const (
	LeaveWord_Create_FullMethodName  = "/palm.balsam.v1.LeaveWord/Create"
	LeaveWord_Index_FullMethodName   = "/palm.balsam.v1.LeaveWord/Index"
	LeaveWord_Publish_FullMethodName = "/palm.balsam.v1.LeaveWord/Publish"
	LeaveWord_Destroy_FullMethodName = "/palm.balsam.v1.LeaveWord/Destroy"
)
View Source
const (
	Site_Status_FullMethodName                = "/palm.balsam.v1.Site/Status"
	Site_Layout_FullMethodName                = "/palm.balsam.v1.Site/Layout"
	Site_GetInfoByLang_FullMethodName         = "/palm.balsam.v1.Site/GetInfoByLang"
	Site_SetInfo_FullMethodName               = "/palm.balsam.v1.Site/SetInfo"
	Site_SetKeywords_FullMethodName           = "/palm.balsam.v1.Site/SetKeywords"
	Site_SetAuthor_FullMethodName             = "/palm.balsam.v1.Site/SetAuthor"
	Site_SetBaiduAccount_FullMethodName       = "/palm.balsam.v1.Site/SetBaiduAccount"
	Site_GetBaiduAccount_FullMethodName       = "/palm.balsam.v1.Site/GetBaiduAccount"
	Site_DeleteBaiduAccount_FullMethodName    = "/palm.balsam.v1.Site/DeleteBaiduAccount"
	Site_SetGoogleAccount_FullMethodName      = "/palm.balsam.v1.Site/SetGoogleAccount"
	Site_GetGoogleAccount_FullMethodName      = "/palm.balsam.v1.Site/GetGoogleAccount"
	Site_DeleteGoogleAccount_FullMethodName   = "/palm.balsam.v1.Site/DeleteGoogleAccount"
	Site_SetIndexNowAccount_FullMethodName    = "/palm.balsam.v1.Site/SetIndexNowAccount"
	Site_GetIndexNowAccount_FullMethodName    = "/palm.balsam.v1.Site/GetIndexNowAccount"
	Site_DeleteIndexNowAccount_FullMethodName = "/palm.balsam.v1.Site/DeleteIndexNowAccount"
)

Variables

View Source
var (
	MediaEditor_name = map[int32]string{
		0: "Textarea",
		2: "Markdown",
		3: "Quill",
	}
	MediaEditor_value = map[string]int32{
		"Textarea": 0,
		"Markdown": 2,
		"Quill":    3,
	}
)

Enum value maps for MediaEditor.

View Source
var (
	UserLogsResponse_Item_Level_name = map[int32]string{
		0: "Debug",
		1: "Info",
		2: "Warn",
		3: "Error",
	}
	UserLogsResponse_Item_Level_value = map[string]int32{
		"Debug": 0,
		"Info":  1,
		"Warn":  2,
		"Error": 3,
	}
)

Enum value maps for UserLogsResponse_Item_Level.

View Source
var (
	UserSignInResponse_Detail_ProviderType_name = map[int32]string{
		0:  "Email",
		1:  "Phone",
		11: "GoogleOauth2",
		12: "WechatOauth2",
		13: "WechatMiniProgram",
		14: "FacebookOauth2",
	}
	UserSignInResponse_Detail_ProviderType_value = map[string]int32{
		"Email":             0,
		"Phone":             1,
		"GoogleOauth2":      11,
		"WechatOauth2":      12,
		"WechatMiniProgram": 13,
		"FacebookOauth2":    14,
	}
)

Enum value maps for UserSignInResponse_Detail_ProviderType.

View Source
var (
	WechatOauth2UserIndexResponse_Item_Sex_name = map[int32]string{
		0: "Male",
		1: "Female",
	}
	WechatOauth2UserIndexResponse_Item_Sex_value = map[string]int32{
		"Male":   0,
		"Female": 1,
	}
)

Enum value maps for WechatOauth2UserIndexResponse_Item_Sex.

View Source
var (
	WechatOauth2UserIndexResponse_Item_Lang_name = map[int32]string{
		0: "Cn",
		1: "En",
	}
	WechatOauth2UserIndexResponse_Item_Lang_value = map[string]int32{
		"Cn": 0,
		"En": 1,
	}
)

Enum value maps for WechatOauth2UserIndexResponse_Item_Lang.

View Source
var (
	LeaveWordIndexResponse_Item_Status_name = map[int32]string{
		0: "Pending",
		1: "Completed",
	}
	LeaveWordIndexResponse_Item_Status_value = map[string]int32{
		"Pending":   0,
		"Completed": 1,
	}
)

Enum value maps for LeaveWordIndexResponse_Item_Status.

View Source
var Aes_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "palm.balsam.v1.Aes",
	HandlerType: (*AesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Encrypt",
			Handler:    _Aes_Encrypt_Handler,
		},
		{
			MethodName: "Decrypt",
			Handler:    _Aes_Decrypt_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "balsam.proto",
}

Aes_ServiceDesc is the grpc.ServiceDesc for Aes 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 Attachment_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "palm.balsam.v1.Attachment",
	HandlerType: (*AttachmentServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Disable",
			Handler:    _Attachment_Disable_Handler,
		},
		{
			MethodName: "Index",
			Handler:    _Attachment_Index_Handler,
		},
		{
			MethodName: "SetTitle",
			Handler:    _Attachment_SetTitle_Handler,
		},
		{
			MethodName: "ById",
			Handler:    _Attachment_ById_Handler,
		},
		{
			MethodName: "ByUser",
			Handler:    _Attachment_ByUser_Handler,
		},
		{
			MethodName: "Clear",
			Handler:    _Attachment_Clear_Handler,
		},
		{
			MethodName: "ByResource",
			Handler:    _Attachment_ByResource_Handler,
		},
		{
			MethodName: "Associate",
			Handler:    _Attachment_Associate_Handler,
		},
		{
			MethodName: "Dissociate",
			Handler:    _Attachment_Dissociate_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _Attachment_Create_Handler,
		},
		{
			MethodName: "SetUploadedAt",
			Handler:    _Attachment_SetUploadedAt_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "balsam.proto",
}

Attachment_ServiceDesc is the grpc.ServiceDesc for Attachment 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 EmailUser_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "palm.balsam.v1.EmailUser",
	HandlerType: (*EmailUserServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SignIn",
			Handler:    _EmailUser_SignIn_Handler,
		},
		{
			MethodName: "SignUp",
			Handler:    _EmailUser_SignUp_Handler,
		},
		{
			MethodName: "ConfirmByEmail",
			Handler:    _EmailUser_ConfirmByEmail_Handler,
		},
		{
			MethodName: "ConfirmByToken",
			Handler:    _EmailUser_ConfirmByToken_Handler,
		},
		{
			MethodName: "UnlockByEmail",
			Handler:    _EmailUser_UnlockByEmail_Handler,
		},
		{
			MethodName: "UnlockByToken",
			Handler:    _EmailUser_UnlockByToken_Handler,
		},
		{
			MethodName: "ForgotPassword",
			Handler:    _EmailUser_ForgotPassword_Handler,
		},
		{
			MethodName: "ResetPassword",
			Handler:    _EmailUser_ResetPassword_Handler,
		},
		{
			MethodName: "Confirm",
			Handler:    _EmailUser_Confirm_Handler,
		},
		{
			MethodName: "Disable",
			Handler:    _EmailUser_Disable_Handler,
		},
		{
			MethodName: "Enable",
			Handler:    _EmailUser_Enable_Handler,
		},
		{
			MethodName: "Index",
			Handler:    _EmailUser_Index_Handler,
		},
		{
			MethodName: "ById",
			Handler:    _EmailUser_ById_Handler,
		},
		{
			MethodName: "ByNickname",
			Handler:    _EmailUser_ByNickname_Handler,
		},
		{
			MethodName: "ByEmail",
			Handler:    _EmailUser_ByEmail_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "balsam.proto",
}

EmailUser_ServiceDesc is the grpc.ServiceDesc for EmailUser 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_balsam_proto protoreflect.FileDescriptor
View Source
var GoogleOauth2User_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "palm.balsam.v1.GoogleOauth2User",
	HandlerType: (*GoogleOauth2UserServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Disable",
			Handler:    _GoogleOauth2User_Disable_Handler,
		},
		{
			MethodName: "Enable",
			Handler:    _GoogleOauth2User_Enable_Handler,
		},
		{
			MethodName: "Index",
			Handler:    _GoogleOauth2User_Index_Handler,
		},
		{
			MethodName: "ById",
			Handler:    _GoogleOauth2User_ById_Handler,
		},
		{
			MethodName: "BySubject",
			Handler:    _GoogleOauth2User_BySubject_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "balsam.proto",
}

GoogleOauth2User_ServiceDesc is the grpc.ServiceDesc for GoogleOauth2User 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 HMac_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "palm.balsam.v1.HMac",
	HandlerType: (*HMacServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Sign",
			Handler:    _HMac_Sign_Handler,
		},
		{
			MethodName: "Verify",
			Handler:    _HMac_Verify_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "balsam.proto",
}

HMac_ServiceDesc is the grpc.ServiceDesc for HMac 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 Jwt_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "palm.balsam.v1.Jwt",
	HandlerType: (*JwtServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Sign",
			Handler:    _Jwt_Sign_Handler,
		},
		{
			MethodName: "Verify",
			Handler:    _Jwt_Verify_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "balsam.proto",
}

Jwt_ServiceDesc is the grpc.ServiceDesc for Jwt 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 LeaveWord_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "palm.balsam.v1.LeaveWord",
	HandlerType: (*LeaveWordServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _LeaveWord_Create_Handler,
		},
		{
			MethodName: "Index",
			Handler:    _LeaveWord_Index_Handler,
		},
		{
			MethodName: "Publish",
			Handler:    _LeaveWord_Publish_Handler,
		},
		{
			MethodName: "Destroy",
			Handler:    _LeaveWord_Destroy_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "balsam.proto",
}

LeaveWord_ServiceDesc is the grpc.ServiceDesc for LeaveWord 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 Locale_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "palm.balsam.v1.Locale",
	HandlerType: (*LocaleServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Set",
			Handler:    _Locale_Set_Handler,
		},
		{
			MethodName: "Index",
			Handler:    _Locale_Index_Handler,
		},
		{
			MethodName: "ByLang",
			Handler:    _Locale_ByLang_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "balsam.proto",
}

Locale_ServiceDesc is the grpc.ServiceDesc for Locale 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 Session_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "palm.balsam.v1.Session",
	HandlerType: (*SessionServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Disable",
			Handler:    _Session_Disable_Handler,
		},
		{
			MethodName: "Index",
			Handler:    _Session_Index_Handler,
		},
		{
			MethodName: "ByUser",
			Handler:    _Session_ByUser_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "balsam.proto",
}

Session_ServiceDesc is the grpc.ServiceDesc for Session 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 Site_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "palm.balsam.v1.Site",
	HandlerType: (*SiteServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Status",
			Handler:    _Site_Status_Handler,
		},
		{
			MethodName: "Layout",
			Handler:    _Site_Layout_Handler,
		},
		{
			MethodName: "GetInfoByLang",
			Handler:    _Site_GetInfoByLang_Handler,
		},
		{
			MethodName: "SetInfo",
			Handler:    _Site_SetInfo_Handler,
		},
		{
			MethodName: "SetKeywords",
			Handler:    _Site_SetKeywords_Handler,
		},
		{
			MethodName: "SetAuthor",
			Handler:    _Site_SetAuthor_Handler,
		},
		{
			MethodName: "SetBaiduAccount",
			Handler:    _Site_SetBaiduAccount_Handler,
		},
		{
			MethodName: "GetBaiduAccount",
			Handler:    _Site_GetBaiduAccount_Handler,
		},
		{
			MethodName: "DeleteBaiduAccount",
			Handler:    _Site_DeleteBaiduAccount_Handler,
		},
		{
			MethodName: "SetGoogleAccount",
			Handler:    _Site_SetGoogleAccount_Handler,
		},
		{
			MethodName: "GetGoogleAccount",
			Handler:    _Site_GetGoogleAccount_Handler,
		},
		{
			MethodName: "DeleteGoogleAccount",
			Handler:    _Site_DeleteGoogleAccount_Handler,
		},
		{
			MethodName: "SetIndexNowAccount",
			Handler:    _Site_SetIndexNowAccount_Handler,
		},
		{
			MethodName: "GetIndexNowAccount",
			Handler:    _Site_GetIndexNowAccount_Handler,
		},
		{
			MethodName: "DeleteIndexNowAccount",
			Handler:    _Site_DeleteIndexNowAccount_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "balsam.proto",
}

Site_ServiceDesc is the grpc.ServiceDesc for Site 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 User_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "palm.balsam.v1.User",
	HandlerType: (*UserServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Lock",
			Handler:    _User_Lock_Handler,
		},
		{
			MethodName: "Unlock",
			Handler:    _User_Unlock_Handler,
		},
		{
			MethodName: "Disable",
			Handler:    _User_Disable_Handler,
		},
		{
			MethodName: "Enable",
			Handler:    _User_Enable_Handler,
		},
		{
			MethodName: "Logs",
			Handler:    _User_Logs_Handler,
		},
		{
			MethodName: "SignOut",
			Handler:    _User_SignOut_Handler,
		},
		{
			MethodName: "Index",
			Handler:    _User_Index_Handler,
		},
		{
			MethodName: "UpdateProfile",
			Handler:    _User_UpdateProfile_Handler,
		},
		{
			MethodName: "ById",
			Handler:    _User_ById_Handler,
		},
		{
			MethodName: "ByUid",
			Handler:    _User_ByUid_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "balsam.proto",
}

User_ServiceDesc is the grpc.ServiceDesc for User 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 WechatMiniProgramUser_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "palm.balsam.v1.WechatMiniProgramUser",
	HandlerType: (*WechatMiniProgramUserServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Disable",
			Handler:    _WechatMiniProgramUser_Disable_Handler,
		},
		{
			MethodName: "Enable",
			Handler:    _WechatMiniProgramUser_Enable_Handler,
		},
		{
			MethodName: "Index",
			Handler:    _WechatMiniProgramUser_Index_Handler,
		},
		{
			MethodName: "ById",
			Handler:    _WechatMiniProgramUser_ById_Handler,
		},
		{
			MethodName: "ByUnionId",
			Handler:    _WechatMiniProgramUser_ByUnionId_Handler,
		},
		{
			MethodName: "ByAppIdAndUnionId",
			Handler:    _WechatMiniProgramUser_ByAppIdAndUnionId_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "balsam.proto",
}

WechatMiniProgramUser_ServiceDesc is the grpc.ServiceDesc for WechatMiniProgramUser 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 WechatOauth2User_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "palm.balsam.v1.WechatOauth2User",
	HandlerType: (*WechatOauth2UserServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Disable",
			Handler:    _WechatOauth2User_Disable_Handler,
		},
		{
			MethodName: "Enable",
			Handler:    _WechatOauth2User_Enable_Handler,
		},
		{
			MethodName: "Index",
			Handler:    _WechatOauth2User_Index_Handler,
		},
		{
			MethodName: "ById",
			Handler:    _WechatOauth2User_ById_Handler,
		},
		{
			MethodName: "ByUnionId",
			Handler:    _WechatOauth2User_ByUnionId_Handler,
		},
		{
			MethodName: "ByAppIdAndUnionId",
			Handler:    _WechatOauth2User_ByAppIdAndUnionId_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "balsam.proto",
}

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

Functions

func RegisterAesServer

func RegisterAesServer(s grpc.ServiceRegistrar, srv AesServer)

func RegisterAttachmentServer

func RegisterAttachmentServer(s grpc.ServiceRegistrar, srv AttachmentServer)

func RegisterEmailUserServer

func RegisterEmailUserServer(s grpc.ServiceRegistrar, srv EmailUserServer)

func RegisterGoogleOauth2UserServer

func RegisterGoogleOauth2UserServer(s grpc.ServiceRegistrar, srv GoogleOauth2UserServer)

func RegisterHMacServer

func RegisterHMacServer(s grpc.ServiceRegistrar, srv HMacServer)

func RegisterJwtServer

func RegisterJwtServer(s grpc.ServiceRegistrar, srv JwtServer)

func RegisterLeaveWordServer

func RegisterLeaveWordServer(s grpc.ServiceRegistrar, srv LeaveWordServer)

func RegisterLocaleServer

func RegisterLocaleServer(s grpc.ServiceRegistrar, srv LocaleServer)

func RegisterSessionServer

func RegisterSessionServer(s grpc.ServiceRegistrar, srv SessionServer)

func RegisterSiteServer

func RegisterSiteServer(s grpc.ServiceRegistrar, srv SiteServer)

func RegisterUserServer

func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)

func RegisterWechatMiniProgramUserServer

func RegisterWechatMiniProgramUserServer(s grpc.ServiceRegistrar, srv WechatMiniProgramUserServer)

func RegisterWechatOauth2UserServer

func RegisterWechatOauth2UserServer(s grpc.ServiceRegistrar, srv WechatOauth2UserServer)

Types

type AesClient

type AesClient interface {
	Encrypt(ctx context.Context, in *AesPlainMessage, opts ...grpc.CallOption) (*AesCodeMessage, error)
	Decrypt(ctx context.Context, in *AesCodeMessage, opts ...grpc.CallOption) (*AesPlainMessage, error)
}

AesClient is the client API for Aes 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 NewAesClient

func NewAesClient(cc grpc.ClientConnInterface) AesClient

type AesCodeMessage

type AesCodeMessage struct {
	Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	Salt    []byte `protobuf:"bytes,2,opt,name=salt,proto3" json:"salt,omitempty"`
	// contains filtered or unexported fields
}

func (*AesCodeMessage) Descriptor deprecated

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

Deprecated: Use AesCodeMessage.ProtoReflect.Descriptor instead.

func (*AesCodeMessage) GetPayload

func (x *AesCodeMessage) GetPayload() []byte

func (*AesCodeMessage) GetSalt

func (x *AesCodeMessage) GetSalt() []byte

func (*AesCodeMessage) ProtoMessage

func (*AesCodeMessage) ProtoMessage()

func (*AesCodeMessage) ProtoReflect

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

func (*AesCodeMessage) Reset

func (x *AesCodeMessage) Reset()

func (*AesCodeMessage) String

func (x *AesCodeMessage) String() string

type AesPlainMessage

type AesPlainMessage struct {
	Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*AesPlainMessage) Descriptor deprecated

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

Deprecated: Use AesPlainMessage.ProtoReflect.Descriptor instead.

func (*AesPlainMessage) GetPayload

func (x *AesPlainMessage) GetPayload() []byte

func (*AesPlainMessage) ProtoMessage

func (*AesPlainMessage) ProtoMessage()

func (*AesPlainMessage) ProtoReflect

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

func (*AesPlainMessage) Reset

func (x *AesPlainMessage) Reset()

func (*AesPlainMessage) String

func (x *AesPlainMessage) String() string

type AesServer

type AesServer interface {
	Encrypt(context.Context, *AesPlainMessage) (*AesCodeMessage, error)
	Decrypt(context.Context, *AesCodeMessage) (*AesPlainMessage, error)
	// contains filtered or unexported methods
}

AesServer is the server API for Aes service. All implementations must embed UnimplementedAesServer for forward compatibility

type AttachmentClearRequest

type AttachmentClearRequest struct {
	DaysToKeep uint32 `protobuf:"varint,1,opt,name=days_to_keep,json=daysToKeep,proto3" json:"days_to_keep,omitempty"`
	// contains filtered or unexported fields
}

func (*AttachmentClearRequest) Descriptor deprecated

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

Deprecated: Use AttachmentClearRequest.ProtoReflect.Descriptor instead.

func (*AttachmentClearRequest) GetDaysToKeep

func (x *AttachmentClearRequest) GetDaysToKeep() uint32

func (*AttachmentClearRequest) ProtoMessage

func (*AttachmentClearRequest) ProtoMessage()

func (*AttachmentClearRequest) ProtoReflect

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

func (*AttachmentClearRequest) Reset

func (x *AttachmentClearRequest) Reset()

func (*AttachmentClearRequest) String

func (x *AttachmentClearRequest) String() string

type AttachmentClient

AttachmentClient is the client API for Attachment 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 NewAttachmentClient

func NewAttachmentClient(cc grpc.ClientConnInterface) AttachmentClient

type AttachmentCreateRequest

type AttachmentCreateRequest struct {
	User        uint64 `protobuf:"varint,1,opt,name=user,proto3" json:"user,omitempty"`
	Bucket      string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
	Object      string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	Title       string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	Size        uint64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
	ContentType string `protobuf:"bytes,6,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	Public      bool   `protobuf:"varint,9,opt,name=public,proto3" json:"public,omitempty"`
	// contains filtered or unexported fields
}

func (*AttachmentCreateRequest) Descriptor deprecated

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

Deprecated: Use AttachmentCreateRequest.ProtoReflect.Descriptor instead.

func (*AttachmentCreateRequest) GetBucket

func (x *AttachmentCreateRequest) GetBucket() string

func (*AttachmentCreateRequest) GetContentType

func (x *AttachmentCreateRequest) GetContentType() string

func (*AttachmentCreateRequest) GetObject

func (x *AttachmentCreateRequest) GetObject() string

func (*AttachmentCreateRequest) GetPublic

func (x *AttachmentCreateRequest) GetPublic() bool

func (*AttachmentCreateRequest) GetSize

func (x *AttachmentCreateRequest) GetSize() uint64

func (*AttachmentCreateRequest) GetTitle

func (x *AttachmentCreateRequest) GetTitle() string

func (*AttachmentCreateRequest) GetUser

func (x *AttachmentCreateRequest) GetUser() uint64

func (*AttachmentCreateRequest) ProtoMessage

func (*AttachmentCreateRequest) ProtoMessage()

func (*AttachmentCreateRequest) ProtoReflect

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

func (*AttachmentCreateRequest) Reset

func (x *AttachmentCreateRequest) Reset()

func (*AttachmentCreateRequest) String

func (x *AttachmentCreateRequest) String() string

type AttachmentIndexResponse

type AttachmentIndexResponse struct {
	Items      []*AttachmentIndexResponse_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Pagination *Pagination                     `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*AttachmentIndexResponse) Descriptor deprecated

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

Deprecated: Use AttachmentIndexResponse.ProtoReflect.Descriptor instead.

func (*AttachmentIndexResponse) GetItems

func (*AttachmentIndexResponse) GetPagination

func (x *AttachmentIndexResponse) GetPagination() *Pagination

func (*AttachmentIndexResponse) ProtoMessage

func (*AttachmentIndexResponse) ProtoMessage()

func (*AttachmentIndexResponse) ProtoReflect

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

func (*AttachmentIndexResponse) Reset

func (x *AttachmentIndexResponse) Reset()

func (*AttachmentIndexResponse) String

func (x *AttachmentIndexResponse) String() string

type AttachmentIndexResponse_Item

type AttachmentIndexResponse_Item struct {
	Id          uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	User        uint64                 `protobuf:"varint,2,opt,name=user,proto3" json:"user,omitempty"`
	Bucket      string                 `protobuf:"bytes,3,opt,name=bucket,proto3" json:"bucket,omitempty"`
	Object      string                 `protobuf:"bytes,4,opt,name=object,proto3" json:"object,omitempty"`
	Title       string                 `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
	Size        uint64                 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`
	ContentType string                 `protobuf:"bytes,7,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	UploadedAt  *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=uploaded_at,json=uploadedAt,proto3,oneof" json:"uploaded_at,omitempty"`
	DeletedAt   *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deleted_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*AttachmentIndexResponse_Item) Descriptor deprecated

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

Deprecated: Use AttachmentIndexResponse_Item.ProtoReflect.Descriptor instead.

func (*AttachmentIndexResponse_Item) GetBucket

func (x *AttachmentIndexResponse_Item) GetBucket() string

func (*AttachmentIndexResponse_Item) GetContentType

func (x *AttachmentIndexResponse_Item) GetContentType() string

func (*AttachmentIndexResponse_Item) GetDeletedAt

func (*AttachmentIndexResponse_Item) GetId

func (*AttachmentIndexResponse_Item) GetObject

func (x *AttachmentIndexResponse_Item) GetObject() string

func (*AttachmentIndexResponse_Item) GetSize

func (x *AttachmentIndexResponse_Item) GetSize() uint64

func (*AttachmentIndexResponse_Item) GetTitle

func (x *AttachmentIndexResponse_Item) GetTitle() string

func (*AttachmentIndexResponse_Item) GetUpdatedAt

func (*AttachmentIndexResponse_Item) GetUploadedAt

func (*AttachmentIndexResponse_Item) GetUser

func (x *AttachmentIndexResponse_Item) GetUser() uint64

func (*AttachmentIndexResponse_Item) ProtoMessage

func (*AttachmentIndexResponse_Item) ProtoMessage()

func (*AttachmentIndexResponse_Item) ProtoReflect

func (*AttachmentIndexResponse_Item) Reset

func (x *AttachmentIndexResponse_Item) Reset()

func (*AttachmentIndexResponse_Item) String

type AttachmentListResponse

type AttachmentListResponse struct {
	Items []*AttachmentIndexResponse_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*AttachmentListResponse) Descriptor deprecated

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

Deprecated: Use AttachmentListResponse.ProtoReflect.Descriptor instead.

func (*AttachmentListResponse) GetItems

func (*AttachmentListResponse) ProtoMessage

func (*AttachmentListResponse) ProtoMessage()

func (*AttachmentListResponse) ProtoReflect

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

func (*AttachmentListResponse) Reset

func (x *AttachmentListResponse) Reset()

func (*AttachmentListResponse) String

func (x *AttachmentListResponse) String() string

type AttachmentResourceRequest

type AttachmentResourceRequest struct {
	Id           uint64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ResourceType string  `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	ResourceId   *uint64 `protobuf:"varint,3,opt,name=resource_id,json=resourceId,proto3,oneof" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AttachmentResourceRequest) Descriptor deprecated

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

Deprecated: Use AttachmentResourceRequest.ProtoReflect.Descriptor instead.

func (*AttachmentResourceRequest) GetId

func (x *AttachmentResourceRequest) GetId() uint64

func (*AttachmentResourceRequest) GetResourceId

func (x *AttachmentResourceRequest) GetResourceId() uint64

func (*AttachmentResourceRequest) GetResourceType

func (x *AttachmentResourceRequest) GetResourceType() string

func (*AttachmentResourceRequest) ProtoMessage

func (*AttachmentResourceRequest) ProtoMessage()

func (*AttachmentResourceRequest) ProtoReflect

func (*AttachmentResourceRequest) Reset

func (x *AttachmentResourceRequest) Reset()

func (*AttachmentResourceRequest) String

func (x *AttachmentResourceRequest) String() string

type AttachmentServer

AttachmentServer is the server API for Attachment service. All implementations must embed UnimplementedAttachmentServer for forward compatibility

type AttachmentSetTitleRequest

type AttachmentSetTitleRequest struct {
	Id    uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// contains filtered or unexported fields
}

func (*AttachmentSetTitleRequest) Descriptor deprecated

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

Deprecated: Use AttachmentSetTitleRequest.ProtoReflect.Descriptor instead.

func (*AttachmentSetTitleRequest) GetId

func (x *AttachmentSetTitleRequest) GetId() uint64

func (*AttachmentSetTitleRequest) GetTitle

func (x *AttachmentSetTitleRequest) GetTitle() string

func (*AttachmentSetTitleRequest) ProtoMessage

func (*AttachmentSetTitleRequest) ProtoMessage()

func (*AttachmentSetTitleRequest) ProtoReflect

func (*AttachmentSetTitleRequest) Reset

func (x *AttachmentSetTitleRequest) Reset()

func (*AttachmentSetTitleRequest) String

func (x *AttachmentSetTitleRequest) String() string

type AttachmentShowResponse

type AttachmentShowResponse struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*AttachmentShowResponse) Descriptor deprecated

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

Deprecated: Use AttachmentShowResponse.ProtoReflect.Descriptor instead.

func (*AttachmentShowResponse) GetUrl

func (x *AttachmentShowResponse) GetUrl() string

func (*AttachmentShowResponse) ProtoMessage

func (*AttachmentShowResponse) ProtoMessage()

func (*AttachmentShowResponse) ProtoReflect

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

func (*AttachmentShowResponse) Reset

func (x *AttachmentShowResponse) Reset()

func (*AttachmentShowResponse) String

func (x *AttachmentShowResponse) String() string

type EmailUserByEmailRequest

type EmailUserByEmailRequest struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*EmailUserByEmailRequest) Descriptor deprecated

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

Deprecated: Use EmailUserByEmailRequest.ProtoReflect.Descriptor instead.

func (*EmailUserByEmailRequest) GetEmail

func (x *EmailUserByEmailRequest) GetEmail() string

func (*EmailUserByEmailRequest) ProtoMessage

func (*EmailUserByEmailRequest) ProtoMessage()

func (*EmailUserByEmailRequest) ProtoReflect

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

func (*EmailUserByEmailRequest) Reset

func (x *EmailUserByEmailRequest) Reset()

func (*EmailUserByEmailRequest) String

func (x *EmailUserByEmailRequest) String() string

type EmailUserByNicknameRequest

type EmailUserByNicknameRequest struct {
	Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"`
	// contains filtered or unexported fields
}

func (*EmailUserByNicknameRequest) Descriptor deprecated

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

Deprecated: Use EmailUserByNicknameRequest.ProtoReflect.Descriptor instead.

func (*EmailUserByNicknameRequest) GetNickname

func (x *EmailUserByNicknameRequest) GetNickname() string

func (*EmailUserByNicknameRequest) ProtoMessage

func (*EmailUserByNicknameRequest) ProtoMessage()

func (*EmailUserByNicknameRequest) ProtoReflect

func (*EmailUserByNicknameRequest) Reset

func (x *EmailUserByNicknameRequest) Reset()

func (*EmailUserByNicknameRequest) String

func (x *EmailUserByNicknameRequest) String() string

type EmailUserClient

type EmailUserClient interface {
	SignIn(ctx context.Context, in *UserSignInByEmailRequest, opts ...grpc.CallOption) (*UserSignInResponse, error)
	SignUp(ctx context.Context, in *UserSignUpByEmailRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ConfirmByEmail(ctx context.Context, in *UserByEmailRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ConfirmByToken(ctx context.Context, in *UserByTokenRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	UnlockByEmail(ctx context.Context, in *UserByEmailRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	UnlockByToken(ctx context.Context, in *UserByTokenRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ForgotPassword(ctx context.Context, in *UserByEmailRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ResetPassword(ctx context.Context, in *UserResetPasswordRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Confirm(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Disable(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Enable(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Index(ctx context.Context, in *Pager, opts ...grpc.CallOption) (*EmailUserIndexResponse, error)
	ById(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*EmailUserIndexResponse_Item, error)
	ByNickname(ctx context.Context, in *EmailUserByNicknameRequest, opts ...grpc.CallOption) (*EmailUserIndexResponse_Item, error)
	ByEmail(ctx context.Context, in *EmailUserByEmailRequest, opts ...grpc.CallOption) (*EmailUserIndexResponse_Item, error)
}

EmailUserClient is the client API for EmailUser 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 NewEmailUserClient

func NewEmailUserClient(cc grpc.ClientConnInterface) EmailUserClient

type EmailUserIndexResponse

type EmailUserIndexResponse struct {
	Items      []*EmailUserIndexResponse_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Pagination *Pagination                    `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*EmailUserIndexResponse) Descriptor deprecated

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

Deprecated: Use EmailUserIndexResponse.ProtoReflect.Descriptor instead.

func (*EmailUserIndexResponse) GetItems

func (*EmailUserIndexResponse) GetPagination

func (x *EmailUserIndexResponse) GetPagination() *Pagination

func (*EmailUserIndexResponse) ProtoMessage

func (*EmailUserIndexResponse) ProtoMessage()

func (*EmailUserIndexResponse) ProtoReflect

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

func (*EmailUserIndexResponse) Reset

func (x *EmailUserIndexResponse) Reset()

func (*EmailUserIndexResponse) String

func (x *EmailUserIndexResponse) String() string

type EmailUserIndexResponse_Item

type EmailUserIndexResponse_Item struct {
	Id          uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId      uint64                 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	RealName    string                 `protobuf:"bytes,3,opt,name=real_name,json=realName,proto3" json:"real_name,omitempty"`
	Nickname    string                 `protobuf:"bytes,4,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Email       string                 `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	Avatar      string                 `protobuf:"bytes,6,opt,name=avatar,proto3" json:"avatar,omitempty"`
	ConfirmedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=confirmed_at,json=confirmedAt,proto3,oneof" json:"confirmed_at,omitempty"`
	DeletedAt   *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deleted_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*EmailUserIndexResponse_Item) Descriptor deprecated

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

Deprecated: Use EmailUserIndexResponse_Item.ProtoReflect.Descriptor instead.

func (*EmailUserIndexResponse_Item) GetAvatar

func (x *EmailUserIndexResponse_Item) GetAvatar() string

func (*EmailUserIndexResponse_Item) GetConfirmedAt

func (x *EmailUserIndexResponse_Item) GetConfirmedAt() *timestamppb.Timestamp

func (*EmailUserIndexResponse_Item) GetDeletedAt

func (*EmailUserIndexResponse_Item) GetEmail

func (x *EmailUserIndexResponse_Item) GetEmail() string

func (*EmailUserIndexResponse_Item) GetId

func (*EmailUserIndexResponse_Item) GetNickname

func (x *EmailUserIndexResponse_Item) GetNickname() string

func (*EmailUserIndexResponse_Item) GetRealName

func (x *EmailUserIndexResponse_Item) GetRealName() string

func (*EmailUserIndexResponse_Item) GetUpdatedAt

func (*EmailUserIndexResponse_Item) GetUserId

func (x *EmailUserIndexResponse_Item) GetUserId() uint64

func (*EmailUserIndexResponse_Item) ProtoMessage

func (*EmailUserIndexResponse_Item) ProtoMessage()

func (*EmailUserIndexResponse_Item) ProtoReflect

func (*EmailUserIndexResponse_Item) Reset

func (x *EmailUserIndexResponse_Item) Reset()

func (*EmailUserIndexResponse_Item) String

func (x *EmailUserIndexResponse_Item) String() string

type EmailUserServer

EmailUserServer is the server API for EmailUser service. All implementations must embed UnimplementedEmailUserServer for forward compatibility

----------------------------------------------------------------------------

type GoogleOauth2UserBySubjectRequest

type GoogleOauth2UserBySubjectRequest struct {
	Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	// contains filtered or unexported fields
}

func (*GoogleOauth2UserBySubjectRequest) Descriptor deprecated

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

Deprecated: Use GoogleOauth2UserBySubjectRequest.ProtoReflect.Descriptor instead.

func (*GoogleOauth2UserBySubjectRequest) GetSubject

func (x *GoogleOauth2UserBySubjectRequest) GetSubject() string

func (*GoogleOauth2UserBySubjectRequest) ProtoMessage

func (*GoogleOauth2UserBySubjectRequest) ProtoMessage()

func (*GoogleOauth2UserBySubjectRequest) ProtoReflect

func (*GoogleOauth2UserBySubjectRequest) Reset

func (*GoogleOauth2UserBySubjectRequest) String

type GoogleOauth2UserClient

GoogleOauth2UserClient is the client API for GoogleOauth2User service.

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

----------------------------------------------------------------------------

type GoogleOauth2UserIndexResponse

type GoogleOauth2UserIndexResponse struct {
	Items      []*GoogleOauth2UserIndexResponse_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Pagination *Pagination                           `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*GoogleOauth2UserIndexResponse) Descriptor deprecated

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

Deprecated: Use GoogleOauth2UserIndexResponse.ProtoReflect.Descriptor instead.

func (*GoogleOauth2UserIndexResponse) GetItems

func (*GoogleOauth2UserIndexResponse) GetPagination

func (x *GoogleOauth2UserIndexResponse) GetPagination() *Pagination

func (*GoogleOauth2UserIndexResponse) ProtoMessage

func (*GoogleOauth2UserIndexResponse) ProtoMessage()

func (*GoogleOauth2UserIndexResponse) ProtoReflect

func (*GoogleOauth2UserIndexResponse) Reset

func (x *GoogleOauth2UserIndexResponse) Reset()

func (*GoogleOauth2UserIndexResponse) String

type GoogleOauth2UserIndexResponse_Item

type GoogleOauth2UserIndexResponse_Item struct {
	Id            uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId        uint64                 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Subject       string                 `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	Email         *string                `protobuf:"bytes,4,opt,name=email,proto3,oneof" json:"email,omitempty"`
	EmailVerified bool                   `protobuf:"varint,5,opt,name=email_verified,json=emailVerified,proto3" json:"email_verified,omitempty"`
	Name          *string                `protobuf:"bytes,6,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Picture       *string                `protobuf:"bytes,7,opt,name=picture,proto3,oneof" json:"picture,omitempty"`
	Locale        *string                `protobuf:"bytes,8,opt,name=locale,proto3,oneof" json:"locale,omitempty"`
	DeletedAt     *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deleted_at,omitempty"`
	UpdatedAt     *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*GoogleOauth2UserIndexResponse_Item) Descriptor deprecated

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

Deprecated: Use GoogleOauth2UserIndexResponse_Item.ProtoReflect.Descriptor instead.

func (*GoogleOauth2UserIndexResponse_Item) GetDeletedAt

func (*GoogleOauth2UserIndexResponse_Item) GetEmail

func (*GoogleOauth2UserIndexResponse_Item) GetEmailVerified

func (x *GoogleOauth2UserIndexResponse_Item) GetEmailVerified() bool

func (*GoogleOauth2UserIndexResponse_Item) GetId

func (*GoogleOauth2UserIndexResponse_Item) GetLocale

func (*GoogleOauth2UserIndexResponse_Item) GetName

func (*GoogleOauth2UserIndexResponse_Item) GetPicture

func (*GoogleOauth2UserIndexResponse_Item) GetSubject

func (*GoogleOauth2UserIndexResponse_Item) GetUpdatedAt

func (*GoogleOauth2UserIndexResponse_Item) GetUserId

func (*GoogleOauth2UserIndexResponse_Item) ProtoMessage

func (*GoogleOauth2UserIndexResponse_Item) ProtoMessage()

func (*GoogleOauth2UserIndexResponse_Item) ProtoReflect

func (*GoogleOauth2UserIndexResponse_Item) Reset

func (*GoogleOauth2UserIndexResponse_Item) String

type GoogleOauth2UserServer

GoogleOauth2UserServer is the server API for GoogleOauth2User service. All implementations must embed UnimplementedGoogleOauth2UserServer for forward compatibility

----------------------------------------------------------------------------

type HMacClient

type HMacClient interface {
	Sign(ctx context.Context, in *HMacSignRequest, opts ...grpc.CallOption) (*HMacSignResponse, error)
	Verify(ctx context.Context, in *HMacVerifyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

HMacClient is the client API for HMac 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 NewHMacClient

func NewHMacClient(cc grpc.ClientConnInterface) HMacClient

type HMacServer

type HMacServer interface {
	Sign(context.Context, *HMacSignRequest) (*HMacSignResponse, error)
	Verify(context.Context, *HMacVerifyRequest) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

HMacServer is the server API for HMac service. All implementations must embed UnimplementedHMacServer for forward compatibility

type HMacSignRequest

type HMacSignRequest struct {
	Plain []byte `protobuf:"bytes,1,opt,name=plain,proto3" json:"plain,omitempty"`
	// contains filtered or unexported fields
}

func (*HMacSignRequest) Descriptor deprecated

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

Deprecated: Use HMacSignRequest.ProtoReflect.Descriptor instead.

func (*HMacSignRequest) GetPlain

func (x *HMacSignRequest) GetPlain() []byte

func (*HMacSignRequest) ProtoMessage

func (*HMacSignRequest) ProtoMessage()

func (*HMacSignRequest) ProtoReflect

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

func (*HMacSignRequest) Reset

func (x *HMacSignRequest) Reset()

func (*HMacSignRequest) String

func (x *HMacSignRequest) String() string

type HMacSignResponse

type HMacSignResponse struct {
	Code []byte `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Salt []byte `protobuf:"bytes,2,opt,name=salt,proto3" json:"salt,omitempty"`
	// contains filtered or unexported fields
}

func (*HMacSignResponse) Descriptor deprecated

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

Deprecated: Use HMacSignResponse.ProtoReflect.Descriptor instead.

func (*HMacSignResponse) GetCode

func (x *HMacSignResponse) GetCode() []byte

func (*HMacSignResponse) GetSalt

func (x *HMacSignResponse) GetSalt() []byte

func (*HMacSignResponse) ProtoMessage

func (*HMacSignResponse) ProtoMessage()

func (*HMacSignResponse) ProtoReflect

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

func (*HMacSignResponse) Reset

func (x *HMacSignResponse) Reset()

func (*HMacSignResponse) String

func (x *HMacSignResponse) String() string

type HMacVerifyRequest

type HMacVerifyRequest struct {
	Plain []byte `protobuf:"bytes,1,opt,name=plain,proto3" json:"plain,omitempty"`
	Code  []byte `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Salt  []byte `protobuf:"bytes,3,opt,name=salt,proto3" json:"salt,omitempty"`
	// contains filtered or unexported fields
}

func (*HMacVerifyRequest) Descriptor deprecated

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

Deprecated: Use HMacVerifyRequest.ProtoReflect.Descriptor instead.

func (*HMacVerifyRequest) GetCode

func (x *HMacVerifyRequest) GetCode() []byte

func (*HMacVerifyRequest) GetPlain

func (x *HMacVerifyRequest) GetPlain() []byte

func (*HMacVerifyRequest) GetSalt

func (x *HMacVerifyRequest) GetSalt() []byte

func (*HMacVerifyRequest) ProtoMessage

func (*HMacVerifyRequest) ProtoMessage()

func (*HMacVerifyRequest) ProtoReflect

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

func (*HMacVerifyRequest) Reset

func (x *HMacVerifyRequest) Reset()

func (*HMacVerifyRequest) String

func (x *HMacVerifyRequest) String() string

type IdRequest

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

func (*IdRequest) Descriptor deprecated

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

Deprecated: Use IdRequest.ProtoReflect.Descriptor instead.

func (*IdRequest) GetId

func (x *IdRequest) GetId() uint64

func (*IdRequest) ProtoMessage

func (*IdRequest) ProtoMessage()

func (*IdRequest) ProtoReflect

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

func (*IdRequest) Reset

func (x *IdRequest) Reset()

func (*IdRequest) String

func (x *IdRequest) String() string

type JwtClient

type JwtClient interface {
	Sign(ctx context.Context, in *JwtSignRequest, opts ...grpc.CallOption) (*JwtSignResponse, error)
	Verify(ctx context.Context, in *JwtVerifyRequest, opts ...grpc.CallOption) (*JwtVerifyResponse, error)
}

JwtClient is the client API for Jwt 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 NewJwtClient

func NewJwtClient(cc grpc.ClientConnInterface) JwtClient

type JwtServer

type JwtServer interface {
	Sign(context.Context, *JwtSignRequest) (*JwtSignResponse, error)
	Verify(context.Context, *JwtVerifyRequest) (*JwtVerifyResponse, error)
	// contains filtered or unexported methods
}

JwtServer is the server API for Jwt service. All implementations must embed UnimplementedJwtServer for forward compatibility

type JwtSignRequest

type JwtSignRequest struct {
	KeyId     *string                `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3,oneof" json:"key_id,omitempty"`
	Issuer    string                 `protobuf:"bytes,11,opt,name=issuer,proto3" json:"issuer,omitempty"`
	Subject   string                 `protobuf:"bytes,12,opt,name=subject,proto3" json:"subject,omitempty"`
	Audiences []string               `protobuf:"bytes,13,rep,name=audiences,proto3" json:"audiences,omitempty"`
	NotBefore *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=not_before,json=notBefore,proto3" json:"not_before,omitempty"`
	ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	Extra     *string                `protobuf:"bytes,99,opt,name=extra,proto3,oneof" json:"extra,omitempty"`
	// contains filtered or unexported fields
}

func (*JwtSignRequest) Descriptor deprecated

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

Deprecated: Use JwtSignRequest.ProtoReflect.Descriptor instead.

func (*JwtSignRequest) GetAudiences

func (x *JwtSignRequest) GetAudiences() []string

func (*JwtSignRequest) GetExpiresAt

func (x *JwtSignRequest) GetExpiresAt() *timestamppb.Timestamp

func (*JwtSignRequest) GetExtra

func (x *JwtSignRequest) GetExtra() string

func (*JwtSignRequest) GetIssuer

func (x *JwtSignRequest) GetIssuer() string

func (*JwtSignRequest) GetKeyId

func (x *JwtSignRequest) GetKeyId() string

func (*JwtSignRequest) GetNotBefore

func (x *JwtSignRequest) GetNotBefore() *timestamppb.Timestamp

func (*JwtSignRequest) GetSubject

func (x *JwtSignRequest) GetSubject() string

func (*JwtSignRequest) ProtoMessage

func (*JwtSignRequest) ProtoMessage()

func (*JwtSignRequest) ProtoReflect

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

func (*JwtSignRequest) Reset

func (x *JwtSignRequest) Reset()

func (*JwtSignRequest) String

func (x *JwtSignRequest) String() string

type JwtSignResponse

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

func (*JwtSignResponse) Descriptor deprecated

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

Deprecated: Use JwtSignResponse.ProtoReflect.Descriptor instead.

func (*JwtSignResponse) GetToken

func (x *JwtSignResponse) GetToken() string

func (*JwtSignResponse) ProtoMessage

func (*JwtSignResponse) ProtoMessage()

func (*JwtSignResponse) ProtoReflect

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

func (*JwtSignResponse) Reset

func (x *JwtSignResponse) Reset()

func (*JwtSignResponse) String

func (x *JwtSignResponse) String() string

type JwtVerifyRequest

type JwtVerifyRequest struct {
	Token    string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Issuer   string `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"`
	Audience string `protobuf:"bytes,3,opt,name=audience,proto3" json:"audience,omitempty"`
	// contains filtered or unexported fields
}

func (*JwtVerifyRequest) Descriptor deprecated

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

Deprecated: Use JwtVerifyRequest.ProtoReflect.Descriptor instead.

func (*JwtVerifyRequest) GetAudience

func (x *JwtVerifyRequest) GetAudience() string

func (*JwtVerifyRequest) GetIssuer

func (x *JwtVerifyRequest) GetIssuer() string

func (*JwtVerifyRequest) GetToken

func (x *JwtVerifyRequest) GetToken() string

func (*JwtVerifyRequest) ProtoMessage

func (*JwtVerifyRequest) ProtoMessage()

func (*JwtVerifyRequest) ProtoReflect

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

func (*JwtVerifyRequest) Reset

func (x *JwtVerifyRequest) Reset()

func (*JwtVerifyRequest) String

func (x *JwtVerifyRequest) String() string

type JwtVerifyResponse

type JwtVerifyResponse struct {
	JwtId   string  `protobuf:"bytes,1,opt,name=jwt_id,json=jwtId,proto3" json:"jwt_id,omitempty"`
	KeyId   *string `protobuf:"bytes,2,opt,name=key_id,json=keyId,proto3,oneof" json:"key_id,omitempty"`
	Subject string  `protobuf:"bytes,11,opt,name=subject,proto3" json:"subject,omitempty"`
	Extra   *string `protobuf:"bytes,19,opt,name=extra,proto3,oneof" json:"extra,omitempty"`
	// contains filtered or unexported fields
}

func (*JwtVerifyResponse) Descriptor deprecated

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

Deprecated: Use JwtVerifyResponse.ProtoReflect.Descriptor instead.

func (*JwtVerifyResponse) GetExtra

func (x *JwtVerifyResponse) GetExtra() string

func (*JwtVerifyResponse) GetJwtId

func (x *JwtVerifyResponse) GetJwtId() string

func (*JwtVerifyResponse) GetKeyId

func (x *JwtVerifyResponse) GetKeyId() string

func (*JwtVerifyResponse) GetSubject

func (x *JwtVerifyResponse) GetSubject() string

func (*JwtVerifyResponse) ProtoMessage

func (*JwtVerifyResponse) ProtoMessage()

func (*JwtVerifyResponse) ProtoReflect

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

func (*JwtVerifyResponse) Reset

func (x *JwtVerifyResponse) Reset()

func (*JwtVerifyResponse) String

func (x *JwtVerifyResponse) String() string

type LeaveWordClient

type LeaveWordClient interface {
	Create(ctx context.Context, in *LeaveWordCreateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Index(ctx context.Context, in *Pager, opts ...grpc.CallOption) (*LeaveWordIndexResponse, error)
	Publish(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Destroy(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

LeaveWordClient is the client API for LeaveWord 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 NewLeaveWordClient

func NewLeaveWordClient(cc grpc.ClientConnInterface) LeaveWordClient

type LeaveWordCreateRequest

type LeaveWordCreateRequest struct {
	Body   string      `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	Editor MediaEditor `protobuf:"varint,2,opt,name=editor,proto3,enum=palm.balsam.v1.MediaEditor" json:"editor,omitempty"`
	// contains filtered or unexported fields
}

func (*LeaveWordCreateRequest) Descriptor deprecated

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

Deprecated: Use LeaveWordCreateRequest.ProtoReflect.Descriptor instead.

func (*LeaveWordCreateRequest) GetBody

func (x *LeaveWordCreateRequest) GetBody() string

func (*LeaveWordCreateRequest) GetEditor

func (x *LeaveWordCreateRequest) GetEditor() MediaEditor

func (*LeaveWordCreateRequest) ProtoMessage

func (*LeaveWordCreateRequest) ProtoMessage()

func (*LeaveWordCreateRequest) ProtoReflect

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

func (*LeaveWordCreateRequest) Reset

func (x *LeaveWordCreateRequest) Reset()

func (*LeaveWordCreateRequest) String

func (x *LeaveWordCreateRequest) String() string

type LeaveWordIndexResponse

type LeaveWordIndexResponse struct {
	Items      []*LeaveWordIndexResponse_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Pagination *Pagination                    `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*LeaveWordIndexResponse) Descriptor deprecated

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

Deprecated: Use LeaveWordIndexResponse.ProtoReflect.Descriptor instead.

func (*LeaveWordIndexResponse) GetItems

func (*LeaveWordIndexResponse) GetPagination

func (x *LeaveWordIndexResponse) GetPagination() *Pagination

func (*LeaveWordIndexResponse) ProtoMessage

func (*LeaveWordIndexResponse) ProtoMessage()

func (*LeaveWordIndexResponse) ProtoReflect

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

func (*LeaveWordIndexResponse) Reset

func (x *LeaveWordIndexResponse) Reset()

func (*LeaveWordIndexResponse) String

func (x *LeaveWordIndexResponse) String() string

type LeaveWordIndexResponse_Item

type LeaveWordIndexResponse_Item struct {
	Id          uint64                             `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Lang        string                             `protobuf:"bytes,2,opt,name=lang,proto3" json:"lang,omitempty"`
	Ip          string                             `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	Body        string                             `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
	Editor      MediaEditor                        `protobuf:"varint,5,opt,name=editor,proto3,enum=palm.balsam.v1.MediaEditor" json:"editor,omitempty"`
	Status      LeaveWordIndexResponse_Item_Status `protobuf:"varint,6,opt,name=status,proto3,enum=palm.balsam.v1.LeaveWordIndexResponse_Item_Status" json:"status,omitempty"`
	PublishedAt *timestamppb.Timestamp             `protobuf:"bytes,7,opt,name=published_at,json=publishedAt,proto3,oneof" json:"published_at,omitempty"`
	DeletedAt   *timestamppb.Timestamp             `protobuf:"bytes,8,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deleted_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp             `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*LeaveWordIndexResponse_Item) Descriptor deprecated

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

Deprecated: Use LeaveWordIndexResponse_Item.ProtoReflect.Descriptor instead.

func (*LeaveWordIndexResponse_Item) GetBody

func (x *LeaveWordIndexResponse_Item) GetBody() string

func (*LeaveWordIndexResponse_Item) GetDeletedAt

func (*LeaveWordIndexResponse_Item) GetEditor

func (*LeaveWordIndexResponse_Item) GetId

func (*LeaveWordIndexResponse_Item) GetIp

func (*LeaveWordIndexResponse_Item) GetLang

func (x *LeaveWordIndexResponse_Item) GetLang() string

func (*LeaveWordIndexResponse_Item) GetPublishedAt

func (x *LeaveWordIndexResponse_Item) GetPublishedAt() *timestamppb.Timestamp

func (*LeaveWordIndexResponse_Item) GetStatus

func (*LeaveWordIndexResponse_Item) GetUpdatedAt

func (*LeaveWordIndexResponse_Item) ProtoMessage

func (*LeaveWordIndexResponse_Item) ProtoMessage()

func (*LeaveWordIndexResponse_Item) ProtoReflect

func (*LeaveWordIndexResponse_Item) Reset

func (x *LeaveWordIndexResponse_Item) Reset()

func (*LeaveWordIndexResponse_Item) String

func (x *LeaveWordIndexResponse_Item) String() string

type LeaveWordIndexResponse_Item_Status

type LeaveWordIndexResponse_Item_Status int32
const (
	LeaveWordIndexResponse_Item_Pending   LeaveWordIndexResponse_Item_Status = 0
	LeaveWordIndexResponse_Item_Completed LeaveWordIndexResponse_Item_Status = 1
)

func (LeaveWordIndexResponse_Item_Status) Descriptor

func (LeaveWordIndexResponse_Item_Status) Enum

func (LeaveWordIndexResponse_Item_Status) EnumDescriptor deprecated

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

Deprecated: Use LeaveWordIndexResponse_Item_Status.Descriptor instead.

func (LeaveWordIndexResponse_Item_Status) Number

func (LeaveWordIndexResponse_Item_Status) String

func (LeaveWordIndexResponse_Item_Status) Type

type LeaveWordServer

type LeaveWordServer interface {
	Create(context.Context, *LeaveWordCreateRequest) (*emptypb.Empty, error)
	Index(context.Context, *Pager) (*LeaveWordIndexResponse, error)
	Publish(context.Context, *IdRequest) (*emptypb.Empty, error)
	Destroy(context.Context, *IdRequest) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

LeaveWordServer is the server API for LeaveWord service. All implementations must embed UnimplementedLeaveWordServer for forward compatibility

----------------------------------------------------------------------------

type LocaleByLangRequest

type LocaleByLangRequest struct {
	Lang string `protobuf:"bytes,1,opt,name=lang,proto3" json:"lang,omitempty"`
	// contains filtered or unexported fields
}

func (*LocaleByLangRequest) Descriptor deprecated

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

Deprecated: Use LocaleByLangRequest.ProtoReflect.Descriptor instead.

func (*LocaleByLangRequest) GetLang

func (x *LocaleByLangRequest) GetLang() string

func (*LocaleByLangRequest) ProtoMessage

func (*LocaleByLangRequest) ProtoMessage()

func (*LocaleByLangRequest) ProtoReflect

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

func (*LocaleByLangRequest) Reset

func (x *LocaleByLangRequest) Reset()

func (*LocaleByLangRequest) String

func (x *LocaleByLangRequest) String() string

type LocaleByLangResponse

type LocaleByLangResponse struct {
	Items []*LocaleIndexResponse_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*LocaleByLangResponse) Descriptor deprecated

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

Deprecated: Use LocaleByLangResponse.ProtoReflect.Descriptor instead.

func (*LocaleByLangResponse) GetItems

func (*LocaleByLangResponse) ProtoMessage

func (*LocaleByLangResponse) ProtoMessage()

func (*LocaleByLangResponse) ProtoReflect

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

func (*LocaleByLangResponse) Reset

func (x *LocaleByLangResponse) Reset()

func (*LocaleByLangResponse) String

func (x *LocaleByLangResponse) String() string

type LocaleClient

type LocaleClient interface {
	Set(ctx context.Context, in *LocaleSetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Index(ctx context.Context, in *Pager, opts ...grpc.CallOption) (*LocaleIndexResponse, error)
	ByLang(ctx context.Context, in *LocaleByLangRequest, opts ...grpc.CallOption) (*LocaleByLangResponse, error)
}

LocaleClient is the client API for Locale 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 NewLocaleClient

func NewLocaleClient(cc grpc.ClientConnInterface) LocaleClient

type LocaleIndexResponse

type LocaleIndexResponse struct {
	Items      []*LocaleIndexResponse_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Pagination *Pagination                 `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*LocaleIndexResponse) Descriptor deprecated

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

Deprecated: Use LocaleIndexResponse.ProtoReflect.Descriptor instead.

func (*LocaleIndexResponse) GetItems

func (*LocaleIndexResponse) GetPagination

func (x *LocaleIndexResponse) GetPagination() *Pagination

func (*LocaleIndexResponse) ProtoMessage

func (*LocaleIndexResponse) ProtoMessage()

func (*LocaleIndexResponse) ProtoReflect

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

func (*LocaleIndexResponse) Reset

func (x *LocaleIndexResponse) Reset()

func (*LocaleIndexResponse) String

func (x *LocaleIndexResponse) String() string

type LocaleIndexResponse_Item

type LocaleIndexResponse_Item struct {
	Id        uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Lang      string                 `protobuf:"bytes,2,opt,name=lang,proto3" json:"lang,omitempty"`
	Code      string                 `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
	Message   string                 `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*LocaleIndexResponse_Item) Descriptor deprecated

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

Deprecated: Use LocaleIndexResponse_Item.ProtoReflect.Descriptor instead.

func (*LocaleIndexResponse_Item) GetCode

func (x *LocaleIndexResponse_Item) GetCode() string

func (*LocaleIndexResponse_Item) GetId

func (x *LocaleIndexResponse_Item) GetId() uint64

func (*LocaleIndexResponse_Item) GetLang

func (x *LocaleIndexResponse_Item) GetLang() string

func (*LocaleIndexResponse_Item) GetMessage

func (x *LocaleIndexResponse_Item) GetMessage() string

func (*LocaleIndexResponse_Item) GetUpdatedAt

func (x *LocaleIndexResponse_Item) GetUpdatedAt() *timestamppb.Timestamp

func (*LocaleIndexResponse_Item) ProtoMessage

func (*LocaleIndexResponse_Item) ProtoMessage()

func (*LocaleIndexResponse_Item) ProtoReflect

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

func (*LocaleIndexResponse_Item) Reset

func (x *LocaleIndexResponse_Item) Reset()

func (*LocaleIndexResponse_Item) String

func (x *LocaleIndexResponse_Item) String() string

type LocaleServer

type LocaleServer interface {
	Set(context.Context, *LocaleSetRequest) (*emptypb.Empty, error)
	Index(context.Context, *Pager) (*LocaleIndexResponse, error)
	ByLang(context.Context, *LocaleByLangRequest) (*LocaleByLangResponse, error)
	// contains filtered or unexported methods
}

LocaleServer is the server API for Locale service. All implementations must embed UnimplementedLocaleServer for forward compatibility

type LocaleSetRequest

type LocaleSetRequest struct {
	Lang    string `protobuf:"bytes,1,opt,name=lang,proto3" json:"lang,omitempty"`
	Code    string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*LocaleSetRequest) Descriptor deprecated

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

Deprecated: Use LocaleSetRequest.ProtoReflect.Descriptor instead.

func (*LocaleSetRequest) GetCode

func (x *LocaleSetRequest) GetCode() string

func (*LocaleSetRequest) GetLang

func (x *LocaleSetRequest) GetLang() string

func (*LocaleSetRequest) GetMessage

func (x *LocaleSetRequest) GetMessage() string

func (*LocaleSetRequest) ProtoMessage

func (*LocaleSetRequest) ProtoMessage()

func (*LocaleSetRequest) ProtoReflect

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

func (*LocaleSetRequest) Reset

func (x *LocaleSetRequest) Reset()

func (*LocaleSetRequest) String

func (x *LocaleSetRequest) String() string

type MediaEditor

type MediaEditor int32
const (
	MediaEditor_Textarea MediaEditor = 0
	MediaEditor_Markdown MediaEditor = 2
	MediaEditor_Quill    MediaEditor = 3
)

func (MediaEditor) Descriptor

func (MediaEditor) Enum

func (x MediaEditor) Enum() *MediaEditor

func (MediaEditor) EnumDescriptor deprecated

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

Deprecated: Use MediaEditor.Descriptor instead.

func (MediaEditor) Number

func (x MediaEditor) Number() protoreflect.EnumNumber

func (MediaEditor) String

func (x MediaEditor) String() string

func (MediaEditor) Type

type Pager

type Pager struct {
	Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*Pager) Descriptor deprecated

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

Deprecated: Use Pager.ProtoReflect.Descriptor instead.

func (*Pager) GetPage

func (x *Pager) GetPage() int64

func (*Pager) GetSize

func (x *Pager) GetSize() int64

func (*Pager) ProtoMessage

func (*Pager) ProtoMessage()

func (*Pager) ProtoReflect

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

func (*Pager) Reset

func (x *Pager) Reset()

func (*Pager) String

func (x *Pager) String() string

type Pagination

type Pagination struct {
	Page  int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	Size  int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func NewPagination

func NewPagination(pager *Pager, total int64) *Pagination

func (*Pagination) Descriptor deprecated

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

Deprecated: Use Pagination.ProtoReflect.Descriptor instead.

func (*Pagination) GetPage

func (x *Pagination) GetPage() int64

func (*Pagination) GetSize

func (x *Pagination) GetSize() int64

func (*Pagination) GetTotal

func (x *Pagination) GetTotal() int64

func (*Pagination) Limit

func (p *Pagination) Limit() int

func (*Pagination) Offset

func (p *Pagination) Offset() int

func (*Pagination) ProtoMessage

func (*Pagination) ProtoMessage()

func (*Pagination) ProtoReflect

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

func (*Pagination) Reset

func (x *Pagination) Reset()

func (*Pagination) String

func (x *Pagination) String() string

type ResourceRequest

type ResourceRequest struct {
	Type string  `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Id   *uint64 `protobuf:"varint,2,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceRequest) Descriptor deprecated

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

Deprecated: Use ResourceRequest.ProtoReflect.Descriptor instead.

func (*ResourceRequest) GetId

func (x *ResourceRequest) GetId() uint64

func (*ResourceRequest) GetType

func (x *ResourceRequest) GetType() string

func (*ResourceRequest) ProtoMessage

func (*ResourceRequest) ProtoMessage()

func (*ResourceRequest) ProtoReflect

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

func (*ResourceRequest) Reset

func (x *ResourceRequest) Reset()

func (*ResourceRequest) String

func (x *ResourceRequest) String() string

type SessionClient

type SessionClient interface {
	Disable(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Index(ctx context.Context, in *Pager, opts ...grpc.CallOption) (*SessionIndexResponse, error)
	ByUser(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*SessionListResponse, error)
}

SessionClient is the client API for Session 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 NewSessionClient

func NewSessionClient(cc grpc.ClientConnInterface) SessionClient

type SessionIndexResponse

type SessionIndexResponse struct {
	Items      []*SessionIndexResponse_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Pagination *Pagination                  `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionIndexResponse) Descriptor deprecated

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

Deprecated: Use SessionIndexResponse.ProtoReflect.Descriptor instead.

func (*SessionIndexResponse) GetItems

func (*SessionIndexResponse) GetPagination

func (x *SessionIndexResponse) GetPagination() *Pagination

func (*SessionIndexResponse) ProtoMessage

func (*SessionIndexResponse) ProtoMessage()

func (*SessionIndexResponse) ProtoReflect

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

func (*SessionIndexResponse) Reset

func (x *SessionIndexResponse) Reset()

func (*SessionIndexResponse) String

func (x *SessionIndexResponse) String() string

type SessionIndexResponse_Item

type SessionIndexResponse_Item struct {
	Id           uint64                                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	User         uint64                                 `protobuf:"varint,2,opt,name=user,proto3" json:"user,omitempty"`
	Uid          string                                 `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
	ProviderType UserSignInResponse_Detail_ProviderType `` /* 157-byte string literal not displayed */
	ProviderId   uint64                                 `protobuf:"varint,5,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"`
	Ip           string                                 `protobuf:"bytes,6,opt,name=ip,proto3" json:"ip,omitempty"`
	ExpiresAt    *timestamppb.Timestamp                 `protobuf:"bytes,11,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	DeletedAt    *timestamppb.Timestamp                 `protobuf:"bytes,12,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deleted_at,omitempty"`
	CreatedAt    *timestamppb.Timestamp                 `protobuf:"bytes,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionIndexResponse_Item) Descriptor deprecated

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

Deprecated: Use SessionIndexResponse_Item.ProtoReflect.Descriptor instead.

func (*SessionIndexResponse_Item) GetCreatedAt

func (x *SessionIndexResponse_Item) GetCreatedAt() *timestamppb.Timestamp

func (*SessionIndexResponse_Item) GetDeletedAt

func (x *SessionIndexResponse_Item) GetDeletedAt() *timestamppb.Timestamp

func (*SessionIndexResponse_Item) GetExpiresAt

func (x *SessionIndexResponse_Item) GetExpiresAt() *timestamppb.Timestamp

func (*SessionIndexResponse_Item) GetId

func (x *SessionIndexResponse_Item) GetId() uint64

func (*SessionIndexResponse_Item) GetIp

func (x *SessionIndexResponse_Item) GetIp() string

func (*SessionIndexResponse_Item) GetProviderId

func (x *SessionIndexResponse_Item) GetProviderId() uint64

func (*SessionIndexResponse_Item) GetProviderType

func (*SessionIndexResponse_Item) GetUid

func (x *SessionIndexResponse_Item) GetUid() string

func (*SessionIndexResponse_Item) GetUser

func (x *SessionIndexResponse_Item) GetUser() uint64

func (*SessionIndexResponse_Item) ProtoMessage

func (*SessionIndexResponse_Item) ProtoMessage()

func (*SessionIndexResponse_Item) ProtoReflect

func (*SessionIndexResponse_Item) Reset

func (x *SessionIndexResponse_Item) Reset()

func (*SessionIndexResponse_Item) String

func (x *SessionIndexResponse_Item) String() string

type SessionListResponse

type SessionListResponse struct {
	Items []*SessionIndexResponse_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionListResponse) Descriptor deprecated

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

Deprecated: Use SessionListResponse.ProtoReflect.Descriptor instead.

func (*SessionListResponse) GetItems

func (*SessionListResponse) ProtoMessage

func (*SessionListResponse) ProtoMessage()

func (*SessionListResponse) ProtoReflect

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

func (*SessionListResponse) Reset

func (x *SessionListResponse) Reset()

func (*SessionListResponse) String

func (x *SessionListResponse) String() string

type SessionServer

type SessionServer interface {
	Disable(context.Context, *IdRequest) (*emptypb.Empty, error)
	Index(context.Context, *Pager) (*SessionIndexResponse, error)
	ByUser(context.Context, *IdRequest) (*SessionListResponse, error)
	// contains filtered or unexported methods
}

SessionServer is the server API for Session service. All implementations must embed UnimplementedSessionServer for forward compatibility

----------------------------------------------------------------------------

type SiteBaiduAccount

type SiteBaiduAccount struct {
	WebSiteVerify *SiteBaiduAccount_WebSiteVerify `protobuf:"bytes,1,opt,name=web_site_verify,json=webSiteVerify,proto3,oneof" json:"web_site_verify,omitempty"`
	// contains filtered or unexported fields
}

func (*SiteBaiduAccount) Descriptor deprecated

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

Deprecated: Use SiteBaiduAccount.ProtoReflect.Descriptor instead.

func (*SiteBaiduAccount) GetWebSiteVerify

func (x *SiteBaiduAccount) GetWebSiteVerify() *SiteBaiduAccount_WebSiteVerify

func (*SiteBaiduAccount) ProtoMessage

func (*SiteBaiduAccount) ProtoMessage()

func (*SiteBaiduAccount) ProtoReflect

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

func (*SiteBaiduAccount) Reset

func (x *SiteBaiduAccount) Reset()

func (*SiteBaiduAccount) String

func (x *SiteBaiduAccount) String() string

type SiteBaiduAccount_WebSiteVerify

type SiteBaiduAccount_WebSiteVerify struct {
	Code    string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*SiteBaiduAccount_WebSiteVerify) Descriptor deprecated

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

Deprecated: Use SiteBaiduAccount_WebSiteVerify.ProtoReflect.Descriptor instead.

func (*SiteBaiduAccount_WebSiteVerify) GetCode

func (*SiteBaiduAccount_WebSiteVerify) GetContent

func (x *SiteBaiduAccount_WebSiteVerify) GetContent() string

func (*SiteBaiduAccount_WebSiteVerify) ProtoMessage

func (*SiteBaiduAccount_WebSiteVerify) ProtoMessage()

func (*SiteBaiduAccount_WebSiteVerify) ProtoReflect

func (*SiteBaiduAccount_WebSiteVerify) Reset

func (x *SiteBaiduAccount_WebSiteVerify) Reset()

func (*SiteBaiduAccount_WebSiteVerify) String

type SiteClient

type SiteClient interface {
	Status(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SiteStatusResponse, error)
	Layout(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SiteLayoutResponse, error)
	GetInfoByLang(ctx context.Context, in *SiteGetInfoByLangRequest, opts ...grpc.CallOption) (*SiteGetInfoByLangResponse, error)
	SetInfo(ctx context.Context, in *SiteInfoRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SetKeywords(ctx context.Context, in *SiteKeywordsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SetAuthor(ctx context.Context, in *SiteLayoutResponse_Author, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SetBaiduAccount(ctx context.Context, in *SiteBaiduAccount, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetBaiduAccount(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SiteBaiduAccount, error)
	DeleteBaiduAccount(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SetGoogleAccount(ctx context.Context, in *SiteGoogleAccount, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetGoogleAccount(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SiteGoogleAccount, error)
	DeleteGoogleAccount(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SetIndexNowAccount(ctx context.Context, in *SiteIndexNowAccount, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetIndexNowAccount(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SiteIndexNowAccount, error)
	DeleteIndexNowAccount(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

SiteClient is the client API for Site 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 NewSiteClient

func NewSiteClient(cc grpc.ClientConnInterface) SiteClient

type SiteGetInfoByLangRequest

type SiteGetInfoByLangRequest struct {
	Lang string `protobuf:"bytes,1,opt,name=lang,proto3" json:"lang,omitempty"`
	// contains filtered or unexported fields
}

func (*SiteGetInfoByLangRequest) Descriptor deprecated

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

Deprecated: Use SiteGetInfoByLangRequest.ProtoReflect.Descriptor instead.

func (*SiteGetInfoByLangRequest) GetLang

func (x *SiteGetInfoByLangRequest) GetLang() string

func (*SiteGetInfoByLangRequest) ProtoMessage

func (*SiteGetInfoByLangRequest) ProtoMessage()

func (*SiteGetInfoByLangRequest) ProtoReflect

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

func (*SiteGetInfoByLangRequest) Reset

func (x *SiteGetInfoByLangRequest) Reset()

func (*SiteGetInfoByLangRequest) String

func (x *SiteGetInfoByLangRequest) String() string

type SiteGetInfoByLangResponse

type SiteGetInfoByLangResponse struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Subhead     string `protobuf:"bytes,2,opt,name=subhead,proto3" json:"subhead,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Copyright   string `protobuf:"bytes,4,opt,name=copyright,proto3" json:"copyright,omitempty"`
	// contains filtered or unexported fields
}

func (*SiteGetInfoByLangResponse) Descriptor deprecated

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

Deprecated: Use SiteGetInfoByLangResponse.ProtoReflect.Descriptor instead.

func (*SiteGetInfoByLangResponse) GetCopyright

func (x *SiteGetInfoByLangResponse) GetCopyright() string

func (*SiteGetInfoByLangResponse) GetDescription

func (x *SiteGetInfoByLangResponse) GetDescription() string

func (*SiteGetInfoByLangResponse) GetSubhead

func (x *SiteGetInfoByLangResponse) GetSubhead() string

func (*SiteGetInfoByLangResponse) GetTitle

func (x *SiteGetInfoByLangResponse) GetTitle() string

func (*SiteGetInfoByLangResponse) ProtoMessage

func (*SiteGetInfoByLangResponse) ProtoMessage()

func (*SiteGetInfoByLangResponse) ProtoReflect

func (*SiteGetInfoByLangResponse) Reset

func (x *SiteGetInfoByLangResponse) Reset()

func (*SiteGetInfoByLangResponse) String

func (x *SiteGetInfoByLangResponse) String() string

type SiteGoogleAccount

type SiteGoogleAccount struct {
	WebSiteVerify *SiteGoogleAccount_WebSiteVerify `protobuf:"bytes,1,opt,name=web_site_verify,json=webSiteVerify,proto3,oneof" json:"web_site_verify,omitempty"`
	ReCaptcha     *SiteGoogleAccount_ReCaptcha     `protobuf:"bytes,2,opt,name=re_captcha,json=reCaptcha,proto3,oneof" json:"re_captcha,omitempty"`
	// contains filtered or unexported fields
}

func (*SiteGoogleAccount) Descriptor deprecated

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

Deprecated: Use SiteGoogleAccount.ProtoReflect.Descriptor instead.

func (*SiteGoogleAccount) GetReCaptcha

func (*SiteGoogleAccount) GetWebSiteVerify

func (x *SiteGoogleAccount) GetWebSiteVerify() *SiteGoogleAccount_WebSiteVerify

func (*SiteGoogleAccount) ProtoMessage

func (*SiteGoogleAccount) ProtoMessage()

func (*SiteGoogleAccount) ProtoReflect

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

func (*SiteGoogleAccount) Reset

func (x *SiteGoogleAccount) Reset()

func (*SiteGoogleAccount) String

func (x *SiteGoogleAccount) String() string

type SiteGoogleAccount_ReCaptcha

type SiteGoogleAccount_ReCaptcha struct {
	SiteKey string `protobuf:"bytes,1,opt,name=site_key,json=siteKey,proto3" json:"site_key,omitempty"`
	Secret  string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*SiteGoogleAccount_ReCaptcha) Descriptor deprecated

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

Deprecated: Use SiteGoogleAccount_ReCaptcha.ProtoReflect.Descriptor instead.

func (*SiteGoogleAccount_ReCaptcha) GetSecret

func (x *SiteGoogleAccount_ReCaptcha) GetSecret() string

func (*SiteGoogleAccount_ReCaptcha) GetSiteKey

func (x *SiteGoogleAccount_ReCaptcha) GetSiteKey() string

func (*SiteGoogleAccount_ReCaptcha) ProtoMessage

func (*SiteGoogleAccount_ReCaptcha) ProtoMessage()

func (*SiteGoogleAccount_ReCaptcha) ProtoReflect

func (*SiteGoogleAccount_ReCaptcha) Reset

func (x *SiteGoogleAccount_ReCaptcha) Reset()

func (*SiteGoogleAccount_ReCaptcha) String

func (x *SiteGoogleAccount_ReCaptcha) String() string

type SiteGoogleAccount_WebSiteVerify

type SiteGoogleAccount_WebSiteVerify struct {
	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*SiteGoogleAccount_WebSiteVerify) Descriptor deprecated

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

Deprecated: Use SiteGoogleAccount_WebSiteVerify.ProtoReflect.Descriptor instead.

func (*SiteGoogleAccount_WebSiteVerify) GetCode

func (*SiteGoogleAccount_WebSiteVerify) ProtoMessage

func (*SiteGoogleAccount_WebSiteVerify) ProtoMessage()

func (*SiteGoogleAccount_WebSiteVerify) ProtoReflect

func (*SiteGoogleAccount_WebSiteVerify) Reset

func (*SiteGoogleAccount_WebSiteVerify) String

type SiteIndexNowAccount

type SiteIndexNowAccount struct {
	WebSiteVerify *SiteIndexNowAccount_WebSiteVerify `protobuf:"bytes,1,opt,name=web_site_verify,json=webSiteVerify,proto3,oneof" json:"web_site_verify,omitempty"`
	// contains filtered or unexported fields
}

func (*SiteIndexNowAccount) Descriptor deprecated

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

Deprecated: Use SiteIndexNowAccount.ProtoReflect.Descriptor instead.

func (*SiteIndexNowAccount) GetWebSiteVerify

func (*SiteIndexNowAccount) ProtoMessage

func (*SiteIndexNowAccount) ProtoMessage()

func (*SiteIndexNowAccount) ProtoReflect

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

func (*SiteIndexNowAccount) Reset

func (x *SiteIndexNowAccount) Reset()

func (*SiteIndexNowAccount) String

func (x *SiteIndexNowAccount) String() string

type SiteIndexNowAccount_WebSiteVerify

type SiteIndexNowAccount_WebSiteVerify struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*SiteIndexNowAccount_WebSiteVerify) Descriptor deprecated

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

Deprecated: Use SiteIndexNowAccount_WebSiteVerify.ProtoReflect.Descriptor instead.

func (*SiteIndexNowAccount_WebSiteVerify) GetKey

func (*SiteIndexNowAccount_WebSiteVerify) ProtoMessage

func (*SiteIndexNowAccount_WebSiteVerify) ProtoMessage()

func (*SiteIndexNowAccount_WebSiteVerify) ProtoReflect

func (*SiteIndexNowAccount_WebSiteVerify) Reset

func (*SiteIndexNowAccount_WebSiteVerify) String

type SiteInfoRequest

type SiteInfoRequest struct {
	Lang        string `protobuf:"bytes,1,opt,name=lang,proto3" json:"lang,omitempty"`
	Title       string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Subhead     string `protobuf:"bytes,3,opt,name=subhead,proto3" json:"subhead,omitempty"`
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Copyright   string `protobuf:"bytes,5,opt,name=copyright,proto3" json:"copyright,omitempty"`
	// contains filtered or unexported fields
}

func (*SiteInfoRequest) Descriptor deprecated

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

Deprecated: Use SiteInfoRequest.ProtoReflect.Descriptor instead.

func (*SiteInfoRequest) GetCopyright

func (x *SiteInfoRequest) GetCopyright() string

func (*SiteInfoRequest) GetDescription

func (x *SiteInfoRequest) GetDescription() string

func (*SiteInfoRequest) GetLang

func (x *SiteInfoRequest) GetLang() string

func (*SiteInfoRequest) GetSubhead

func (x *SiteInfoRequest) GetSubhead() string

func (*SiteInfoRequest) GetTitle

func (x *SiteInfoRequest) GetTitle() string

func (*SiteInfoRequest) ProtoMessage

func (*SiteInfoRequest) ProtoMessage()

func (*SiteInfoRequest) ProtoReflect

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

func (*SiteInfoRequest) Reset

func (x *SiteInfoRequest) Reset()

func (*SiteInfoRequest) String

func (x *SiteInfoRequest) String() string

type SiteKeywordsRequest

type SiteKeywordsRequest struct {
	Items []string `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*SiteKeywordsRequest) Descriptor deprecated

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

Deprecated: Use SiteKeywordsRequest.ProtoReflect.Descriptor instead.

func (*SiteKeywordsRequest) GetItems

func (x *SiteKeywordsRequest) GetItems() []string

func (*SiteKeywordsRequest) ProtoMessage

func (*SiteKeywordsRequest) ProtoMessage()

func (*SiteKeywordsRequest) ProtoReflect

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

func (*SiteKeywordsRequest) Reset

func (x *SiteKeywordsRequest) Reset()

func (*SiteKeywordsRequest) String

func (x *SiteKeywordsRequest) String() string

type SiteLayoutResponse

type SiteLayoutResponse struct {
	Title       string                     `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Subhead     string                     `protobuf:"bytes,2,opt,name=subhead,proto3" json:"subhead,omitempty"`
	Description string                     `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Copyright   string                     `protobuf:"bytes,4,opt,name=copyright,proto3" json:"copyright,omitempty"`
	Author      *SiteLayoutResponse_Author `protobuf:"bytes,5,opt,name=author,proto3" json:"author,omitempty"`
	Keywords    []string                   `protobuf:"bytes,6,rep,name=keywords,proto3" json:"keywords,omitempty"`
	CnIcp       *SiteLayoutResponse_CnIcp  `protobuf:"bytes,11,opt,name=cn_icp,json=cnIcp,proto3,oneof" json:"cn_icp,omitempty"`
	CnGab       *SiteLayoutResponse_CnGab  `protobuf:"bytes,12,opt,name=cn_gab,json=cnGab,proto3,oneof" json:"cn_gab,omitempty"`
	Lang        string                     `protobuf:"bytes,97,opt,name=lang,proto3" json:"lang,omitempty"`
	Languages   string                     `protobuf:"bytes,98,opt,name=languages,proto3" json:"languages,omitempty"`
	Version     string                     `protobuf:"bytes,99,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*SiteLayoutResponse) Descriptor deprecated

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

Deprecated: Use SiteLayoutResponse.ProtoReflect.Descriptor instead.

func (*SiteLayoutResponse) GetAuthor

func (*SiteLayoutResponse) GetCnGab

func (*SiteLayoutResponse) GetCnIcp

func (*SiteLayoutResponse) GetCopyright

func (x *SiteLayoutResponse) GetCopyright() string

func (*SiteLayoutResponse) GetDescription

func (x *SiteLayoutResponse) GetDescription() string

func (*SiteLayoutResponse) GetKeywords

func (x *SiteLayoutResponse) GetKeywords() []string

func (*SiteLayoutResponse) GetLang

func (x *SiteLayoutResponse) GetLang() string

func (*SiteLayoutResponse) GetLanguages

func (x *SiteLayoutResponse) GetLanguages() string

func (*SiteLayoutResponse) GetSubhead

func (x *SiteLayoutResponse) GetSubhead() string

func (*SiteLayoutResponse) GetTitle

func (x *SiteLayoutResponse) GetTitle() string

func (*SiteLayoutResponse) GetVersion

func (x *SiteLayoutResponse) GetVersion() string

func (*SiteLayoutResponse) ProtoMessage

func (*SiteLayoutResponse) ProtoMessage()

func (*SiteLayoutResponse) ProtoReflect

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

func (*SiteLayoutResponse) Reset

func (x *SiteLayoutResponse) Reset()

func (*SiteLayoutResponse) String

func (x *SiteLayoutResponse) String() string

type SiteLayoutResponse_Author

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

func (*SiteLayoutResponse_Author) Descriptor deprecated

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

Deprecated: Use SiteLayoutResponse_Author.ProtoReflect.Descriptor instead.

func (*SiteLayoutResponse_Author) GetEmail

func (x *SiteLayoutResponse_Author) GetEmail() string

func (*SiteLayoutResponse_Author) GetName

func (x *SiteLayoutResponse_Author) GetName() string

func (*SiteLayoutResponse_Author) ProtoMessage

func (*SiteLayoutResponse_Author) ProtoMessage()

func (*SiteLayoutResponse_Author) ProtoReflect

func (*SiteLayoutResponse_Author) Reset

func (x *SiteLayoutResponse_Author) Reset()

func (*SiteLayoutResponse_Author) String

func (x *SiteLayoutResponse_Author) String() string

type SiteLayoutResponse_CnGab

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

func (*SiteLayoutResponse_CnGab) Descriptor deprecated

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

Deprecated: Use SiteLayoutResponse_CnGab.ProtoReflect.Descriptor instead.

func (*SiteLayoutResponse_CnGab) GetCode

func (x *SiteLayoutResponse_CnGab) GetCode() string

func (*SiteLayoutResponse_CnGab) GetName

func (x *SiteLayoutResponse_CnGab) GetName() string

func (*SiteLayoutResponse_CnGab) ProtoMessage

func (*SiteLayoutResponse_CnGab) ProtoMessage()

func (*SiteLayoutResponse_CnGab) ProtoReflect

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

func (*SiteLayoutResponse_CnGab) Reset

func (x *SiteLayoutResponse_CnGab) Reset()

func (*SiteLayoutResponse_CnGab) String

func (x *SiteLayoutResponse_CnGab) String() string

type SiteLayoutResponse_CnIcp

type SiteLayoutResponse_CnIcp struct {
	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*SiteLayoutResponse_CnIcp) Descriptor deprecated

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

Deprecated: Use SiteLayoutResponse_CnIcp.ProtoReflect.Descriptor instead.

func (*SiteLayoutResponse_CnIcp) GetCode

func (x *SiteLayoutResponse_CnIcp) GetCode() string

func (*SiteLayoutResponse_CnIcp) ProtoMessage

func (*SiteLayoutResponse_CnIcp) ProtoMessage()

func (*SiteLayoutResponse_CnIcp) ProtoReflect

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

func (*SiteLayoutResponse_CnIcp) Reset

func (x *SiteLayoutResponse_CnIcp) Reset()

func (*SiteLayoutResponse_CnIcp) String

func (x *SiteLayoutResponse_CnIcp) String() string

type SiteServer

type SiteServer interface {
	Status(context.Context, *emptypb.Empty) (*SiteStatusResponse, error)
	Layout(context.Context, *emptypb.Empty) (*SiteLayoutResponse, error)
	GetInfoByLang(context.Context, *SiteGetInfoByLangRequest) (*SiteGetInfoByLangResponse, error)
	SetInfo(context.Context, *SiteInfoRequest) (*emptypb.Empty, error)
	SetKeywords(context.Context, *SiteKeywordsRequest) (*emptypb.Empty, error)
	SetAuthor(context.Context, *SiteLayoutResponse_Author) (*emptypb.Empty, error)
	SetBaiduAccount(context.Context, *SiteBaiduAccount) (*emptypb.Empty, error)
	GetBaiduAccount(context.Context, *emptypb.Empty) (*SiteBaiduAccount, error)
	DeleteBaiduAccount(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	SetGoogleAccount(context.Context, *SiteGoogleAccount) (*emptypb.Empty, error)
	GetGoogleAccount(context.Context, *emptypb.Empty) (*SiteGoogleAccount, error)
	DeleteGoogleAccount(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	SetIndexNowAccount(context.Context, *SiteIndexNowAccount) (*emptypb.Empty, error)
	GetIndexNowAccount(context.Context, *emptypb.Empty) (*SiteIndexNowAccount, error)
	DeleteIndexNowAccount(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

SiteServer is the server API for Site service. All implementations must embed UnimplementedSiteServer for forward compatibility

----------------------------------------------------------------------------

type SiteStatusResponse

type SiteStatusResponse struct {
	Postgresql *SiteStatusResponse_PostgreSql `protobuf:"bytes,1,opt,name=postgresql,proto3" json:"postgresql,omitempty"`
	Redis      *SiteStatusResponse_Redis      `protobuf:"bytes,2,opt,name=redis,proto3" json:"redis,omitempty"`
	Opensearch *SiteStatusResponse_OpenSearch `protobuf:"bytes,3,opt,name=opensearch,proto3" json:"opensearch,omitempty"`
	// contains filtered or unexported fields
}

func (*SiteStatusResponse) Descriptor deprecated

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

Deprecated: Use SiteStatusResponse.ProtoReflect.Descriptor instead.

func (*SiteStatusResponse) GetOpensearch

func (*SiteStatusResponse) GetPostgresql

func (*SiteStatusResponse) GetRedis

func (*SiteStatusResponse) ProtoMessage

func (*SiteStatusResponse) ProtoMessage()

func (*SiteStatusResponse) ProtoReflect

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

func (*SiteStatusResponse) Reset

func (x *SiteStatusResponse) Reset()

func (*SiteStatusResponse) String

func (x *SiteStatusResponse) String() string

type SiteStatusResponse_OpenSearch

type SiteStatusResponse_OpenSearch struct {
	Plugins string `protobuf:"bytes,1,opt,name=plugins,proto3" json:"plugins,omitempty"`
	// contains filtered or unexported fields
}

func (*SiteStatusResponse_OpenSearch) Descriptor deprecated

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

Deprecated: Use SiteStatusResponse_OpenSearch.ProtoReflect.Descriptor instead.

func (*SiteStatusResponse_OpenSearch) GetPlugins

func (x *SiteStatusResponse_OpenSearch) GetPlugins() string

func (*SiteStatusResponse_OpenSearch) ProtoMessage

func (*SiteStatusResponse_OpenSearch) ProtoMessage()

func (*SiteStatusResponse_OpenSearch) ProtoReflect

func (*SiteStatusResponse_OpenSearch) Reset

func (x *SiteStatusResponse_OpenSearch) Reset()

func (*SiteStatusResponse_OpenSearch) String

type SiteStatusResponse_PostgreSql

type SiteStatusResponse_PostgreSql struct {
	Version  string   `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	Versions []string `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"`
	// contains filtered or unexported fields
}

func (*SiteStatusResponse_PostgreSql) Descriptor deprecated

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

Deprecated: Use SiteStatusResponse_PostgreSql.ProtoReflect.Descriptor instead.

func (*SiteStatusResponse_PostgreSql) GetVersion

func (x *SiteStatusResponse_PostgreSql) GetVersion() string

func (*SiteStatusResponse_PostgreSql) GetVersions

func (x *SiteStatusResponse_PostgreSql) GetVersions() []string

func (*SiteStatusResponse_PostgreSql) ProtoMessage

func (*SiteStatusResponse_PostgreSql) ProtoMessage()

func (*SiteStatusResponse_PostgreSql) ProtoReflect

func (*SiteStatusResponse_PostgreSql) Reset

func (x *SiteStatusResponse_PostgreSql) Reset()

func (*SiteStatusResponse_PostgreSql) String

type SiteStatusResponse_Redis

type SiteStatusResponse_Redis struct {
	Info  []string `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"`
	Nodes []string `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*SiteStatusResponse_Redis) Descriptor deprecated

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

Deprecated: Use SiteStatusResponse_Redis.ProtoReflect.Descriptor instead.

func (*SiteStatusResponse_Redis) GetInfo

func (x *SiteStatusResponse_Redis) GetInfo() []string

func (*SiteStatusResponse_Redis) GetNodes

func (x *SiteStatusResponse_Redis) GetNodes() []string

func (*SiteStatusResponse_Redis) ProtoMessage

func (*SiteStatusResponse_Redis) ProtoMessage()

func (*SiteStatusResponse_Redis) ProtoReflect

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

func (*SiteStatusResponse_Redis) Reset

func (x *SiteStatusResponse_Redis) Reset()

func (*SiteStatusResponse_Redis) String

func (x *SiteStatusResponse_Redis) String() string

type UidRequest

type UidRequest struct {
	Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}

func (*UidRequest) Descriptor deprecated

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

Deprecated: Use UidRequest.ProtoReflect.Descriptor instead.

func (*UidRequest) GetUid

func (x *UidRequest) GetUid() string

func (*UidRequest) ProtoMessage

func (*UidRequest) ProtoMessage()

func (*UidRequest) ProtoReflect

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

func (*UidRequest) Reset

func (x *UidRequest) Reset()

func (*UidRequest) String

func (x *UidRequest) String() string

type UnimplementedAesServer

type UnimplementedAesServer struct {
}

UnimplementedAesServer must be embedded to have forward compatible implementations.

func (UnimplementedAesServer) Decrypt

func (UnimplementedAesServer) Encrypt

type UnimplementedAttachmentServer

type UnimplementedAttachmentServer struct {
}

UnimplementedAttachmentServer must be embedded to have forward compatible implementations.

func (UnimplementedAttachmentServer) Associate

func (UnimplementedAttachmentServer) ById

func (UnimplementedAttachmentServer) ByResource

func (UnimplementedAttachmentServer) ByUser

func (UnimplementedAttachmentServer) Clear

func (UnimplementedAttachmentServer) Create

func (UnimplementedAttachmentServer) Disable

func (UnimplementedAttachmentServer) Dissociate

func (UnimplementedAttachmentServer) Index

func (UnimplementedAttachmentServer) SetTitle

func (UnimplementedAttachmentServer) SetUploadedAt

type UnimplementedEmailUserServer

type UnimplementedEmailUserServer struct {
}

UnimplementedEmailUserServer must be embedded to have forward compatible implementations.

func (UnimplementedEmailUserServer) ById

func (UnimplementedEmailUserServer) Confirm

func (UnimplementedEmailUserServer) ConfirmByEmail

func (UnimplementedEmailUserServer) ConfirmByToken

func (UnimplementedEmailUserServer) Disable

func (UnimplementedEmailUserServer) Enable

func (UnimplementedEmailUserServer) ForgotPassword

func (UnimplementedEmailUserServer) Index

func (UnimplementedEmailUserServer) ResetPassword

func (UnimplementedEmailUserServer) SignIn

func (UnimplementedEmailUserServer) SignUp

func (UnimplementedEmailUserServer) UnlockByEmail

func (UnimplementedEmailUserServer) UnlockByToken

type UnimplementedGoogleOauth2UserServer

type UnimplementedGoogleOauth2UserServer struct {
}

UnimplementedGoogleOauth2UserServer must be embedded to have forward compatible implementations.

func (UnimplementedGoogleOauth2UserServer) ById

func (UnimplementedGoogleOauth2UserServer) Disable

func (UnimplementedGoogleOauth2UserServer) Enable

func (UnimplementedGoogleOauth2UserServer) Index

type UnimplementedHMacServer

type UnimplementedHMacServer struct {
}

UnimplementedHMacServer must be embedded to have forward compatible implementations.

func (UnimplementedHMacServer) Sign

func (UnimplementedHMacServer) Verify

type UnimplementedJwtServer

type UnimplementedJwtServer struct {
}

UnimplementedJwtServer must be embedded to have forward compatible implementations.

func (UnimplementedJwtServer) Sign

func (UnimplementedJwtServer) Verify

type UnimplementedLeaveWordServer

type UnimplementedLeaveWordServer struct {
}

UnimplementedLeaveWordServer must be embedded to have forward compatible implementations.

func (UnimplementedLeaveWordServer) Create

func (UnimplementedLeaveWordServer) Destroy

func (UnimplementedLeaveWordServer) Index

func (UnimplementedLeaveWordServer) Publish

type UnimplementedLocaleServer

type UnimplementedLocaleServer struct {
}

UnimplementedLocaleServer must be embedded to have forward compatible implementations.

func (UnimplementedLocaleServer) ByLang

func (UnimplementedLocaleServer) Index

func (UnimplementedLocaleServer) Set

type UnimplementedSessionServer

type UnimplementedSessionServer struct {
}

UnimplementedSessionServer must be embedded to have forward compatible implementations.

func (UnimplementedSessionServer) ByUser

func (UnimplementedSessionServer) Disable

func (UnimplementedSessionServer) Index

type UnimplementedSiteServer

type UnimplementedSiteServer struct {
}

UnimplementedSiteServer must be embedded to have forward compatible implementations.

func (UnimplementedSiteServer) DeleteBaiduAccount

func (UnimplementedSiteServer) DeleteGoogleAccount

func (UnimplementedSiteServer) DeleteIndexNowAccount

func (UnimplementedSiteServer) DeleteIndexNowAccount(context.Context, *emptypb.Empty) (*emptypb.Empty, error)

func (UnimplementedSiteServer) GetBaiduAccount

func (UnimplementedSiteServer) GetGoogleAccount

func (UnimplementedSiteServer) GetIndexNowAccount

func (UnimplementedSiteServer) Layout

func (UnimplementedSiteServer) SetAuthor

func (UnimplementedSiteServer) SetBaiduAccount

func (UnimplementedSiteServer) SetGoogleAccount

func (UnimplementedSiteServer) SetIndexNowAccount

func (UnimplementedSiteServer) SetInfo

func (UnimplementedSiteServer) SetKeywords

func (UnimplementedSiteServer) Status

type UnimplementedUserServer

type UnimplementedUserServer struct {
}

UnimplementedUserServer must be embedded to have forward compatible implementations.

func (UnimplementedUserServer) ById

func (UnimplementedUserServer) ByUid

func (UnimplementedUserServer) Disable

func (UnimplementedUserServer) Enable

func (UnimplementedUserServer) Index

func (UnimplementedUserServer) Lock

func (UnimplementedUserServer) Logs

func (UnimplementedUserServer) SignOut

func (UnimplementedUserServer) Unlock

func (UnimplementedUserServer) UpdateProfile

type UnimplementedWechatMiniProgramUserServer

type UnimplementedWechatMiniProgramUserServer struct {
}

UnimplementedWechatMiniProgramUserServer must be embedded to have forward compatible implementations.

func (UnimplementedWechatMiniProgramUserServer) ById

func (UnimplementedWechatMiniProgramUserServer) Disable

func (UnimplementedWechatMiniProgramUserServer) Enable

func (UnimplementedWechatMiniProgramUserServer) Index

type UnimplementedWechatOauth2UserServer

type UnimplementedWechatOauth2UserServer struct {
}

UnimplementedWechatOauth2UserServer must be embedded to have forward compatible implementations.

func (UnimplementedWechatOauth2UserServer) ById

func (UnimplementedWechatOauth2UserServer) Disable

func (UnimplementedWechatOauth2UserServer) Enable

func (UnimplementedWechatOauth2UserServer) Index

type UnsafeAesServer

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

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

type UnsafeAttachmentServer

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

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

type UnsafeEmailUserServer

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

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

type UnsafeGoogleOauth2UserServer

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

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

type UnsafeHMacServer

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

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

type UnsafeJwtServer

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

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

type UnsafeLeaveWordServer

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

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

type UnsafeLocaleServer

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

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

type UnsafeSessionServer

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

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

type UnsafeSiteServer

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

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

type UnsafeUserServer

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

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

type UnsafeWechatMiniProgramUserServer

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

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

type UnsafeWechatOauth2UserServer

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

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

type UserByEmailRequest

type UserByEmailRequest struct {

	// Types that are assignable to User:
	//
	//	*UserByEmailRequest_Email
	//	*UserByEmailRequest_Nickname
	User isUserByEmailRequest_User `protobuf_oneof:"user"`
	Home string                    `protobuf:"bytes,9,opt,name=home,proto3" json:"home,omitempty"`
	// contains filtered or unexported fields
}

func (*UserByEmailRequest) Descriptor deprecated

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

Deprecated: Use UserByEmailRequest.ProtoReflect.Descriptor instead.

func (*UserByEmailRequest) GetEmail

func (x *UserByEmailRequest) GetEmail() string

func (*UserByEmailRequest) GetHome

func (x *UserByEmailRequest) GetHome() string

func (*UserByEmailRequest) GetNickname

func (x *UserByEmailRequest) GetNickname() string

func (*UserByEmailRequest) GetUser

func (m *UserByEmailRequest) GetUser() isUserByEmailRequest_User

func (*UserByEmailRequest) ProtoMessage

func (*UserByEmailRequest) ProtoMessage()

func (*UserByEmailRequest) ProtoReflect

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

func (*UserByEmailRequest) Reset

func (x *UserByEmailRequest) Reset()

func (*UserByEmailRequest) String

func (x *UserByEmailRequest) String() string

type UserByEmailRequest_Email

type UserByEmailRequest_Email struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3,oneof"`
}

type UserByEmailRequest_Nickname

type UserByEmailRequest_Nickname struct {
	Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3,oneof"`
}

type UserByTokenRequest

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

func (*UserByTokenRequest) Descriptor deprecated

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

Deprecated: Use UserByTokenRequest.ProtoReflect.Descriptor instead.

func (*UserByTokenRequest) GetToken

func (x *UserByTokenRequest) GetToken() string

func (*UserByTokenRequest) ProtoMessage

func (*UserByTokenRequest) ProtoMessage()

func (*UserByTokenRequest) ProtoReflect

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

func (*UserByTokenRequest) Reset

func (x *UserByTokenRequest) Reset()

func (*UserByTokenRequest) String

func (x *UserByTokenRequest) String() string

type UserClient

type UserClient interface {
	Lock(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Unlock(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Disable(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Enable(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Logs(ctx context.Context, in *UserLogsRequest, opts ...grpc.CallOption) (*UserLogsResponse, error)
	SignOut(ctx context.Context, in *UserSignOutRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Index(ctx context.Context, in *Pager, opts ...grpc.CallOption) (*UserIndexResponse, error)
	UpdateProfile(ctx context.Context, in *UserUpdateProfileRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ById(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*UserIndexResponse_Item, error)
	ByUid(ctx context.Context, in *UidRequest, opts ...grpc.CallOption) (*UserIndexResponse_Item, error)
}

UserClient is the client API for User 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 NewUserClient

func NewUserClient(cc grpc.ClientConnInterface) UserClient

type UserIndexResponse

type UserIndexResponse struct {
	Items      []*UserIndexResponse_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Pagination *Pagination               `protobuf:"bytes,9,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*UserIndexResponse) Descriptor deprecated

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

Deprecated: Use UserIndexResponse.ProtoReflect.Descriptor instead.

func (*UserIndexResponse) GetItems

func (x *UserIndexResponse) GetItems() []*UserIndexResponse_Item

func (*UserIndexResponse) GetPagination

func (x *UserIndexResponse) GetPagination() *Pagination

func (*UserIndexResponse) ProtoMessage

func (*UserIndexResponse) ProtoMessage()

func (*UserIndexResponse) ProtoReflect

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

func (*UserIndexResponse) Reset

func (x *UserIndexResponse) Reset()

func (*UserIndexResponse) String

func (x *UserIndexResponse) String() string

type UserIndexResponse_Item

type UserIndexResponse_Item struct {
	Id              uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uid             string                 `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	Lang            string                 `protobuf:"bytes,3,opt,name=lang,proto3" json:"lang,omitempty"`
	Timezone        string                 `protobuf:"bytes,4,opt,name=timezone,proto3" json:"timezone,omitempty"`
	SignInCount     uint32                 `protobuf:"varint,5,opt,name=sign_in_count,json=signInCount,proto3" json:"sign_in_count,omitempty"`
	CurrentSignInAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=current_sign_in_at,json=currentSignInAt,proto3,oneof" json:"current_sign_in_at,omitempty"`
	CurrentSignInIp *string                `protobuf:"bytes,7,opt,name=current_sign_in_ip,json=currentSignInIp,proto3,oneof" json:"current_sign_in_ip,omitempty"`
	LastSignInAt    *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=last_sign_in_at,json=lastSignInAt,proto3,oneof" json:"last_sign_in_at,omitempty"`
	LastSignInIp    *string                `protobuf:"bytes,9,opt,name=last_sign_in_ip,json=lastSignInIp,proto3,oneof" json:"last_sign_in_ip,omitempty"`
	LockedaAt       *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=lockeda_at,json=lockedaAt,proto3,oneof" json:"lockeda_at,omitempty"`
	DeletedAt       *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deleted_at,omitempty"`
	UpdatedAt       *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*UserIndexResponse_Item) Descriptor deprecated

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

Deprecated: Use UserIndexResponse_Item.ProtoReflect.Descriptor instead.

func (*UserIndexResponse_Item) GetCurrentSignInAt

func (x *UserIndexResponse_Item) GetCurrentSignInAt() *timestamppb.Timestamp

func (*UserIndexResponse_Item) GetCurrentSignInIp

func (x *UserIndexResponse_Item) GetCurrentSignInIp() string

func (*UserIndexResponse_Item) GetDeletedAt

func (x *UserIndexResponse_Item) GetDeletedAt() *timestamppb.Timestamp

func (*UserIndexResponse_Item) GetId

func (x *UserIndexResponse_Item) GetId() uint64

func (*UserIndexResponse_Item) GetLang

func (x *UserIndexResponse_Item) GetLang() string

func (*UserIndexResponse_Item) GetLastSignInAt

func (x *UserIndexResponse_Item) GetLastSignInAt() *timestamppb.Timestamp

func (*UserIndexResponse_Item) GetLastSignInIp

func (x *UserIndexResponse_Item) GetLastSignInIp() string

func (*UserIndexResponse_Item) GetLockedaAt

func (x *UserIndexResponse_Item) GetLockedaAt() *timestamppb.Timestamp

func (*UserIndexResponse_Item) GetSignInCount

func (x *UserIndexResponse_Item) GetSignInCount() uint32

func (*UserIndexResponse_Item) GetTimezone

func (x *UserIndexResponse_Item) GetTimezone() string

func (*UserIndexResponse_Item) GetUid

func (x *UserIndexResponse_Item) GetUid() string

func (*UserIndexResponse_Item) GetUpdatedAt

func (x *UserIndexResponse_Item) GetUpdatedAt() *timestamppb.Timestamp

func (*UserIndexResponse_Item) ProtoMessage

func (*UserIndexResponse_Item) ProtoMessage()

func (*UserIndexResponse_Item) ProtoReflect

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

func (*UserIndexResponse_Item) Reset

func (x *UserIndexResponse_Item) Reset()

func (*UserIndexResponse_Item) String

func (x *UserIndexResponse_Item) String() string

type UserLogsRequest

type UserLogsRequest struct {
	User  *uint64 `protobuf:"varint,1,opt,name=user,proto3,oneof" json:"user,omitempty"`
	Pager *Pager  `protobuf:"bytes,9,opt,name=pager,proto3" json:"pager,omitempty"`
	// contains filtered or unexported fields
}

func (*UserLogsRequest) Descriptor deprecated

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

Deprecated: Use UserLogsRequest.ProtoReflect.Descriptor instead.

func (*UserLogsRequest) GetPager

func (x *UserLogsRequest) GetPager() *Pager

func (*UserLogsRequest) GetUser

func (x *UserLogsRequest) GetUser() uint64

func (*UserLogsRequest) ProtoMessage

func (*UserLogsRequest) ProtoMessage()

func (*UserLogsRequest) ProtoReflect

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

func (*UserLogsRequest) Reset

func (x *UserLogsRequest) Reset()

func (*UserLogsRequest) String

func (x *UserLogsRequest) String() string

type UserLogsResponse

type UserLogsResponse struct {
	Items      []*UserLogsResponse_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Pagination *Pagination              `protobuf:"bytes,9,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*UserLogsResponse) Descriptor deprecated

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

Deprecated: Use UserLogsResponse.ProtoReflect.Descriptor instead.

func (*UserLogsResponse) GetItems

func (x *UserLogsResponse) GetItems() []*UserLogsResponse_Item

func (*UserLogsResponse) GetPagination

func (x *UserLogsResponse) GetPagination() *Pagination

func (*UserLogsResponse) ProtoMessage

func (*UserLogsResponse) ProtoMessage()

func (*UserLogsResponse) ProtoReflect

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

func (*UserLogsResponse) Reset

func (x *UserLogsResponse) Reset()

func (*UserLogsResponse) String

func (x *UserLogsResponse) String() string

type UserLogsResponse_Item

type UserLogsResponse_Item struct {
	Id           uint64                      `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Plugin       string                      `protobuf:"bytes,2,opt,name=plugin,proto3" json:"plugin,omitempty"`
	Ip           string                      `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	Level        UserLogsResponse_Item_Level `protobuf:"varint,4,opt,name=level,proto3,enum=palm.balsam.v1.UserLogsResponse_Item_Level" json:"level,omitempty"`
	ResourceType string                      `protobuf:"bytes,5,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	ResourceId   *uint64                     `protobuf:"varint,6,opt,name=resource_id,json=resourceId,proto3,oneof" json:"resource_id,omitempty"`
	Message      string                      `protobuf:"bytes,7,opt,name=message,proto3" json:"message,omitempty"`
	CreatedAt    *timestamppb.Timestamp      `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*UserLogsResponse_Item) Descriptor deprecated

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

Deprecated: Use UserLogsResponse_Item.ProtoReflect.Descriptor instead.

func (*UserLogsResponse_Item) GetCreatedAt

func (x *UserLogsResponse_Item) GetCreatedAt() *timestamppb.Timestamp

func (*UserLogsResponse_Item) GetId

func (x *UserLogsResponse_Item) GetId() uint64

func (*UserLogsResponse_Item) GetIp

func (x *UserLogsResponse_Item) GetIp() string

func (*UserLogsResponse_Item) GetLevel

func (*UserLogsResponse_Item) GetMessage

func (x *UserLogsResponse_Item) GetMessage() string

func (*UserLogsResponse_Item) GetPlugin

func (x *UserLogsResponse_Item) GetPlugin() string

func (*UserLogsResponse_Item) GetResourceId

func (x *UserLogsResponse_Item) GetResourceId() uint64

func (*UserLogsResponse_Item) GetResourceType

func (x *UserLogsResponse_Item) GetResourceType() string

func (*UserLogsResponse_Item) ProtoMessage

func (*UserLogsResponse_Item) ProtoMessage()

func (*UserLogsResponse_Item) ProtoReflect

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

func (*UserLogsResponse_Item) Reset

func (x *UserLogsResponse_Item) Reset()

func (*UserLogsResponse_Item) String

func (x *UserLogsResponse_Item) String() string

type UserLogsResponse_Item_Level

type UserLogsResponse_Item_Level int32
const (
	UserLogsResponse_Item_Debug UserLogsResponse_Item_Level = 0
	UserLogsResponse_Item_Info  UserLogsResponse_Item_Level = 1
	UserLogsResponse_Item_Warn  UserLogsResponse_Item_Level = 2
	UserLogsResponse_Item_Error UserLogsResponse_Item_Level = 3
)

func (UserLogsResponse_Item_Level) Descriptor

func (UserLogsResponse_Item_Level) Enum

func (UserLogsResponse_Item_Level) EnumDescriptor deprecated

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

Deprecated: Use UserLogsResponse_Item_Level.Descriptor instead.

func (UserLogsResponse_Item_Level) Number

func (UserLogsResponse_Item_Level) String

func (UserLogsResponse_Item_Level) Type

type UserResetPasswordRequest

type UserResetPasswordRequest struct {
	Token    string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Home     string `protobuf:"bytes,9,opt,name=home,proto3" json:"home,omitempty"`
	// contains filtered or unexported fields
}

func (*UserResetPasswordRequest) Descriptor deprecated

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

Deprecated: Use UserResetPasswordRequest.ProtoReflect.Descriptor instead.

func (*UserResetPasswordRequest) GetHome

func (x *UserResetPasswordRequest) GetHome() string

func (*UserResetPasswordRequest) GetPassword

func (x *UserResetPasswordRequest) GetPassword() string

func (*UserResetPasswordRequest) GetToken

func (x *UserResetPasswordRequest) GetToken() string

func (*UserResetPasswordRequest) ProtoMessage

func (*UserResetPasswordRequest) ProtoMessage()

func (*UserResetPasswordRequest) ProtoReflect

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

func (*UserResetPasswordRequest) Reset

func (x *UserResetPasswordRequest) Reset()

func (*UserResetPasswordRequest) String

func (x *UserResetPasswordRequest) String() string

type UserServer

UserServer is the server API for User service. All implementations must embed UnimplementedUserServer for forward compatibility

----------------------------------------------------------------------------

type UserSignInByEmailRequest

type UserSignInByEmailRequest struct {

	// Types that are assignable to User:
	//
	//	*UserSignInByEmailRequest_Email
	//	*UserSignInByEmailRequest_Nickname
	User     isUserSignInByEmailRequest_User `protobuf_oneof:"user"`
	Password string                          `protobuf:"bytes,8,opt,name=password,proto3" json:"password,omitempty"`
	Ttl      *durationpb.Duration            `protobuf:"bytes,9,opt,name=ttl,proto3" json:"ttl,omitempty"`
	// contains filtered or unexported fields
}

func (*UserSignInByEmailRequest) Descriptor deprecated

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

Deprecated: Use UserSignInByEmailRequest.ProtoReflect.Descriptor instead.

func (*UserSignInByEmailRequest) GetEmail

func (x *UserSignInByEmailRequest) GetEmail() string

func (*UserSignInByEmailRequest) GetNickname

func (x *UserSignInByEmailRequest) GetNickname() string

func (*UserSignInByEmailRequest) GetPassword

func (x *UserSignInByEmailRequest) GetPassword() string

func (*UserSignInByEmailRequest) GetTtl

func (*UserSignInByEmailRequest) GetUser

func (m *UserSignInByEmailRequest) GetUser() isUserSignInByEmailRequest_User

func (*UserSignInByEmailRequest) ProtoMessage

func (*UserSignInByEmailRequest) ProtoMessage()

func (*UserSignInByEmailRequest) ProtoReflect

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

func (*UserSignInByEmailRequest) Reset

func (x *UserSignInByEmailRequest) Reset()

func (*UserSignInByEmailRequest) String

func (x *UserSignInByEmailRequest) String() string

type UserSignInByEmailRequest_Email

type UserSignInByEmailRequest_Email struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3,oneof"`
}

type UserSignInByEmailRequest_Nickname

type UserSignInByEmailRequest_Nickname struct {
	Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3,oneof"`
}

type UserSignInResponse

type UserSignInResponse struct {
	Token           string                           `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Detail          *UserSignInResponse_Detail       `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"`
	Roles           []string                         `protobuf:"bytes,11,rep,name=roles,proto3" json:"roles,omitempty"`
	Permissions     []*UserSignInResponse_Permission `protobuf:"bytes,12,rep,name=permissions,proto3" json:"permissions,omitempty"`
	Menus           []*UserSignInResponse_Menu       `protobuf:"bytes,13,rep,name=menus,proto3" json:"menus,omitempty"`
	IsAdministrator bool                             `protobuf:"varint,98,opt,name=is_administrator,json=isAdministrator,proto3" json:"is_administrator,omitempty"`
	IsRoot          bool                             `protobuf:"varint,99,opt,name=is_root,json=isRoot,proto3" json:"is_root,omitempty"`
	// contains filtered or unexported fields
}

func (*UserSignInResponse) Descriptor deprecated

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

Deprecated: Use UserSignInResponse.ProtoReflect.Descriptor instead.

func (*UserSignInResponse) GetDetail

func (*UserSignInResponse) GetIsAdministrator

func (x *UserSignInResponse) GetIsAdministrator() bool

func (*UserSignInResponse) GetIsRoot

func (x *UserSignInResponse) GetIsRoot() bool

func (*UserSignInResponse) GetMenus

func (*UserSignInResponse) GetPermissions

func (x *UserSignInResponse) GetPermissions() []*UserSignInResponse_Permission

func (*UserSignInResponse) GetRoles

func (x *UserSignInResponse) GetRoles() []string

func (*UserSignInResponse) GetToken

func (x *UserSignInResponse) GetToken() string

func (*UserSignInResponse) ProtoMessage

func (*UserSignInResponse) ProtoMessage()

func (*UserSignInResponse) ProtoReflect

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

func (*UserSignInResponse) Reset

func (x *UserSignInResponse) Reset()

func (*UserSignInResponse) String

func (x *UserSignInResponse) String() string

type UserSignInResponse_Detail

type UserSignInResponse_Detail struct {
	Name                 *string                                `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Avatar               *string                                `protobuf:"bytes,2,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
	Lang                 string                                 `protobuf:"bytes,3,opt,name=lang,proto3" json:"lang,omitempty"`
	Timezone             string                                 `protobuf:"bytes,4,opt,name=timezone,proto3" json:"timezone,omitempty"`
	ProviderType         UserSignInResponse_Detail_ProviderType `` /* 157-byte string literal not displayed */
	HasEmail             bool                                   `protobuf:"varint,11,opt,name=has_email,json=hasEmail,proto3" json:"has_email,omitempty"`
	HasPhone             bool                                   `protobuf:"varint,12,opt,name=has_phone,json=hasPhone,proto3" json:"has_phone,omitempty"`
	HasGoogleOauth2      bool                                   `protobuf:"varint,21,opt,name=has_google_oauth2,json=hasGoogleOauth2,proto3" json:"has_google_oauth2,omitempty"`
	HasWechatOauth2      bool                                   `protobuf:"varint,22,opt,name=has_wechat_oauth2,json=hasWechatOauth2,proto3" json:"has_wechat_oauth2,omitempty"`
	HasWechatMiniProgram bool                                   `` /* 127-byte string literal not displayed */
	HasFacebookOauth2    bool                                   `protobuf:"varint,24,opt,name=has_facebook_oauth2,json=hasFacebookOauth2,proto3" json:"has_facebook_oauth2,omitempty"`
	// contains filtered or unexported fields
}

func (*UserSignInResponse_Detail) Descriptor deprecated

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

Deprecated: Use UserSignInResponse_Detail.ProtoReflect.Descriptor instead.

func (*UserSignInResponse_Detail) GetAvatar

func (x *UserSignInResponse_Detail) GetAvatar() string

func (*UserSignInResponse_Detail) GetHasEmail

func (x *UserSignInResponse_Detail) GetHasEmail() bool

func (*UserSignInResponse_Detail) GetHasFacebookOauth2

func (x *UserSignInResponse_Detail) GetHasFacebookOauth2() bool

func (*UserSignInResponse_Detail) GetHasGoogleOauth2

func (x *UserSignInResponse_Detail) GetHasGoogleOauth2() bool

func (*UserSignInResponse_Detail) GetHasPhone

func (x *UserSignInResponse_Detail) GetHasPhone() bool

func (*UserSignInResponse_Detail) GetHasWechatMiniProgram

func (x *UserSignInResponse_Detail) GetHasWechatMiniProgram() bool

func (*UserSignInResponse_Detail) GetHasWechatOauth2

func (x *UserSignInResponse_Detail) GetHasWechatOauth2() bool

func (*UserSignInResponse_Detail) GetLang

func (x *UserSignInResponse_Detail) GetLang() string

func (*UserSignInResponse_Detail) GetName

func (x *UserSignInResponse_Detail) GetName() string

func (*UserSignInResponse_Detail) GetProviderType

func (*UserSignInResponse_Detail) GetTimezone

func (x *UserSignInResponse_Detail) GetTimezone() string

func (*UserSignInResponse_Detail) ProtoMessage

func (*UserSignInResponse_Detail) ProtoMessage()

func (*UserSignInResponse_Detail) ProtoReflect

func (*UserSignInResponse_Detail) Reset

func (x *UserSignInResponse_Detail) Reset()

func (*UserSignInResponse_Detail) String

func (x *UserSignInResponse_Detail) String() string

type UserSignInResponse_Detail_ProviderType

type UserSignInResponse_Detail_ProviderType int32
const (
	UserSignInResponse_Detail_Email             UserSignInResponse_Detail_ProviderType = 0
	UserSignInResponse_Detail_Phone             UserSignInResponse_Detail_ProviderType = 1
	UserSignInResponse_Detail_GoogleOauth2      UserSignInResponse_Detail_ProviderType = 11
	UserSignInResponse_Detail_WechatOauth2      UserSignInResponse_Detail_ProviderType = 12
	UserSignInResponse_Detail_WechatMiniProgram UserSignInResponse_Detail_ProviderType = 13
	UserSignInResponse_Detail_FacebookOauth2    UserSignInResponse_Detail_ProviderType = 14
)

func (UserSignInResponse_Detail_ProviderType) Descriptor

func (UserSignInResponse_Detail_ProviderType) Enum

func (UserSignInResponse_Detail_ProviderType) EnumDescriptor deprecated

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

Deprecated: Use UserSignInResponse_Detail_ProviderType.Descriptor instead.

func (UserSignInResponse_Detail_ProviderType) Number

func (UserSignInResponse_Detail_ProviderType) String

func (UserSignInResponse_Detail_ProviderType) Type

type UserSignInResponse_Menu

type UserSignInResponse_Menu struct {
	Label string                     `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	To    string                     `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	Icon  *string                    `protobuf:"bytes,3,opt,name=icon,proto3,oneof" json:"icon,omitempty"`
	Menus []*UserSignInResponse_Menu `protobuf:"bytes,9,rep,name=menus,proto3" json:"menus,omitempty"`
	// contains filtered or unexported fields
}

func (*UserSignInResponse_Menu) Descriptor deprecated

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

Deprecated: Use UserSignInResponse_Menu.ProtoReflect.Descriptor instead.

func (*UserSignInResponse_Menu) GetIcon

func (x *UserSignInResponse_Menu) GetIcon() string

func (*UserSignInResponse_Menu) GetLabel

func (x *UserSignInResponse_Menu) GetLabel() string

func (*UserSignInResponse_Menu) GetMenus

func (*UserSignInResponse_Menu) GetTo

func (x *UserSignInResponse_Menu) GetTo() string

func (*UserSignInResponse_Menu) ProtoMessage

func (*UserSignInResponse_Menu) ProtoMessage()

func (*UserSignInResponse_Menu) ProtoReflect

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

func (*UserSignInResponse_Menu) Reset

func (x *UserSignInResponse_Menu) Reset()

func (*UserSignInResponse_Menu) String

func (x *UserSignInResponse_Menu) String() string

type UserSignInResponse_Permission

type UserSignInResponse_Permission struct {
	Operation    string  `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	ResourceType string  `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	ResourceId   *uint64 `protobuf:"varint,3,opt,name=resource_id,json=resourceId,proto3,oneof" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UserSignInResponse_Permission) Descriptor deprecated

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

Deprecated: Use UserSignInResponse_Permission.ProtoReflect.Descriptor instead.

func (*UserSignInResponse_Permission) GetOperation

func (x *UserSignInResponse_Permission) GetOperation() string

func (*UserSignInResponse_Permission) GetResourceId

func (x *UserSignInResponse_Permission) GetResourceId() uint64

func (*UserSignInResponse_Permission) GetResourceType

func (x *UserSignInResponse_Permission) GetResourceType() string

func (*UserSignInResponse_Permission) ProtoMessage

func (*UserSignInResponse_Permission) ProtoMessage()

func (*UserSignInResponse_Permission) ProtoReflect

func (*UserSignInResponse_Permission) Reset

func (x *UserSignInResponse_Permission) Reset()

func (*UserSignInResponse_Permission) String

type UserSignOutRequest

type UserSignOutRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

func (*UserSignOutRequest) Descriptor deprecated

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

Deprecated: Use UserSignOutRequest.ProtoReflect.Descriptor instead.

func (*UserSignOutRequest) GetId

func (x *UserSignOutRequest) GetId() uint64

func (*UserSignOutRequest) GetIp

func (x *UserSignOutRequest) GetIp() string

func (*UserSignOutRequest) ProtoMessage

func (*UserSignOutRequest) ProtoMessage()

func (*UserSignOutRequest) ProtoReflect

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

func (*UserSignOutRequest) Reset

func (x *UserSignOutRequest) Reset()

func (*UserSignOutRequest) String

func (x *UserSignOutRequest) String() string

type UserSignUpByEmailRequest

type UserSignUpByEmailRequest struct {
	RealName string               `protobuf:"bytes,1,opt,name=real_name,json=realName,proto3" json:"real_name,omitempty"`
	Email    string               `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	Nickname string               `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Password string               `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	Timezone string               `protobuf:"bytes,5,opt,name=timezone,proto3" json:"timezone,omitempty"`
	Home     string               `protobuf:"bytes,6,opt,name=home,proto3" json:"home,omitempty"`
	Ttl      *durationpb.Duration `protobuf:"bytes,9,opt,name=ttl,proto3" json:"ttl,omitempty"`
	// contains filtered or unexported fields
}

func (*UserSignUpByEmailRequest) Descriptor deprecated

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

Deprecated: Use UserSignUpByEmailRequest.ProtoReflect.Descriptor instead.

func (*UserSignUpByEmailRequest) GetEmail

func (x *UserSignUpByEmailRequest) GetEmail() string

func (*UserSignUpByEmailRequest) GetHome

func (x *UserSignUpByEmailRequest) GetHome() string

func (*UserSignUpByEmailRequest) GetNickname

func (x *UserSignUpByEmailRequest) GetNickname() string

func (*UserSignUpByEmailRequest) GetPassword

func (x *UserSignUpByEmailRequest) GetPassword() string

func (*UserSignUpByEmailRequest) GetRealName

func (x *UserSignUpByEmailRequest) GetRealName() string

func (*UserSignUpByEmailRequest) GetTimezone

func (x *UserSignUpByEmailRequest) GetTimezone() string

func (*UserSignUpByEmailRequest) GetTtl

func (*UserSignUpByEmailRequest) ProtoMessage

func (*UserSignUpByEmailRequest) ProtoMessage()

func (*UserSignUpByEmailRequest) ProtoReflect

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

func (*UserSignUpByEmailRequest) Reset

func (x *UserSignUpByEmailRequest) Reset()

func (*UserSignUpByEmailRequest) String

func (x *UserSignUpByEmailRequest) String() string

type UserUpdateProfileRequest

type UserUpdateProfileRequest struct {
	Id       uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Lang     string `protobuf:"bytes,2,opt,name=lang,proto3" json:"lang,omitempty"`
	Timezone string `protobuf:"bytes,3,opt,name=timezone,proto3" json:"timezone,omitempty"`
	// contains filtered or unexported fields
}

func (*UserUpdateProfileRequest) Descriptor deprecated

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

Deprecated: Use UserUpdateProfileRequest.ProtoReflect.Descriptor instead.

func (*UserUpdateProfileRequest) GetId

func (x *UserUpdateProfileRequest) GetId() uint64

func (*UserUpdateProfileRequest) GetLang

func (x *UserUpdateProfileRequest) GetLang() string

func (*UserUpdateProfileRequest) GetTimezone

func (x *UserUpdateProfileRequest) GetTimezone() string

func (*UserUpdateProfileRequest) ProtoMessage

func (*UserUpdateProfileRequest) ProtoMessage()

func (*UserUpdateProfileRequest) ProtoReflect

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

func (*UserUpdateProfileRequest) Reset

func (x *UserUpdateProfileRequest) Reset()

func (*UserUpdateProfileRequest) String

func (x *UserUpdateProfileRequest) String() string

type WechatByAppIdAndOpenIdRequest

type WechatByAppIdAndOpenIdRequest struct {
	AppId  string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	OpenId string `protobuf:"bytes,2,opt,name=open_id,json=openId,proto3" json:"open_id,omitempty"`
	// contains filtered or unexported fields
}

func (*WechatByAppIdAndOpenIdRequest) Descriptor deprecated

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

Deprecated: Use WechatByAppIdAndOpenIdRequest.ProtoReflect.Descriptor instead.

func (*WechatByAppIdAndOpenIdRequest) GetAppId

func (x *WechatByAppIdAndOpenIdRequest) GetAppId() string

func (*WechatByAppIdAndOpenIdRequest) GetOpenId

func (x *WechatByAppIdAndOpenIdRequest) GetOpenId() string

func (*WechatByAppIdAndOpenIdRequest) ProtoMessage

func (*WechatByAppIdAndOpenIdRequest) ProtoMessage()

func (*WechatByAppIdAndOpenIdRequest) ProtoReflect

func (*WechatByAppIdAndOpenIdRequest) Reset

func (x *WechatByAppIdAndOpenIdRequest) Reset()

func (*WechatByAppIdAndOpenIdRequest) String

type WechatByUnionIdRequest

type WechatByUnionIdRequest struct {
	UnionId string `protobuf:"bytes,1,opt,name=union_id,json=unionId,proto3" json:"union_id,omitempty"`
	// contains filtered or unexported fields
}

func (*WechatByUnionIdRequest) Descriptor deprecated

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

Deprecated: Use WechatByUnionIdRequest.ProtoReflect.Descriptor instead.

func (*WechatByUnionIdRequest) GetUnionId

func (x *WechatByUnionIdRequest) GetUnionId() string

func (*WechatByUnionIdRequest) ProtoMessage

func (*WechatByUnionIdRequest) ProtoMessage()

func (*WechatByUnionIdRequest) ProtoReflect

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

func (*WechatByUnionIdRequest) Reset

func (x *WechatByUnionIdRequest) Reset()

func (*WechatByUnionIdRequest) String

func (x *WechatByUnionIdRequest) String() string

type WechatMiniProgramUserClient

WechatMiniProgramUserClient is the client API for WechatMiniProgramUser service.

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

----------------------------------------------------------------------------

type WechatMiniProgramUserIndexResponse

type WechatMiniProgramUserIndexResponse struct {
	Items      []*WechatMiniProgramUserIndexResponse_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Pagination *Pagination                                `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*WechatMiniProgramUserIndexResponse) Descriptor deprecated

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

Deprecated: Use WechatMiniProgramUserIndexResponse.ProtoReflect.Descriptor instead.

func (*WechatMiniProgramUserIndexResponse) GetItems

func (*WechatMiniProgramUserIndexResponse) GetPagination

func (x *WechatMiniProgramUserIndexResponse) GetPagination() *Pagination

func (*WechatMiniProgramUserIndexResponse) ProtoMessage

func (*WechatMiniProgramUserIndexResponse) ProtoMessage()

func (*WechatMiniProgramUserIndexResponse) ProtoReflect

func (*WechatMiniProgramUserIndexResponse) Reset

func (*WechatMiniProgramUserIndexResponse) String

type WechatMiniProgramUserIndexResponse_Item

type WechatMiniProgramUserIndexResponse_Item struct {
	Id        uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId    uint64                 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UnionId   string                 `protobuf:"bytes,3,opt,name=union_id,json=unionId,proto3" json:"union_id,omitempty"`
	AppId     string                 `protobuf:"bytes,4,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	OpenId    string                 `protobuf:"bytes,5,opt,name=open_id,json=openId,proto3" json:"open_id,omitempty"`
	Nickname  *string                `protobuf:"bytes,6,opt,name=nickname,proto3,oneof" json:"nickname,omitempty"`
	AvatarUrl *string                `protobuf:"bytes,7,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
	DeletedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deleted_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*WechatMiniProgramUserIndexResponse_Item) Descriptor deprecated

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

Deprecated: Use WechatMiniProgramUserIndexResponse_Item.ProtoReflect.Descriptor instead.

func (*WechatMiniProgramUserIndexResponse_Item) GetAppId

func (*WechatMiniProgramUserIndexResponse_Item) GetAvatarUrl

func (*WechatMiniProgramUserIndexResponse_Item) GetDeletedAt

func (*WechatMiniProgramUserIndexResponse_Item) GetId

func (*WechatMiniProgramUserIndexResponse_Item) GetNickname

func (*WechatMiniProgramUserIndexResponse_Item) GetOpenId

func (*WechatMiniProgramUserIndexResponse_Item) GetUnionId

func (*WechatMiniProgramUserIndexResponse_Item) GetUpdatedAt

func (*WechatMiniProgramUserIndexResponse_Item) GetUserId

func (*WechatMiniProgramUserIndexResponse_Item) ProtoMessage

func (*WechatMiniProgramUserIndexResponse_Item) ProtoReflect

func (*WechatMiniProgramUserIndexResponse_Item) Reset

func (*WechatMiniProgramUserIndexResponse_Item) String

type WechatMiniProgramUserServer

WechatMiniProgramUserServer is the server API for WechatMiniProgramUser service. All implementations must embed UnimplementedWechatMiniProgramUserServer for forward compatibility

----------------------------------------------------------------------------

type WechatOauth2UserClient

WechatOauth2UserClient is the client API for WechatOauth2User service.

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

----------------------------------------------------------------------------

type WechatOauth2UserIndexResponse

type WechatOauth2UserIndexResponse struct {
	Items      []*WechatOauth2UserIndexResponse_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Pagination *Pagination                           `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*WechatOauth2UserIndexResponse) Descriptor deprecated

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

Deprecated: Use WechatOauth2UserIndexResponse.ProtoReflect.Descriptor instead.

func (*WechatOauth2UserIndexResponse) GetItems

func (*WechatOauth2UserIndexResponse) GetPagination

func (x *WechatOauth2UserIndexResponse) GetPagination() *Pagination

func (*WechatOauth2UserIndexResponse) ProtoMessage

func (*WechatOauth2UserIndexResponse) ProtoMessage()

func (*WechatOauth2UserIndexResponse) ProtoReflect

func (*WechatOauth2UserIndexResponse) Reset

func (x *WechatOauth2UserIndexResponse) Reset()

func (*WechatOauth2UserIndexResponse) String

type WechatOauth2UserIndexResponse_Item

type WechatOauth2UserIndexResponse_Item struct {
	Id         uint64                                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId     uint64                                  `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UnionId    string                                  `protobuf:"bytes,3,opt,name=union_id,json=unionId,proto3" json:"union_id,omitempty"`
	AppId      string                                  `protobuf:"bytes,4,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	OpenId     string                                  `protobuf:"bytes,5,opt,name=open_id,json=openId,proto3" json:"open_id,omitempty"`
	Nickname   string                                  `protobuf:"bytes,6,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Sex        WechatOauth2UserIndexResponse_Item_Sex  `protobuf:"varint,7,opt,name=sex,proto3,enum=palm.balsam.v1.WechatOauth2UserIndexResponse_Item_Sex" json:"sex,omitempty"`
	City       string                                  `protobuf:"bytes,8,opt,name=city,proto3" json:"city,omitempty"`
	Province   string                                  `protobuf:"bytes,9,opt,name=province,proto3" json:"province,omitempty"`
	Country    string                                  `protobuf:"bytes,10,opt,name=country,proto3" json:"country,omitempty"`
	HeadImgUrl *string                                 `protobuf:"bytes,11,opt,name=head_img_url,json=headImgUrl,proto3,oneof" json:"head_img_url,omitempty"`
	Privilege  []string                                `protobuf:"bytes,12,rep,name=privilege,proto3" json:"privilege,omitempty"`
	Lang       WechatOauth2UserIndexResponse_Item_Lang `protobuf:"varint,13,opt,name=lang,proto3,enum=palm.balsam.v1.WechatOauth2UserIndexResponse_Item_Lang" json:"lang,omitempty"`
	DeletedAt  *timestamppb.Timestamp                  `protobuf:"bytes,18,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deleted_at,omitempty"`
	UpdatedAt  *timestamppb.Timestamp                  `protobuf:"bytes,19,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*WechatOauth2UserIndexResponse_Item) Descriptor deprecated

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

Deprecated: Use WechatOauth2UserIndexResponse_Item.ProtoReflect.Descriptor instead.

func (*WechatOauth2UserIndexResponse_Item) GetAppId

func (*WechatOauth2UserIndexResponse_Item) GetCity

func (*WechatOauth2UserIndexResponse_Item) GetCountry

func (*WechatOauth2UserIndexResponse_Item) GetDeletedAt

func (*WechatOauth2UserIndexResponse_Item) GetHeadImgUrl

func (x *WechatOauth2UserIndexResponse_Item) GetHeadImgUrl() string

func (*WechatOauth2UserIndexResponse_Item) GetId

func (*WechatOauth2UserIndexResponse_Item) GetLang

func (*WechatOauth2UserIndexResponse_Item) GetNickname

func (x *WechatOauth2UserIndexResponse_Item) GetNickname() string

func (*WechatOauth2UserIndexResponse_Item) GetOpenId

func (*WechatOauth2UserIndexResponse_Item) GetPrivilege

func (x *WechatOauth2UserIndexResponse_Item) GetPrivilege() []string

func (*WechatOauth2UserIndexResponse_Item) GetProvince

func (x *WechatOauth2UserIndexResponse_Item) GetProvince() string

func (*WechatOauth2UserIndexResponse_Item) GetSex

func (*WechatOauth2UserIndexResponse_Item) GetUnionId

func (*WechatOauth2UserIndexResponse_Item) GetUpdatedAt

func (*WechatOauth2UserIndexResponse_Item) GetUserId

func (*WechatOauth2UserIndexResponse_Item) ProtoMessage

func (*WechatOauth2UserIndexResponse_Item) ProtoMessage()

func (*WechatOauth2UserIndexResponse_Item) ProtoReflect

func (*WechatOauth2UserIndexResponse_Item) Reset

func (*WechatOauth2UserIndexResponse_Item) String

type WechatOauth2UserIndexResponse_Item_Lang

type WechatOauth2UserIndexResponse_Item_Lang int32
const (
	WechatOauth2UserIndexResponse_Item_Cn WechatOauth2UserIndexResponse_Item_Lang = 0
	WechatOauth2UserIndexResponse_Item_En WechatOauth2UserIndexResponse_Item_Lang = 1
)

func (WechatOauth2UserIndexResponse_Item_Lang) Descriptor

func (WechatOauth2UserIndexResponse_Item_Lang) Enum

func (WechatOauth2UserIndexResponse_Item_Lang) EnumDescriptor deprecated

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

Deprecated: Use WechatOauth2UserIndexResponse_Item_Lang.Descriptor instead.

func (WechatOauth2UserIndexResponse_Item_Lang) Number

func (WechatOauth2UserIndexResponse_Item_Lang) String

func (*WechatOauth2UserIndexResponse_Item_Lang) ToString

func (WechatOauth2UserIndexResponse_Item_Lang) Type

type WechatOauth2UserIndexResponse_Item_Sex

type WechatOauth2UserIndexResponse_Item_Sex int32
const (
	WechatOauth2UserIndexResponse_Item_Male   WechatOauth2UserIndexResponse_Item_Sex = 0
	WechatOauth2UserIndexResponse_Item_Female WechatOauth2UserIndexResponse_Item_Sex = 1
)

func (WechatOauth2UserIndexResponse_Item_Sex) Descriptor

func (WechatOauth2UserIndexResponse_Item_Sex) Enum

func (WechatOauth2UserIndexResponse_Item_Sex) EnumDescriptor deprecated

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

Deprecated: Use WechatOauth2UserIndexResponse_Item_Sex.Descriptor instead.

func (WechatOauth2UserIndexResponse_Item_Sex) Number

func (WechatOauth2UserIndexResponse_Item_Sex) String

func (WechatOauth2UserIndexResponse_Item_Sex) Type

type WechatOauth2UserServer

WechatOauth2UserServer is the server API for WechatOauth2User service. All implementations must embed UnimplementedWechatOauth2UserServer for forward compatibility

----------------------------------------------------------------------------

Jump to

Keyboard shortcuts

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