goautowp

package module
v1.83.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: MIT Imports: 79 Imported by: 0

README

Go Report Card Build Status Quality Gate Status

Documentation

Index

Constants

View Source
const (
	TopicStatusNormal  = "normal"
	TopicStatusClosed  = "closed"
	TopicStatusDeleted = "deleted"
)
View Source
const ArticlesPreviewBaseURL = "/img/articles/preview/"
View Source
const MaxReplies = 500
View Source
const MaxTopicNameLength = 100
View Source
const RUB = "643"

Variables

View Source
var (
	PictureItemType_name = map[int32]string{
		0: "PICTURE_UNKNOWN",
		1: "PICTURE_CONTENT",
		2: "PICTURE_AUTHOR",
		3: "PICTURE_COPYRIGHTS",
	}
	PictureItemType_value = map[string]int32{
		"PICTURE_UNKNOWN":    0,
		"PICTURE_CONTENT":    1,
		"PICTURE_AUTHOR":     2,
		"PICTURE_COPYRIGHTS": 3,
	}
)

Enum value maps for PictureItemType.

View Source
var (
	ItemType_name = map[int32]string{
		0: "ITEM_TYPE_UNKNOWN",
		1: "ITEM_TYPE_VEHICLE",
		2: "ITEM_TYPE_ENGINE",
		3: "ITEM_TYPE_CATEGORY",
		4: "ITEM_TYPE_TWINS",
		5: "ITEM_TYPE_BRAND",
		6: "ITEM_TYPE_FACTORY",
		7: "ITEM_TYPE_MUSEUM",
		8: "ITEM_TYPE_PERSON",
		9: "ITEM_TYPE_COPYRIGHT",
	}
	ItemType_value = map[string]int32{
		"ITEM_TYPE_UNKNOWN":   0,
		"ITEM_TYPE_VEHICLE":   1,
		"ITEM_TYPE_ENGINE":    2,
		"ITEM_TYPE_CATEGORY":  3,
		"ITEM_TYPE_TWINS":     4,
		"ITEM_TYPE_BRAND":     5,
		"ITEM_TYPE_FACTORY":   6,
		"ITEM_TYPE_MUSEUM":    7,
		"ITEM_TYPE_PERSON":    8,
		"ITEM_TYPE_COPYRIGHT": 9,
	}
)

Enum value maps for ItemType.

View Source
var (
	PictureStatus_name = map[int32]string{
		0: "PICTURE_STATUS_UNKNOWN",
		1: "PICTURE_STATUS_ACCEPTED",
		2: "PICTURE_STATUS_REMOVING",
		3: "PICTURE_STATUS_REMOVED",
		4: "PICTURE_STATUS_INBOX",
	}
	PictureStatus_value = map[string]int32{
		"PICTURE_STATUS_UNKNOWN":  0,
		"PICTURE_STATUS_ACCEPTED": 1,
		"PICTURE_STATUS_REMOVING": 2,
		"PICTURE_STATUS_REMOVED":  3,
		"PICTURE_STATUS_INBOX":    4,
	}
)

Enum value maps for PictureStatus.

View Source
var (
	ItemPictureType_name = map[int32]string{
		0: "ITEM_PICTURE_UNKNOWN",
		1: "ITEM_PICTURE_CONTENT",
		2: "ITEM_PICTURE_AUTHOR",
		3: "ITEM_PICTURE_COPYRIGHTS",
	}
	ItemPictureType_value = map[string]int32{
		"ITEM_PICTURE_UNKNOWN":    0,
		"ITEM_PICTURE_CONTENT":    1,
		"ITEM_PICTURE_AUTHOR":     2,
		"ITEM_PICTURE_COPYRIGHTS": 3,
	}
)

Enum value maps for ItemPictureType.

View Source
var (
	CommentsType_name = map[int32]string{
		0: "UNKNOWN",
		1: "PICTURES_TYPE_ID",
		2: "ITEM_TYPE_ID",
		3: "VOTINGS_TYPE_ID",
		4: "ARTICLES_TYPE_ID",
		5: "FORUMS_TYPE_ID",
	}
	CommentsType_value = map[string]int32{
		"UNKNOWN":          0,
		"PICTURES_TYPE_ID": 1,
		"ITEM_TYPE_ID":     2,
		"VOTINGS_TYPE_ID":  3,
		"ARTICLES_TYPE_ID": 4,
		"FORUMS_TYPE_ID":   5,
	}
)

Enum value maps for CommentsType.

View Source
var (
	ModeratorAttention_name = map[int32]string{
		0: "NONE",
		1: "REQUIRED",
		2: "COMPLETE",
	}
	ModeratorAttention_value = map[string]int32{
		"NONE":     0,
		"REQUIRED": 1,
		"COMPLETE": 2,
	}
)

Enum value maps for ModeratorAttention.

View Source
var (
	AttrAttributeType_ID_name = map[int32]string{
		0: "UNKNOWN",
		1: "STRING",
		2: "INTEGER",
		3: "FLOAT",
		4: "TEXT",
		5: "BOOLEAN",
		6: "LIST",
		7: "TREE",
	}
	AttrAttributeType_ID_value = map[string]int32{
		"UNKNOWN": 0,
		"STRING":  1,
		"INTEGER": 2,
		"FLOAT":   3,
		"TEXT":    4,
		"BOOLEAN": 5,
		"LIST":    6,
		"TREE":    7,
	}
)

Enum value maps for AttrAttributeType_ID.

View Source
var (
	PulseRequest_Period_name = map[int32]string{
		0: "DEFAULT",
		1: "YEAR",
		2: "MONTH",
	}
	PulseRequest_Period_value = map[string]int32{
		"DEFAULT": 0,
		"YEAR":    1,
		"MONTH":   2,
	}
)

Enum value maps for PulseRequest_Period.

View Source
var (
	CommentVote_VoteValue_name = map[int32]string{
		0:  "UNKNOWN",
		-1: "POSITIVE",
		1:  "NEGATIVE",
	}
	CommentVote_VoteValue_value = map[string]int32{
		"UNKNOWN":  0,
		"POSITIVE": -1,
		"NEGATIVE": 1,
	}
)

Enum value maps for CommentVote_VoteValue.

View Source
var (
	ListItemsRequest_Order_name = map[int32]string{
		0: "DEFAULT",
		1: "NAME_NAT",
		2: "NAME",
	}
	ListItemsRequest_Order_value = map[string]int32{
		"DEFAULT":  0,
		"NAME_NAT": 1,
		"NAME":     2,
	}
)

Enum value maps for ListItemsRequest_Order.

View Source
var (
	GetMessagesRequest_Order_name = map[int32]string{
		0: "DEFAULT",
		1: "VOTE_DESC",
		2: "VOTE_ASC",
		3: "DATE_DESC",
		4: "DATE_ASC",
	}
	GetMessagesRequest_Order_value = map[string]int32{
		"DEFAULT":   0,
		"VOTE_DESC": 1,
		"VOTE_ASC":  2,
		"DATE_DESC": 3,
		"DATE_ASC":  4,
	}
)

Enum value maps for GetMessagesRequest_Order.

View Source
var Articles_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "goautowp.Articles",
	HandlerType: (*ArticlesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetList",
			Handler:    _Articles_GetList_Handler,
		},
		{
			MethodName: "GetItemByCatname",
			Handler:    _Articles_GetItemByCatname_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "spec.proto",
}

Articles_ServiceDesc is the grpc.ServiceDesc for Articles 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 Attrs_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "goautowp.Attrs",
	HandlerType: (*AttrsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAttribute",
			Handler:    _Attrs_GetAttribute_Handler,
		},
		{
			MethodName: "GetAttributes",
			Handler:    _Attrs_GetAttributes_Handler,
		},
		{
			MethodName: "GetAttributeTypes",
			Handler:    _Attrs_GetAttributeTypes_Handler,
		},
		{
			MethodName: "GetListOptions",
			Handler:    _Attrs_GetListOptions_Handler,
		},
		{
			MethodName: "GetUnits",
			Handler:    _Attrs_GetUnits_Handler,
		},
		{
			MethodName: "GetZoneAttributes",
			Handler:    _Attrs_GetZoneAttributes_Handler,
		},
		{
			MethodName: "GetZones",
			Handler:    _Attrs_GetZones_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "spec.proto",
}

Attrs_ServiceDesc is the grpc.ServiceDesc for Attrs 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 Autowp_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "goautowp.Autowp",
	HandlerType: (*AutowpServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AclEnforce",
			Handler:    _Autowp_AclEnforce_Handler,
		},
		{
			MethodName: "CreateFeedback",
			Handler:    _Autowp_CreateFeedback_Handler,
		},
		{
			MethodName: "GetBrandIcons",
			Handler:    _Autowp_GetBrandIcons_Handler,
		},
		{
			MethodName: "GetBrandVehicleTypes",
			Handler:    _Autowp_GetBrandVehicleTypes_Handler,
		},
		{
			MethodName: "GetIP",
			Handler:    _Autowp_GetIP_Handler,
		},
		{
			MethodName: "GetPerspectives",
			Handler:    _Autowp_GetPerspectives_Handler,
		},
		{
			MethodName: "GetPerspectivePages",
			Handler:    _Autowp_GetPerspectivePages_Handler,
		},
		{
			MethodName: "GetReCaptchaConfig",
			Handler:    _Autowp_GetReCaptchaConfig_Handler,
		},
		{
			MethodName: "GetSpecs",
			Handler:    _Autowp_GetSpecs_Handler,
		},
		{
			MethodName: "GetVehicleTypes",
			Handler:    _Autowp_GetVehicleTypes_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "spec.proto",
}

Autowp_ServiceDesc is the grpc.ServiceDesc for Autowp 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 Comments_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "goautowp.Comments",
	HandlerType: (*CommentsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetCommentVotes",
			Handler:    _Comments_GetCommentVotes_Handler,
		},
		{
			MethodName: "Subscribe",
			Handler:    _Comments_Subscribe_Handler,
		},
		{
			MethodName: "UnSubscribe",
			Handler:    _Comments_UnSubscribe_Handler,
		},
		{
			MethodName: "View",
			Handler:    _Comments_View_Handler,
		},
		{
			MethodName: "SetDeleted",
			Handler:    _Comments_SetDeleted_Handler,
		},
		{
			MethodName: "MoveComment",
			Handler:    _Comments_MoveComment_Handler,
		},
		{
			MethodName: "VoteComment",
			Handler:    _Comments_VoteComment_Handler,
		},
		{
			MethodName: "Add",
			Handler:    _Comments_Add_Handler,
		},
		{
			MethodName: "GetMessagePage",
			Handler:    _Comments_GetMessagePage_Handler,
		},
		{
			MethodName: "GetMessage",
			Handler:    _Comments_GetMessage_Handler,
		},
		{
			MethodName: "GetMessages",
			Handler:    _Comments_GetMessages_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "spec.proto",
}

Comments_ServiceDesc is the grpc.ServiceDesc for Comments 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 Contacts_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "goautowp.Contacts",
	HandlerType: (*ContactsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateContact",
			Handler:    _Contacts_CreateContact_Handler,
		},
		{
			MethodName: "DeleteContact",
			Handler:    _Contacts_DeleteContact_Handler,
		},
		{
			MethodName: "GetContact",
			Handler:    _Contacts_GetContact_Handler,
		},
		{
			MethodName: "GetContacts",
			Handler:    _Contacts_GetContacts_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "spec.proto",
}

Contacts_ServiceDesc is the grpc.ServiceDesc for Contacts 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 Donations_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "goautowp.Donations",
	HandlerType: (*DonationsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetVODData",
			Handler:    _Donations_GetVODData_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "spec.proto",
}

Donations_ServiceDesc is the grpc.ServiceDesc for Donations 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 ErrUserNotFound = errors.New("user not found")
View Source
var Forums_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "goautowp.Forums",
	HandlerType: (*ForumsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetUserSummary",
			Handler:    _Forums_GetUserSummary_Handler,
		},
		{
			MethodName: "CreateTopic",
			Handler:    _Forums_CreateTopic_Handler,
		},
		{
			MethodName: "CloseTopic",
			Handler:    _Forums_CloseTopic_Handler,
		},
		{
			MethodName: "OpenTopic",
			Handler:    _Forums_OpenTopic_Handler,
		},
		{
			MethodName: "DeleteTopic",
			Handler:    _Forums_DeleteTopic_Handler,
		},
		{
			MethodName: "MoveTopic",
			Handler:    _Forums_MoveTopic_Handler,
		},
		{
			MethodName: "GetTheme",
			Handler:    _Forums_GetTheme_Handler,
		},
		{
			MethodName: "GetThemes",
			Handler:    _Forums_GetThemes_Handler,
		},
		{
			MethodName: "GetTopic",
			Handler:    _Forums_GetTopic_Handler,
		},
		{
			MethodName: "GetLastTopic",
			Handler:    _Forums_GetLastTopic_Handler,
		},
		{
			MethodName: "GetLastMessage",
			Handler:    _Forums_GetLastMessage_Handler,
		},
		{
			MethodName: "GetTopics",
			Handler:    _Forums_GetTopics_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "spec.proto",
}

Forums_ServiceDesc is the grpc.ServiceDesc for Forums 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 Items_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "goautowp.Items",
	HandlerType: (*ItemsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetTopBrandsList",
			Handler:    _Items_GetTopBrandsList_Handler,
		},
		{
			MethodName: "GetTopPersonsList",
			Handler:    _Items_GetTopPersonsList_Handler,
		},
		{
			MethodName: "GetTopFactoriesList",
			Handler:    _Items_GetTopFactoriesList_Handler,
		},
		{
			MethodName: "GetTopCategoriesList",
			Handler:    _Items_GetTopCategoriesList_Handler,
		},
		{
			MethodName: "GetTwinsBrandsList",
			Handler:    _Items_GetTwinsBrandsList_Handler,
		},
		{
			MethodName: "GetTopTwinsBrandsList",
			Handler:    _Items_GetTopTwinsBrandsList_Handler,
		},
		{
			MethodName: "Item",
			Handler:    _Items_Item_Handler,
		},
		{
			MethodName: "List",
			Handler:    _Items_List_Handler,
		},
		{
			MethodName: "GetTree",
			Handler:    _Items_GetTree_Handler,
		},
		{
			MethodName: "GetContentLanguages",
			Handler:    _Items_GetContentLanguages_Handler,
		},
		{
			MethodName: "GetItemLink",
			Handler:    _Items_GetItemLink_Handler,
		},
		{
			MethodName: "GetItemLinks",
			Handler:    _Items_GetItemLinks_Handler,
		},
		{
			MethodName: "DeleteItemLink",
			Handler:    _Items_DeleteItemLink_Handler,
		},
		{
			MethodName: "CreateItemLink",
			Handler:    _Items_CreateItemLink_Handler,
		},
		{
			MethodName: "UpdateItemLink",
			Handler:    _Items_UpdateItemLink_Handler,
		},
		{
			MethodName: "GetItemVehicleTypes",
			Handler:    _Items_GetItemVehicleTypes_Handler,
		},
		{
			MethodName: "GetItemVehicleType",
			Handler:    _Items_GetItemVehicleType_Handler,
		},
		{
			MethodName: "CreateItemVehicleType",
			Handler:    _Items_CreateItemVehicleType_Handler,
		},
		{
			MethodName: "DeleteItemVehicleType",
			Handler:    _Items_DeleteItemVehicleType_Handler,
		},
		{
			MethodName: "GetItemLanguages",
			Handler:    _Items_GetItemLanguages_Handler,
		},
		{
			MethodName: "GetItemParentLanguages",
			Handler:    _Items_GetItemParentLanguages_Handler,
		},
		{
			MethodName: "GetStats",
			Handler:    _Items_GetStats_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "spec.proto",
}

Items_ServiceDesc is the grpc.ServiceDesc for Items 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 Map_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "goautowp.Map",
	HandlerType: (*MapServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetPoints",
			Handler:    _Map_GetPoints_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "spec.proto",
}

Map_ServiceDesc is the grpc.ServiceDesc for Map 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 Messaging_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "goautowp.Messaging",
	HandlerType: (*MessagingServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetMessagesNewCount",
			Handler:    _Messaging_GetMessagesNewCount_Handler,
		},
		{
			MethodName: "GetMessagesSummary",
			Handler:    _Messaging_GetMessagesSummary_Handler,
		},
		{
			MethodName: "DeleteMessage",
			Handler:    _Messaging_DeleteMessage_Handler,
		},
		{
			MethodName: "ClearFolder",
			Handler:    _Messaging_ClearFolder_Handler,
		},
		{
			MethodName: "CreateMessage",
			Handler:    _Messaging_CreateMessage_Handler,
		},
		{
			MethodName: "GetMessages",
			Handler:    _Messaging_GetMessages_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "spec.proto",
}

Messaging_ServiceDesc is the grpc.ServiceDesc for Messaging 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 Pictures_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "goautowp.Pictures",
	HandlerType: (*PicturesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "View",
			Handler:    _Pictures_View_Handler,
		},
		{
			MethodName: "Vote",
			Handler:    _Pictures_Vote_Handler,
		},
		{
			MethodName: "CreateModerVoteTemplate",
			Handler:    _Pictures_CreateModerVoteTemplate_Handler,
		},
		{
			MethodName: "DeleteModerVoteTemplate",
			Handler:    _Pictures_DeleteModerVoteTemplate_Handler,
		},
		{
			MethodName: "GetModerVoteTemplates",
			Handler:    _Pictures_GetModerVoteTemplates_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "spec.proto",
}

Pictures_ServiceDesc is the grpc.ServiceDesc for Pictures 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 Rating_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "goautowp.Rating",
	HandlerType: (*RatingServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetUserPicturesRating",
			Handler:    _Rating_GetUserPicturesRating_Handler,
		},
		{
			MethodName: "GetUserPicturesRatingBrands",
			Handler:    _Rating_GetUserPicturesRatingBrands_Handler,
		},
		{
			MethodName: "GetUserCommentsRating",
			Handler:    _Rating_GetUserCommentsRating_Handler,
		},
		{
			MethodName: "GetUserCommentsRatingFans",
			Handler:    _Rating_GetUserCommentsRatingFans_Handler,
		},
		{
			MethodName: "GetUserPictureLikesRating",
			Handler:    _Rating_GetUserPictureLikesRating_Handler,
		},
		{
			MethodName: "GetUserPictureLikesRatingFans",
			Handler:    _Rating_GetUserPictureLikesRatingFans_Handler,
		},
		{
			MethodName: "GetUserSpecsRating",
			Handler:    _Rating_GetUserSpecsRating_Handler,
		},
		{
			MethodName: "GetUserSpecsRatingBrands",
			Handler:    _Rating_GetUserSpecsRatingBrands_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "spec.proto",
}

Rating_ServiceDesc is the grpc.ServiceDesc for Rating 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 Statistics_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "goautowp.Statistics",
	HandlerType: (*StatisticsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetPulse",
			Handler:    _Statistics_GetPulse_Handler,
		},
		{
			MethodName: "GetAboutData",
			Handler:    _Statistics_GetAboutData_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "spec.proto",
}

Statistics_ServiceDesc is the grpc.ServiceDesc for Statistics 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 Text_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "goautowp.Text",
	HandlerType: (*TextServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetText",
			Handler:    _Text_GetText_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "spec.proto",
}

Text_ServiceDesc is the grpc.ServiceDesc for Text 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 Traffic_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "goautowp.Traffic",
	HandlerType: (*TrafficServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddToBlacklist",
			Handler:    _Traffic_AddToBlacklist_Handler,
		},
		{
			MethodName: "AddToWhitelist",
			Handler:    _Traffic_AddToWhitelist_Handler,
		},
		{
			MethodName: "DeleteFromBlacklist",
			Handler:    _Traffic_DeleteFromBlacklist_Handler,
		},
		{
			MethodName: "DeleteFromWhitelist",
			Handler:    _Traffic_DeleteFromWhitelist_Handler,
		},
		{
			MethodName: "GetTop",
			Handler:    _Traffic_GetTop_Handler,
		},
		{
			MethodName: "GetWhitelist",
			Handler:    _Traffic_GetWhitelist_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "spec.proto",
}

Traffic_ServiceDesc is the grpc.ServiceDesc for Traffic 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 Users_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "goautowp.Users",
	HandlerType: (*UsersServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DeleteUser",
			Handler:    _Users_DeleteUser_Handler,
		},
		{
			MethodName: "GetUser",
			Handler:    _Users_GetUser_Handler,
		},
		{
			MethodName: "Me",
			Handler:    _Users_Me_Handler,
		},
		{
			MethodName: "GetUserPreferences",
			Handler:    _Users_GetUserPreferences_Handler,
		},
		{
			MethodName: "DisableUserCommentsNotifications",
			Handler:    _Users_DisableUserCommentsNotifications_Handler,
		},
		{
			MethodName: "EnableUserCommentsNotifications",
			Handler:    _Users_EnableUserCommentsNotifications_Handler,
		},
		{
			MethodName: "GetUsers",
			Handler:    _Users_GetUsers_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "spec.proto",
}

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

Functions

func RegisterArticlesServer added in v1.7.0

func RegisterArticlesServer(s grpc.ServiceRegistrar, srv ArticlesServer)

func RegisterAttrsServer added in v1.43.0

func RegisterAttrsServer(s grpc.ServiceRegistrar, srv AttrsServer)

func RegisterAutowpServer

func RegisterAutowpServer(s grpc.ServiceRegistrar, srv AutowpServer)

func RegisterCommentsServer

func RegisterCommentsServer(s grpc.ServiceRegistrar, srv CommentsServer)

func RegisterContactsServer

func RegisterContactsServer(s grpc.ServiceRegistrar, srv ContactsServer)

func RegisterDonationsServer

func RegisterDonationsServer(s grpc.ServiceRegistrar, srv DonationsServer)

func RegisterForumsServer added in v1.23.0

func RegisterForumsServer(s grpc.ServiceRegistrar, srv ForumsServer)

func RegisterItemsServer

func RegisterItemsServer(s grpc.ServiceRegistrar, srv ItemsServer)

func RegisterMapServer

func RegisterMapServer(s grpc.ServiceRegistrar, srv MapServer)

func RegisterMessagingServer

func RegisterMessagingServer(s grpc.ServiceRegistrar, srv MessagingServer)

func RegisterPicturesServer

func RegisterPicturesServer(s grpc.ServiceRegistrar, srv PicturesServer)

func RegisterRatingServer added in v1.76.0

func RegisterRatingServer(s grpc.ServiceRegistrar, srv RatingServer)

func RegisterStatisticsServer

func RegisterStatisticsServer(s grpc.ServiceRegistrar, srv StatisticsServer)

func RegisterTextServer added in v1.30.0

func RegisterTextServer(s grpc.ServiceRegistrar, srv TextServer)

func RegisterTrafficServer

func RegisterTrafficServer(s grpc.ServiceRegistrar, srv TrafficServer)

func RegisterUsersServer

func RegisterUsersServer(s grpc.ServiceRegistrar, srv UsersServer)

Types

type APIBanItem

type APIBanItem struct {
	Until    *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=until,proto3" json:"until,omitempty"`
	ByUserId int64                  `protobuf:"varint,2,opt,name=by_user_id,json=byUserId,proto3" json:"by_user_id,omitempty"`
	ByUser   *APIUser               `protobuf:"bytes,3,opt,name=by_user,json=byUser,proto3" json:"by_user,omitempty"`
	Reason   string                 `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*APIBanItem) Descriptor deprecated

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

Deprecated: Use APIBanItem.ProtoReflect.Descriptor instead.

func (*APIBanItem) GetByUser

func (x *APIBanItem) GetByUser() *APIUser

func (*APIBanItem) GetByUserId

func (x *APIBanItem) GetByUserId() int64

func (*APIBanItem) GetReason

func (x *APIBanItem) GetReason() string

func (*APIBanItem) GetUntil

func (x *APIBanItem) GetUntil() *timestamppb.Timestamp

func (*APIBanItem) ProtoMessage

func (*APIBanItem) ProtoMessage()

func (*APIBanItem) ProtoReflect

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

func (*APIBanItem) Reset

func (x *APIBanItem) Reset()

func (*APIBanItem) String

func (x *APIBanItem) String() string

type APICommentMessage added in v1.37.0

type APICommentMessage struct {
	Id        int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UserId    int64                  `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*APICommentMessage) Descriptor deprecated added in v1.37.0

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

Deprecated: Use APICommentMessage.ProtoReflect.Descriptor instead.

func (*APICommentMessage) GetCreatedAt added in v1.37.0

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

func (*APICommentMessage) GetId added in v1.37.0

func (x *APICommentMessage) GetId() int64

func (*APICommentMessage) GetUserId added in v1.37.0

func (x *APICommentMessage) GetUserId() int64

func (*APICommentMessage) ProtoMessage added in v1.37.0

func (*APICommentMessage) ProtoMessage()

func (*APICommentMessage) ProtoReflect added in v1.37.0

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

func (*APICommentMessage) Reset added in v1.37.0

func (x *APICommentMessage) Reset()

func (*APICommentMessage) String added in v1.37.0

func (x *APICommentMessage) String() string

type APICommentsMessage added in v1.41.0

type APICommentsMessage struct {
	Id                 int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	TypeId             CommentsType           `protobuf:"varint,2,opt,name=type_id,json=typeId,proto3,enum=goautowp.CommentsType" json:"type_id,omitempty"`
	ItemId             int64                  `protobuf:"varint,3,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	ParentId           int64                  `protobuf:"varint,4,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	CreatedAt          *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Deleted            bool                   `protobuf:"varint,6,opt,name=deleted,proto3" json:"deleted,omitempty"`
	ModeratorAttention ModeratorAttention     `` /* 149-byte string literal not displayed */
	IsNew              bool                   `protobuf:"varint,8,opt,name=is_new,json=isNew,proto3" json:"is_new,omitempty"`
	AuthorId           int64                  `protobuf:"varint,9,opt,name=author_id,json=authorId,proto3" json:"author_id,omitempty"`
	Ip                 string                 `protobuf:"bytes,10,opt,name=ip,proto3" json:"ip,omitempty"`
	Text               string                 `protobuf:"bytes,11,opt,name=text,proto3" json:"text,omitempty"`
	Vote               int32                  `protobuf:"varint,12,opt,name=vote,proto3" json:"vote,omitempty"`
	Preview            string                 `protobuf:"bytes,13,opt,name=preview,proto3" json:"preview,omitempty"`
	Route              []string               `protobuf:"bytes,14,rep,name=route,proto3" json:"route,omitempty"`
	UserVote           int32                  `protobuf:"varint,15,opt,name=userVote,proto3" json:"userVote,omitempty"`
	Replies            []*APICommentsMessage  `protobuf:"bytes,16,rep,name=replies,proto3" json:"replies,omitempty"`
	PictureStatus      PictureStatus          `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*APICommentsMessage) Descriptor deprecated added in v1.41.0

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

Deprecated: Use APICommentsMessage.ProtoReflect.Descriptor instead.

func (*APICommentsMessage) GetAuthorId added in v1.41.0

func (x *APICommentsMessage) GetAuthorId() int64

func (*APICommentsMessage) GetCreatedAt added in v1.41.0

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

func (*APICommentsMessage) GetDeleted added in v1.41.0

func (x *APICommentsMessage) GetDeleted() bool

func (*APICommentsMessage) GetId added in v1.41.0

func (x *APICommentsMessage) GetId() int64

func (*APICommentsMessage) GetIp added in v1.41.0

func (x *APICommentsMessage) GetIp() string

func (*APICommentsMessage) GetIsNew added in v1.41.0

func (x *APICommentsMessage) GetIsNew() bool

func (*APICommentsMessage) GetItemId added in v1.41.0

func (x *APICommentsMessage) GetItemId() int64

func (*APICommentsMessage) GetModeratorAttention added in v1.41.0

func (x *APICommentsMessage) GetModeratorAttention() ModeratorAttention

func (*APICommentsMessage) GetParentId added in v1.41.0

func (x *APICommentsMessage) GetParentId() int64

func (*APICommentsMessage) GetPictureStatus added in v1.41.0

func (x *APICommentsMessage) GetPictureStatus() PictureStatus

func (*APICommentsMessage) GetPreview added in v1.41.0

func (x *APICommentsMessage) GetPreview() string

func (*APICommentsMessage) GetReplies added in v1.41.0

func (x *APICommentsMessage) GetReplies() []*APICommentsMessage

func (*APICommentsMessage) GetRoute added in v1.41.0

func (x *APICommentsMessage) GetRoute() []string

func (*APICommentsMessage) GetText added in v1.41.0

func (x *APICommentsMessage) GetText() string

func (*APICommentsMessage) GetTypeId added in v1.41.0

func (x *APICommentsMessage) GetTypeId() CommentsType

func (*APICommentsMessage) GetUserVote added in v1.41.0

func (x *APICommentsMessage) GetUserVote() int32

func (*APICommentsMessage) GetVote added in v1.41.0

func (x *APICommentsMessage) GetVote() int32

func (*APICommentsMessage) ProtoMessage added in v1.41.0

func (*APICommentsMessage) ProtoMessage()

func (*APICommentsMessage) ProtoReflect added in v1.41.0

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

func (*APICommentsMessage) Reset added in v1.41.0

func (x *APICommentsMessage) Reset()

func (*APICommentsMessage) String added in v1.41.0

func (x *APICommentsMessage) String() string

type APICommentsMessagePage added in v1.38.0

type APICommentsMessagePage struct {
	TypeId CommentsType `protobuf:"varint,1,opt,name=type_id,json=typeId,proto3,enum=goautowp.CommentsType" json:"type_id,omitempty"`
	ItemId int64        `protobuf:"varint,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	Page   int32        `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*APICommentsMessagePage) Descriptor deprecated added in v1.38.0

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

Deprecated: Use APICommentsMessagePage.ProtoReflect.Descriptor instead.

func (*APICommentsMessagePage) GetItemId added in v1.38.0

func (x *APICommentsMessagePage) GetItemId() int64

func (*APICommentsMessagePage) GetPage added in v1.38.0

func (x *APICommentsMessagePage) GetPage() int32

func (*APICommentsMessagePage) GetTypeId added in v1.38.0

func (x *APICommentsMessagePage) GetTypeId() CommentsType

func (*APICommentsMessagePage) ProtoMessage added in v1.38.0

func (*APICommentsMessagePage) ProtoMessage()

func (*APICommentsMessagePage) ProtoReflect added in v1.38.0

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

func (*APICommentsMessagePage) Reset added in v1.38.0

func (x *APICommentsMessagePage) Reset()

func (*APICommentsMessagePage) String added in v1.38.0

func (x *APICommentsMessagePage) String() string

type APICommentsMessages added in v1.41.0

type APICommentsMessages struct {
	Items     []*APICommentsMessage `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Paginator *Pages                `protobuf:"bytes,2,opt,name=paginator,proto3" json:"paginator,omitempty"`
	// contains filtered or unexported fields
}

func (*APICommentsMessages) Descriptor deprecated added in v1.41.0

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

Deprecated: Use APICommentsMessages.ProtoReflect.Descriptor instead.

func (*APICommentsMessages) GetItems added in v1.41.0

func (x *APICommentsMessages) GetItems() []*APICommentsMessage

func (*APICommentsMessages) GetPaginator added in v1.41.0

func (x *APICommentsMessages) GetPaginator() *Pages

func (*APICommentsMessages) ProtoMessage added in v1.41.0

func (*APICommentsMessages) ProtoMessage()

func (*APICommentsMessages) ProtoReflect added in v1.41.0

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

func (*APICommentsMessages) Reset added in v1.41.0

func (x *APICommentsMessages) Reset()

func (*APICommentsMessages) String added in v1.41.0

func (x *APICommentsMessages) String() string

type APIContentLanguages added in v1.11.0

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

func (*APIContentLanguages) Descriptor deprecated added in v1.11.0

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

Deprecated: Use APIContentLanguages.ProtoReflect.Descriptor instead.

func (*APIContentLanguages) GetLanguages added in v1.11.0

func (x *APIContentLanguages) GetLanguages() []string

func (*APIContentLanguages) ProtoMessage added in v1.11.0

func (*APIContentLanguages) ProtoMessage()

func (*APIContentLanguages) ProtoReflect added in v1.11.0

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

func (*APIContentLanguages) Reset added in v1.11.0

func (x *APIContentLanguages) Reset()

func (*APIContentLanguages) String added in v1.11.0

func (x *APIContentLanguages) String() string

type APICreateFeedbackRequest

type APICreateFeedbackRequest 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"`
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	Captcha string `protobuf:"bytes,4,opt,name=captcha,proto3" json:"captcha,omitempty"`
	// contains filtered or unexported fields
}

func (*APICreateFeedbackRequest) Descriptor deprecated

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

Deprecated: Use APICreateFeedbackRequest.ProtoReflect.Descriptor instead.

func (*APICreateFeedbackRequest) GetCaptcha

func (x *APICreateFeedbackRequest) GetCaptcha() string

func (*APICreateFeedbackRequest) GetEmail

func (x *APICreateFeedbackRequest) GetEmail() string

func (*APICreateFeedbackRequest) GetMessage

func (x *APICreateFeedbackRequest) GetMessage() string

func (*APICreateFeedbackRequest) GetName

func (x *APICreateFeedbackRequest) GetName() string

func (*APICreateFeedbackRequest) ProtoMessage

func (*APICreateFeedbackRequest) ProtoMessage()

func (*APICreateFeedbackRequest) ProtoReflect

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

func (*APICreateFeedbackRequest) Reset

func (x *APICreateFeedbackRequest) Reset()

func (*APICreateFeedbackRequest) String

func (x *APICreateFeedbackRequest) String() string

type APICreateItemLinkResponse added in v1.28.0

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

func (*APICreateItemLinkResponse) Descriptor deprecated added in v1.28.0

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

Deprecated: Use APICreateItemLinkResponse.ProtoReflect.Descriptor instead.

func (*APICreateItemLinkResponse) GetId added in v1.28.0

func (x *APICreateItemLinkResponse) GetId() int64

func (*APICreateItemLinkResponse) ProtoMessage added in v1.28.0

func (*APICreateItemLinkResponse) ProtoMessage()

func (*APICreateItemLinkResponse) ProtoReflect added in v1.28.0

func (*APICreateItemLinkResponse) Reset added in v1.28.0

func (x *APICreateItemLinkResponse) Reset()

func (*APICreateItemLinkResponse) String added in v1.28.0

func (x *APICreateItemLinkResponse) String() string

type APICreateTopicRequest added in v1.23.0

type APICreateTopicRequest struct {
	ThemeId            int64  `protobuf:"varint,1,opt,name=theme_id,json=themeId,proto3" json:"theme_id,omitempty"`
	Name               string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Message            string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	ModeratorAttention bool   `protobuf:"varint,4,opt,name=moderator_attention,json=moderatorAttention,proto3" json:"moderator_attention,omitempty"`
	Subscription       bool   `protobuf:"varint,5,opt,name=subscription,proto3" json:"subscription,omitempty"`
	// contains filtered or unexported fields
}

func (*APICreateTopicRequest) Descriptor deprecated added in v1.23.0

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

Deprecated: Use APICreateTopicRequest.ProtoReflect.Descriptor instead.

func (*APICreateTopicRequest) GetMessage added in v1.23.0

func (x *APICreateTopicRequest) GetMessage() string

func (*APICreateTopicRequest) GetModeratorAttention added in v1.23.0

func (x *APICreateTopicRequest) GetModeratorAttention() bool

func (*APICreateTopicRequest) GetName added in v1.23.0

func (x *APICreateTopicRequest) GetName() string

func (*APICreateTopicRequest) GetSubscription added in v1.23.0

func (x *APICreateTopicRequest) GetSubscription() bool

func (*APICreateTopicRequest) GetThemeId added in v1.23.0

func (x *APICreateTopicRequest) GetThemeId() int64

func (*APICreateTopicRequest) ProtoMessage added in v1.23.0

func (*APICreateTopicRequest) ProtoMessage()

func (*APICreateTopicRequest) ProtoReflect added in v1.23.0

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

func (*APICreateTopicRequest) Reset added in v1.23.0

func (x *APICreateTopicRequest) Reset()

func (*APICreateTopicRequest) String added in v1.23.0

func (x *APICreateTopicRequest) String() string

func (*APICreateTopicRequest) Validate added in v1.23.0

func (s *APICreateTopicRequest) Validate(
	ctx context.Context,
	commentsRepository *comments.Repository,
	userID int64,
) ([]*errdetails.BadRequest_FieldViolation, error)

type APICreateTopicResponse added in v1.23.0

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

func (*APICreateTopicResponse) Descriptor deprecated added in v1.23.0

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

Deprecated: Use APICreateTopicResponse.ProtoReflect.Descriptor instead.

func (*APICreateTopicResponse) GetId added in v1.23.0

func (x *APICreateTopicResponse) GetId() int64

func (*APICreateTopicResponse) ProtoMessage added in v1.23.0

func (*APICreateTopicResponse) ProtoMessage()

func (*APICreateTopicResponse) ProtoReflect added in v1.23.0

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

func (*APICreateTopicResponse) Reset added in v1.23.0

func (x *APICreateTopicResponse) Reset()

func (*APICreateTopicResponse) String added in v1.23.0

func (x *APICreateTopicResponse) String() string

type APIDeleteUserRequest

type APIDeleteUserRequest struct {
	UserId   int64  `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*APIDeleteUserRequest) Descriptor deprecated

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

Deprecated: Use APIDeleteUserRequest.ProtoReflect.Descriptor instead.

func (*APIDeleteUserRequest) GetPassword

func (x *APIDeleteUserRequest) GetPassword() string

func (*APIDeleteUserRequest) GetUserId

func (x *APIDeleteUserRequest) GetUserId() int64

func (*APIDeleteUserRequest) ProtoMessage

func (*APIDeleteUserRequest) ProtoMessage()

func (*APIDeleteUserRequest) ProtoReflect

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

func (*APIDeleteUserRequest) Reset

func (x *APIDeleteUserRequest) Reset()

func (*APIDeleteUserRequest) String

func (x *APIDeleteUserRequest) String() string

type APIForumsTheme added in v1.37.0

type APIForumsTheme struct {
	Id            int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name          string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	TopicsCount   int32  `protobuf:"varint,3,opt,name=topics_count,json=topicsCount,proto3" json:"topics_count,omitempty"`
	MessagesCount int32  `protobuf:"varint,4,opt,name=messages_count,json=messagesCount,proto3" json:"messages_count,omitempty"`
	DisableTopics bool   `protobuf:"varint,5,opt,name=disable_topics,json=disableTopics,proto3" json:"disable_topics,omitempty"`
	Description   string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*APIForumsTheme) Descriptor deprecated added in v1.37.0

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

Deprecated: Use APIForumsTheme.ProtoReflect.Descriptor instead.

func (*APIForumsTheme) GetDescription added in v1.37.0

func (x *APIForumsTheme) GetDescription() string

func (*APIForumsTheme) GetDisableTopics added in v1.37.0

func (x *APIForumsTheme) GetDisableTopics() bool

func (*APIForumsTheme) GetId added in v1.37.0

func (x *APIForumsTheme) GetId() int64

func (*APIForumsTheme) GetMessagesCount added in v1.37.0

func (x *APIForumsTheme) GetMessagesCount() int32

func (*APIForumsTheme) GetName added in v1.37.0

func (x *APIForumsTheme) GetName() string

func (*APIForumsTheme) GetTopicsCount added in v1.37.0

func (x *APIForumsTheme) GetTopicsCount() int32

func (*APIForumsTheme) ProtoMessage added in v1.37.0

func (*APIForumsTheme) ProtoMessage()

func (*APIForumsTheme) ProtoReflect added in v1.37.0

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

func (*APIForumsTheme) Reset added in v1.37.0

func (x *APIForumsTheme) Reset()

func (*APIForumsTheme) String added in v1.37.0

func (x *APIForumsTheme) String() string

type APIForumsThemes added in v1.37.0

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

func (*APIForumsThemes) Descriptor deprecated added in v1.37.0

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

Deprecated: Use APIForumsThemes.ProtoReflect.Descriptor instead.

func (*APIForumsThemes) GetItems added in v1.37.0

func (x *APIForumsThemes) GetItems() []*APIForumsTheme

func (*APIForumsThemes) ProtoMessage added in v1.37.0

func (*APIForumsThemes) ProtoMessage()

func (*APIForumsThemes) ProtoReflect added in v1.37.0

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

func (*APIForumsThemes) Reset added in v1.37.0

func (x *APIForumsThemes) Reset()

func (*APIForumsThemes) String added in v1.37.0

func (x *APIForumsThemes) String() string

type APIForumsTopic added in v1.37.0

type APIForumsTopic struct {
	Id           int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name         string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Status       string                 `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	OldMessages  int32                  `protobuf:"varint,4,opt,name=old_messages,json=oldMessages,proto3" json:"old_messages,omitempty"`
	NewMessages  int32                  `protobuf:"varint,5,opt,name=new_messages,json=newMessages,proto3" json:"new_messages,omitempty"`
	CreatedAt    *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UserId       int64                  `protobuf:"varint,7,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	ThemeId      int64                  `protobuf:"varint,8,opt,name=theme_id,json=themeId,proto3" json:"theme_id,omitempty"`
	Subscription bool                   `protobuf:"varint,9,opt,name=subscription,proto3" json:"subscription,omitempty"`
	// contains filtered or unexported fields
}

func (*APIForumsTopic) Descriptor deprecated added in v1.37.0

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

Deprecated: Use APIForumsTopic.ProtoReflect.Descriptor instead.

func (*APIForumsTopic) GetCreatedAt added in v1.37.0

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

func (*APIForumsTopic) GetId added in v1.37.0

func (x *APIForumsTopic) GetId() int64

func (*APIForumsTopic) GetName added in v1.37.0

func (x *APIForumsTopic) GetName() string

func (*APIForumsTopic) GetNewMessages added in v1.37.0

func (x *APIForumsTopic) GetNewMessages() int32

func (*APIForumsTopic) GetOldMessages added in v1.37.0

func (x *APIForumsTopic) GetOldMessages() int32

func (*APIForumsTopic) GetStatus added in v1.37.0

func (x *APIForumsTopic) GetStatus() string

func (*APIForumsTopic) GetSubscription added in v1.37.0

func (x *APIForumsTopic) GetSubscription() bool

func (*APIForumsTopic) GetThemeId added in v1.37.0

func (x *APIForumsTopic) GetThemeId() int64

func (*APIForumsTopic) GetUserId added in v1.37.0

func (x *APIForumsTopic) GetUserId() int64

func (*APIForumsTopic) ProtoMessage added in v1.37.0

func (*APIForumsTopic) ProtoMessage()

func (*APIForumsTopic) ProtoReflect added in v1.37.0

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

func (*APIForumsTopic) Reset added in v1.37.0

func (x *APIForumsTopic) Reset()

func (*APIForumsTopic) String added in v1.37.0

func (x *APIForumsTopic) String() string

type APIForumsTopics added in v1.37.0

type APIForumsTopics struct {
	Items     []*APIForumsTopic `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Paginator *Pages            `protobuf:"bytes,2,opt,name=paginator,proto3" json:"paginator,omitempty"`
	// contains filtered or unexported fields
}

func (*APIForumsTopics) Descriptor deprecated added in v1.37.0

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

Deprecated: Use APIForumsTopics.ProtoReflect.Descriptor instead.

func (*APIForumsTopics) GetItems added in v1.37.0

func (x *APIForumsTopics) GetItems() []*APIForumsTopic

func (*APIForumsTopics) GetPaginator added in v1.37.0

func (x *APIForumsTopics) GetPaginator() *Pages

func (*APIForumsTopics) ProtoMessage added in v1.37.0

func (*APIForumsTopics) ProtoMessage()

func (*APIForumsTopics) ProtoReflect added in v1.37.0

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

func (*APIForumsTopics) Reset added in v1.37.0

func (x *APIForumsTopics) Reset()

func (*APIForumsTopics) String added in v1.37.0

func (x *APIForumsTopics) String() string

type APIForumsUserSummary

type APIForumsUserSummary struct {
	SubscriptionsCount int32 `protobuf:"varint,1,opt,name=subscriptionsCount,proto3" json:"subscriptionsCount,omitempty"`
	// contains filtered or unexported fields
}

func (*APIForumsUserSummary) Descriptor deprecated

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

Deprecated: Use APIForumsUserSummary.ProtoReflect.Descriptor instead.

func (*APIForumsUserSummary) GetSubscriptionsCount

func (x *APIForumsUserSummary) GetSubscriptionsCount() int32

func (*APIForumsUserSummary) ProtoMessage

func (*APIForumsUserSummary) ProtoMessage()

func (*APIForumsUserSummary) ProtoReflect

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

func (*APIForumsUserSummary) Reset

func (x *APIForumsUserSummary) Reset()

func (*APIForumsUserSummary) String

func (x *APIForumsUserSummary) String() string

type APIGetForumsThemeRequest added in v1.37.0

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

func (*APIGetForumsThemeRequest) Descriptor deprecated added in v1.37.0

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

Deprecated: Use APIGetForumsThemeRequest.ProtoReflect.Descriptor instead.

func (*APIGetForumsThemeRequest) GetId added in v1.37.0

func (x *APIGetForumsThemeRequest) GetId() int64

func (*APIGetForumsThemeRequest) ProtoMessage added in v1.37.0

func (*APIGetForumsThemeRequest) ProtoMessage()

func (*APIGetForumsThemeRequest) ProtoReflect added in v1.37.0

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

func (*APIGetForumsThemeRequest) Reset added in v1.37.0

func (x *APIGetForumsThemeRequest) Reset()

func (*APIGetForumsThemeRequest) String added in v1.37.0

func (x *APIGetForumsThemeRequest) String() string

type APIGetForumsThemesRequest added in v1.37.0

type APIGetForumsThemesRequest struct {
	ThemeId int64 `protobuf:"varint,1,opt,name=theme_id,json=themeId,proto3" json:"theme_id,omitempty"`
	// contains filtered or unexported fields
}

func (*APIGetForumsThemesRequest) Descriptor deprecated added in v1.37.0

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

Deprecated: Use APIGetForumsThemesRequest.ProtoReflect.Descriptor instead.

func (*APIGetForumsThemesRequest) GetThemeId added in v1.37.0

func (x *APIGetForumsThemesRequest) GetThemeId() int64

func (*APIGetForumsThemesRequest) ProtoMessage added in v1.37.0

func (*APIGetForumsThemesRequest) ProtoMessage()

func (*APIGetForumsThemesRequest) ProtoReflect added in v1.37.0

func (*APIGetForumsThemesRequest) Reset added in v1.37.0

func (x *APIGetForumsThemesRequest) Reset()

func (*APIGetForumsThemesRequest) String added in v1.37.0

func (x *APIGetForumsThemesRequest) String() string

type APIGetForumsTopicRequest added in v1.37.0

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

func (*APIGetForumsTopicRequest) Descriptor deprecated added in v1.37.0

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

Deprecated: Use APIGetForumsTopicRequest.ProtoReflect.Descriptor instead.

func (*APIGetForumsTopicRequest) GetId added in v1.37.0

func (x *APIGetForumsTopicRequest) GetId() int64

func (*APIGetForumsTopicRequest) ProtoMessage added in v1.37.0

func (*APIGetForumsTopicRequest) ProtoMessage()

func (*APIGetForumsTopicRequest) ProtoReflect added in v1.37.0

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

func (*APIGetForumsTopicRequest) Reset added in v1.37.0

func (x *APIGetForumsTopicRequest) Reset()

func (*APIGetForumsTopicRequest) String added in v1.37.0

func (x *APIGetForumsTopicRequest) String() string

type APIGetForumsTopicsRequest added in v1.37.0

type APIGetForumsTopicsRequest struct {
	ThemeId      int64 `protobuf:"varint,1,opt,name=theme_id,json=themeId,proto3" json:"theme_id,omitempty"`
	Page         int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	Subscription bool  `protobuf:"varint,3,opt,name=subscription,proto3" json:"subscription,omitempty"`
	// contains filtered or unexported fields
}

func (*APIGetForumsTopicsRequest) Descriptor deprecated added in v1.37.0

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

Deprecated: Use APIGetForumsTopicsRequest.ProtoReflect.Descriptor instead.

func (*APIGetForumsTopicsRequest) GetPage added in v1.37.0

func (x *APIGetForumsTopicsRequest) GetPage() int32

func (*APIGetForumsTopicsRequest) GetSubscription added in v1.37.0

func (x *APIGetForumsTopicsRequest) GetSubscription() bool

func (*APIGetForumsTopicsRequest) GetThemeId added in v1.37.0

func (x *APIGetForumsTopicsRequest) GetThemeId() int64

func (*APIGetForumsTopicsRequest) ProtoMessage added in v1.37.0

func (*APIGetForumsTopicsRequest) ProtoMessage()

func (*APIGetForumsTopicsRequest) ProtoReflect added in v1.37.0

func (*APIGetForumsTopicsRequest) Reset added in v1.37.0

func (x *APIGetForumsTopicsRequest) Reset()

func (*APIGetForumsTopicsRequest) String added in v1.37.0

func (x *APIGetForumsTopicsRequest) String() string

type APIGetIPRequest

type APIGetIPRequest struct {
	Ip     string   `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*APIGetIPRequest) Descriptor deprecated

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

Deprecated: Use APIGetIPRequest.ProtoReflect.Descriptor instead.

func (*APIGetIPRequest) GetFields

func (x *APIGetIPRequest) GetFields() []string

func (*APIGetIPRequest) GetIp

func (x *APIGetIPRequest) GetIp() string

func (*APIGetIPRequest) ProtoMessage

func (*APIGetIPRequest) ProtoMessage()

func (*APIGetIPRequest) ProtoReflect

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

func (*APIGetIPRequest) Reset

func (x *APIGetIPRequest) Reset()

func (*APIGetIPRequest) String

func (x *APIGetIPRequest) String() string

type APIGetItemLanguagesRequest added in v1.50.0

type APIGetItemLanguagesRequest struct {
	ItemId int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	// contains filtered or unexported fields
}

func (*APIGetItemLanguagesRequest) Descriptor deprecated added in v1.50.0

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

Deprecated: Use APIGetItemLanguagesRequest.ProtoReflect.Descriptor instead.

func (*APIGetItemLanguagesRequest) GetItemId added in v1.50.0

func (x *APIGetItemLanguagesRequest) GetItemId() int64

func (*APIGetItemLanguagesRequest) ProtoMessage added in v1.50.0

func (*APIGetItemLanguagesRequest) ProtoMessage()

func (*APIGetItemLanguagesRequest) ProtoReflect added in v1.50.0

func (*APIGetItemLanguagesRequest) Reset added in v1.50.0

func (x *APIGetItemLanguagesRequest) Reset()

func (*APIGetItemLanguagesRequest) String added in v1.50.0

func (x *APIGetItemLanguagesRequest) String() string

type APIGetItemLinksRequest added in v1.28.0

type APIGetItemLinksRequest struct {
	ItemId int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	// contains filtered or unexported fields
}

func (*APIGetItemLinksRequest) Descriptor deprecated added in v1.28.0

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

Deprecated: Use APIGetItemLinksRequest.ProtoReflect.Descriptor instead.

func (*APIGetItemLinksRequest) GetItemId added in v1.28.0

func (x *APIGetItemLinksRequest) GetItemId() int64

func (*APIGetItemLinksRequest) ProtoMessage added in v1.28.0

func (*APIGetItemLinksRequest) ProtoMessage()

func (*APIGetItemLinksRequest) ProtoReflect added in v1.28.0

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

func (*APIGetItemLinksRequest) Reset added in v1.28.0

func (x *APIGetItemLinksRequest) Reset()

func (*APIGetItemLinksRequest) String added in v1.28.0

func (x *APIGetItemLinksRequest) String() string

type APIGetItemParentLanguagesRequest added in v1.49.0

type APIGetItemParentLanguagesRequest struct {
	ItemId   int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	ParentId int64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	// contains filtered or unexported fields
}

func (*APIGetItemParentLanguagesRequest) Descriptor deprecated added in v1.49.0

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

Deprecated: Use APIGetItemParentLanguagesRequest.ProtoReflect.Descriptor instead.

func (*APIGetItemParentLanguagesRequest) GetItemId added in v1.49.0

func (x *APIGetItemParentLanguagesRequest) GetItemId() int64

func (*APIGetItemParentLanguagesRequest) GetParentId added in v1.49.0

func (x *APIGetItemParentLanguagesRequest) GetParentId() int64

func (*APIGetItemParentLanguagesRequest) ProtoMessage added in v1.49.0

func (*APIGetItemParentLanguagesRequest) ProtoMessage()

func (*APIGetItemParentLanguagesRequest) ProtoReflect added in v1.49.0

func (*APIGetItemParentLanguagesRequest) Reset added in v1.49.0

func (*APIGetItemParentLanguagesRequest) String added in v1.49.0

type APIGetItemVehicleTypesRequest added in v1.29.0

type APIGetItemVehicleTypesRequest struct {
	ItemId        int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	VehicleTypeId int64 `protobuf:"varint,2,opt,name=vehicle_type_id,json=vehicleTypeId,proto3" json:"vehicle_type_id,omitempty"`
	// contains filtered or unexported fields
}

func (*APIGetItemVehicleTypesRequest) Descriptor deprecated added in v1.29.0

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

Deprecated: Use APIGetItemVehicleTypesRequest.ProtoReflect.Descriptor instead.

func (*APIGetItemVehicleTypesRequest) GetItemId added in v1.29.0

func (x *APIGetItemVehicleTypesRequest) GetItemId() int64

func (*APIGetItemVehicleTypesRequest) GetVehicleTypeId added in v1.29.0

func (x *APIGetItemVehicleTypesRequest) GetVehicleTypeId() int64

func (*APIGetItemVehicleTypesRequest) ProtoMessage added in v1.29.0

func (*APIGetItemVehicleTypesRequest) ProtoMessage()

func (*APIGetItemVehicleTypesRequest) ProtoReflect added in v1.29.0

func (*APIGetItemVehicleTypesRequest) Reset added in v1.29.0

func (x *APIGetItemVehicleTypesRequest) Reset()

func (*APIGetItemVehicleTypesRequest) String added in v1.29.0

type APIGetItemVehicleTypesResponse added in v1.29.0

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

func (*APIGetItemVehicleTypesResponse) Descriptor deprecated added in v1.29.0

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

Deprecated: Use APIGetItemVehicleTypesResponse.ProtoReflect.Descriptor instead.

func (*APIGetItemVehicleTypesResponse) GetItems added in v1.29.0

func (*APIGetItemVehicleTypesResponse) ProtoMessage added in v1.29.0

func (*APIGetItemVehicleTypesResponse) ProtoMessage()

func (*APIGetItemVehicleTypesResponse) ProtoReflect added in v1.29.0

func (*APIGetItemVehicleTypesResponse) Reset added in v1.29.0

func (x *APIGetItemVehicleTypesResponse) Reset()

func (*APIGetItemVehicleTypesResponse) String added in v1.29.0

type APIGetTextRequest added in v1.30.0

type APIGetTextRequest struct {
	Id       int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Revision int64 `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

func (*APIGetTextRequest) Descriptor deprecated added in v1.30.0

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

Deprecated: Use APIGetTextRequest.ProtoReflect.Descriptor instead.

func (*APIGetTextRequest) GetId added in v1.30.0

func (x *APIGetTextRequest) GetId() int64

func (*APIGetTextRequest) GetRevision added in v1.30.0

func (x *APIGetTextRequest) GetRevision() int64

func (*APIGetTextRequest) ProtoMessage added in v1.30.0

func (*APIGetTextRequest) ProtoMessage()

func (*APIGetTextRequest) ProtoReflect added in v1.30.0

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

func (*APIGetTextRequest) Reset added in v1.30.0

func (x *APIGetTextRequest) Reset()

func (*APIGetTextRequest) String added in v1.30.0

func (x *APIGetTextRequest) String() string

type APIGetTextResponse added in v1.30.0

type APIGetTextResponse struct {
	Current *TextRevision `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"`
	Prev    *TextRevision `protobuf:"bytes,2,opt,name=prev,proto3" json:"prev,omitempty"`
	Next    *TextRevision `protobuf:"bytes,3,opt,name=next,proto3" json:"next,omitempty"`
	// contains filtered or unexported fields
}

func (*APIGetTextResponse) Descriptor deprecated added in v1.30.0

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

Deprecated: Use APIGetTextResponse.ProtoReflect.Descriptor instead.

func (*APIGetTextResponse) GetCurrent added in v1.30.0

func (x *APIGetTextResponse) GetCurrent() *TextRevision

func (*APIGetTextResponse) GetNext added in v1.30.0

func (x *APIGetTextResponse) GetNext() *TextRevision

func (*APIGetTextResponse) GetPrev added in v1.30.0

func (x *APIGetTextResponse) GetPrev() *TextRevision

func (*APIGetTextResponse) ProtoMessage added in v1.30.0

func (*APIGetTextResponse) ProtoMessage()

func (*APIGetTextResponse) ProtoReflect added in v1.30.0

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

func (*APIGetTextResponse) Reset added in v1.30.0

func (x *APIGetTextResponse) Reset()

func (*APIGetTextResponse) String added in v1.30.0

func (x *APIGetTextResponse) String() string

type APIGetUserRequest

type APIGetUserRequest struct {
	UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*APIGetUserRequest) Descriptor deprecated

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

Deprecated: Use APIGetUserRequest.ProtoReflect.Descriptor instead.

func (*APIGetUserRequest) GetUserId

func (x *APIGetUserRequest) GetUserId() int64

func (*APIGetUserRequest) ProtoMessage

func (*APIGetUserRequest) ProtoMessage()

func (*APIGetUserRequest) ProtoReflect

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

func (*APIGetUserRequest) Reset

func (x *APIGetUserRequest) Reset()

func (*APIGetUserRequest) String

func (x *APIGetUserRequest) String() string

type APIIP

type APIIP struct {
	Address   string       `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Hostname  string       `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
	Blacklist *APIBanItem  `protobuf:"bytes,3,opt,name=blacklist,proto3" json:"blacklist,omitempty"`
	Rights    *APIIPRights `protobuf:"bytes,4,opt,name=rights,proto3" json:"rights,omitempty"`
	// contains filtered or unexported fields
}

func (*APIIP) Descriptor deprecated

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

Deprecated: Use APIIP.ProtoReflect.Descriptor instead.

func (*APIIP) GetAddress

func (x *APIIP) GetAddress() string

func (*APIIP) GetBlacklist

func (x *APIIP) GetBlacklist() *APIBanItem

func (*APIIP) GetHostname

func (x *APIIP) GetHostname() string

func (*APIIP) GetRights

func (x *APIIP) GetRights() *APIIPRights

func (*APIIP) ProtoMessage

func (*APIIP) ProtoMessage()

func (*APIIP) ProtoReflect

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

func (*APIIP) Reset

func (x *APIIP) Reset()

func (*APIIP) String

func (x *APIIP) String() string

type APIIPRights

type APIIPRights struct {
	AddToBlacklist      bool `protobuf:"varint,1,opt,name=add_to_blacklist,json=addToBlacklist,proto3" json:"add_to_blacklist,omitempty"`
	RemoveFromBlacklist bool `protobuf:"varint,2,opt,name=remove_from_blacklist,json=removeFromBlacklist,proto3" json:"remove_from_blacklist,omitempty"`
	// contains filtered or unexported fields
}

func (*APIIPRights) Descriptor deprecated

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

Deprecated: Use APIIPRights.ProtoReflect.Descriptor instead.

func (*APIIPRights) GetAddToBlacklist

func (x *APIIPRights) GetAddToBlacklist() bool

func (*APIIPRights) GetRemoveFromBlacklist

func (x *APIIPRights) GetRemoveFromBlacklist() bool

func (*APIIPRights) ProtoMessage

func (*APIIPRights) ProtoMessage()

func (*APIIPRights) ProtoReflect

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

func (*APIIPRights) Reset

func (x *APIIPRights) Reset()

func (*APIIPRights) String

func (x *APIIPRights) String() string

type APIImage

type APIImage struct {
	Id       int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Src      string `protobuf:"bytes,2,opt,name=src,proto3" json:"src,omitempty"`
	Width    int32  `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"`
	Height   int32  `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
	Filesize int32  `protobuf:"varint,5,opt,name=filesize,proto3" json:"filesize,omitempty"`
	// contains filtered or unexported fields
}

func APIImageToGRPC

func APIImageToGRPC(image *storage.Image) *APIImage

func (*APIImage) Descriptor deprecated

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

Deprecated: Use APIImage.ProtoReflect.Descriptor instead.

func (*APIImage) GetFilesize

func (x *APIImage) GetFilesize() int32

func (*APIImage) GetHeight

func (x *APIImage) GetHeight() int32

func (*APIImage) GetId

func (x *APIImage) GetId() int32

func (*APIImage) GetSrc

func (x *APIImage) GetSrc() string

func (*APIImage) GetWidth

func (x *APIImage) GetWidth() int32

func (*APIImage) ProtoMessage

func (*APIImage) ProtoMessage()

func (*APIImage) ProtoReflect

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

func (*APIImage) Reset

func (x *APIImage) Reset()

func (*APIImage) String

func (x *APIImage) String() string

type APIItem

type APIItem struct {
	Id                         int64     `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Catname                    string    `protobuf:"bytes,2,opt,name=catname,proto3" json:"catname,omitempty"`
	NameOnly                   string    `protobuf:"bytes,3,opt,name=name_only,json=nameOnly,proto3" json:"name_only,omitempty"`
	NameText                   string    `protobuf:"bytes,4,opt,name=name_text,json=nameText,proto3" json:"name_text,omitempty"`
	NameHtml                   string    `protobuf:"bytes,5,opt,name=name_html,json=nameHtml,proto3" json:"name_html,omitempty"`
	DescendantsCount           int32     `protobuf:"varint,6,opt,name=descendants_count,json=descendantsCount,proto3" json:"descendants_count,omitempty"`
	EngineItemId               int64     `protobuf:"varint,7,opt,name=engine_item_id,json=engineItemId,proto3" json:"engine_item_id,omitempty"`
	ItemTypeId                 ItemType  `protobuf:"varint,8,opt,name=item_type_id,json=itemTypeId,proto3,enum=goautowp.ItemType" json:"item_type_id,omitempty"`
	Description                string    `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
	IsConcept                  bool      `protobuf:"varint,10,opt,name=is_concept,json=isConcept,proto3" json:"is_concept,omitempty"`
	IsConceptInherit           bool      `protobuf:"varint,11,opt,name=is_concept_inherit,json=isConceptInherit,proto3" json:"is_concept_inherit,omitempty"`
	SpecId                     int64     `protobuf:"varint,12,opt,name=spec_id,json=specId,proto3" json:"spec_id,omitempty"`
	FullText                   string    `protobuf:"bytes,13,opt,name=full_text,json=fullText,proto3" json:"full_text,omitempty"`
	CurrentPicturesCount       int32     `protobuf:"varint,14,opt,name=current_pictures_count,json=currentPicturesCount,proto3" json:"current_pictures_count,omitempty"`
	ChildsCount                int32     `protobuf:"varint,15,opt,name=childs_count,json=childsCount,proto3" json:"childs_count,omitempty"`
	DescendantTwinsGroupsCount int32     `` /* 145-byte string literal not displayed */
	InboxPicturesCount         int32     `protobuf:"varint,17,opt,name=inbox_pictures_count,json=inboxPicturesCount,proto3" json:"inbox_pictures_count,omitempty"`
	FullName                   string    `protobuf:"bytes,18,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	Logo120                    *APIImage `protobuf:"bytes,19,opt,name=logo120,proto3" json:"logo120,omitempty"`
	MostsActive                bool      `protobuf:"varint,20,opt,name=mosts_active,json=mostsActive,proto3" json:"mosts_active,omitempty"`
	CommentsAttentionsCount    int32     `` /* 134-byte string literal not displayed */
	IsCompilesItemOfDay        bool      `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*APIItem) Descriptor deprecated

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

Deprecated: Use APIItem.ProtoReflect.Descriptor instead.

func (*APIItem) GetCatname

func (x *APIItem) GetCatname() string

func (*APIItem) GetChildsCount added in v1.63.0

func (x *APIItem) GetChildsCount() int32

func (*APIItem) GetCommentsAttentionsCount added in v1.67.0

func (x *APIItem) GetCommentsAttentionsCount() int32

func (*APIItem) GetCurrentPicturesCount added in v1.57.0

func (x *APIItem) GetCurrentPicturesCount() int32

func (*APIItem) GetDescendantTwinsGroupsCount added in v1.65.0

func (x *APIItem) GetDescendantTwinsGroupsCount() int32

func (*APIItem) GetDescendantsCount added in v1.51.0

func (x *APIItem) GetDescendantsCount() int32

func (*APIItem) GetDescription added in v1.53.0

func (x *APIItem) GetDescription() string

func (*APIItem) GetEngineItemId added in v1.52.2

func (x *APIItem) GetEngineItemId() int64

func (*APIItem) GetFullName added in v1.65.0

func (x *APIItem) GetFullName() string

func (*APIItem) GetFullText added in v1.54.0

func (x *APIItem) GetFullText() string

func (*APIItem) GetId

func (x *APIItem) GetId() int64

func (*APIItem) GetInboxPicturesCount added in v1.65.0

func (x *APIItem) GetInboxPicturesCount() int32

func (*APIItem) GetIsCompilesItemOfDay added in v1.71.0

func (x *APIItem) GetIsCompilesItemOfDay() bool

func (*APIItem) GetIsConcept added in v1.53.0

func (x *APIItem) GetIsConcept() bool

func (*APIItem) GetIsConceptInherit added in v1.53.0

func (x *APIItem) GetIsConceptInherit() bool

func (*APIItem) GetItemTypeId added in v1.52.2

func (x *APIItem) GetItemTypeId() ItemType

func (*APIItem) GetLogo120 added in v1.65.0

func (x *APIItem) GetLogo120() *APIImage

func (*APIItem) GetMostsActive added in v1.66.0

func (x *APIItem) GetMostsActive() bool

func (*APIItem) GetNameHtml added in v1.51.0

func (x *APIItem) GetNameHtml() string

func (*APIItem) GetNameOnly added in v1.52.0

func (x *APIItem) GetNameOnly() string

func (*APIItem) GetNameText added in v1.51.0

func (x *APIItem) GetNameText() string

func (*APIItem) GetSpecId added in v1.53.0

func (x *APIItem) GetSpecId() int64

func (*APIItem) ProtoMessage

func (*APIItem) ProtoMessage()

func (*APIItem) ProtoReflect

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

func (*APIItem) Reset

func (x *APIItem) Reset()

func (*APIItem) String

func (x *APIItem) String() string
type APIItemLink struct {
	Id     int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name   string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Url    string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	Type   string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	ItemId int64  `protobuf:"varint,5,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	// contains filtered or unexported fields
}

func (*APIItemLink) Descriptor deprecated added in v1.28.0

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

Deprecated: Use APIItemLink.ProtoReflect.Descriptor instead.

func (*APIItemLink) GetId added in v1.28.0

func (x *APIItemLink) GetId() int64

func (*APIItemLink) GetItemId added in v1.28.0

func (x *APIItemLink) GetItemId() int64

func (*APIItemLink) GetName added in v1.28.0

func (x *APIItemLink) GetName() string

func (*APIItemLink) GetType added in v1.28.0

func (x *APIItemLink) GetType() string

func (*APIItemLink) GetUrl added in v1.28.0

func (x *APIItemLink) GetUrl() string

func (*APIItemLink) ProtoMessage added in v1.28.0

func (*APIItemLink) ProtoMessage()

func (*APIItemLink) ProtoReflect added in v1.28.0

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

func (*APIItemLink) Reset added in v1.28.0

func (x *APIItemLink) Reset()

func (*APIItemLink) String added in v1.28.0

func (x *APIItemLink) String() string

func (*APIItemLink) Validate added in v1.28.0

type APIItemLinkRequest added in v1.28.0

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

func (*APIItemLinkRequest) Descriptor deprecated added in v1.28.0

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

Deprecated: Use APIItemLinkRequest.ProtoReflect.Descriptor instead.

func (*APIItemLinkRequest) GetId added in v1.28.0

func (x *APIItemLinkRequest) GetId() int64

func (*APIItemLinkRequest) ProtoMessage added in v1.28.0

func (*APIItemLinkRequest) ProtoMessage()

func (*APIItemLinkRequest) ProtoReflect added in v1.28.0

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

func (*APIItemLinkRequest) Reset added in v1.28.0

func (x *APIItemLinkRequest) Reset()

func (*APIItemLinkRequest) String added in v1.28.0

func (x *APIItemLinkRequest) String() string

type APIItemLinksResponse added in v1.28.0

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

func (*APIItemLinksResponse) Descriptor deprecated added in v1.28.0

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

Deprecated: Use APIItemLinksResponse.ProtoReflect.Descriptor instead.

func (*APIItemLinksResponse) GetItems added in v1.28.0

func (x *APIItemLinksResponse) GetItems() []*APIItemLink

func (*APIItemLinksResponse) ProtoMessage added in v1.28.0

func (*APIItemLinksResponse) ProtoMessage()

func (*APIItemLinksResponse) ProtoReflect added in v1.28.0

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

func (*APIItemLinksResponse) Reset added in v1.28.0

func (x *APIItemLinksResponse) Reset()

func (*APIItemLinksResponse) String added in v1.28.0

func (x *APIItemLinksResponse) String() string

type APIItemList

type APIItemList struct {
	Items     []*APIItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Paginator *Pages     `protobuf:"bytes,2,opt,name=paginator,proto3" json:"paginator,omitempty"`
	// contains filtered or unexported fields
}

func (*APIItemList) Descriptor deprecated

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

Deprecated: Use APIItemList.ProtoReflect.Descriptor instead.

func (*APIItemList) GetItems

func (x *APIItemList) GetItems() []*APIItem

func (*APIItemList) GetPaginator added in v1.58.0

func (x *APIItemList) GetPaginator() *Pages

func (*APIItemList) ProtoMessage

func (*APIItemList) ProtoMessage()

func (*APIItemList) ProtoReflect

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

func (*APIItemList) Reset

func (x *APIItemList) Reset()

func (*APIItemList) String

func (x *APIItemList) String() string

type APIItemVehicleType added in v1.29.0

type APIItemVehicleType struct {
	ItemId        int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	VehicleTypeId int64 `protobuf:"varint,2,opt,name=vehicle_type_id,json=vehicleTypeId,proto3" json:"vehicle_type_id,omitempty"`
	// contains filtered or unexported fields
}

func (*APIItemVehicleType) Descriptor deprecated added in v1.29.0

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

Deprecated: Use APIItemVehicleType.ProtoReflect.Descriptor instead.

func (*APIItemVehicleType) GetItemId added in v1.29.0

func (x *APIItemVehicleType) GetItemId() int64

func (*APIItemVehicleType) GetVehicleTypeId added in v1.29.0

func (x *APIItemVehicleType) GetVehicleTypeId() int64

func (*APIItemVehicleType) ProtoMessage added in v1.29.0

func (*APIItemVehicleType) ProtoMessage()

func (*APIItemVehicleType) ProtoReflect added in v1.29.0

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

func (*APIItemVehicleType) Reset added in v1.29.0

func (x *APIItemVehicleType) Reset()

func (*APIItemVehicleType) String added in v1.29.0

func (x *APIItemVehicleType) String() string

type APIItemVehicleTypeRequest added in v1.29.0

type APIItemVehicleTypeRequest struct {
	ItemId        int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	VehicleTypeId int64 `protobuf:"varint,2,opt,name=vehicle_type_id,json=vehicleTypeId,proto3" json:"vehicle_type_id,omitempty"`
	// contains filtered or unexported fields
}

func (*APIItemVehicleTypeRequest) Descriptor deprecated added in v1.29.0

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

Deprecated: Use APIItemVehicleTypeRequest.ProtoReflect.Descriptor instead.

func (*APIItemVehicleTypeRequest) GetItemId added in v1.29.0

func (x *APIItemVehicleTypeRequest) GetItemId() int64

func (*APIItemVehicleTypeRequest) GetVehicleTypeId added in v1.29.0

func (x *APIItemVehicleTypeRequest) GetVehicleTypeId() int64

func (*APIItemVehicleTypeRequest) ProtoMessage added in v1.29.0

func (*APIItemVehicleTypeRequest) ProtoMessage()

func (*APIItemVehicleTypeRequest) ProtoReflect added in v1.29.0

func (*APIItemVehicleTypeRequest) Reset added in v1.29.0

func (x *APIItemVehicleTypeRequest) Reset()

func (*APIItemVehicleTypeRequest) String added in v1.29.0

func (x *APIItemVehicleTypeRequest) String() string

type APIMeRequest

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

func (*APIMeRequest) Descriptor deprecated

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

Deprecated: Use APIMeRequest.ProtoReflect.Descriptor instead.

func (*APIMeRequest) ProtoMessage

func (*APIMeRequest) ProtoMessage()

func (*APIMeRequest) ProtoReflect

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

func (*APIMeRequest) Reset

func (x *APIMeRequest) Reset()

func (*APIMeRequest) String

func (x *APIMeRequest) String() string

type APIMessage

type APIMessage struct {
	Id               int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Text             string                 `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	IsNew            bool                   `protobuf:"varint,3,opt,name=is_new,json=isNew,proto3" json:"is_new,omitempty"`
	CanDelete        bool                   `protobuf:"varint,4,opt,name=can_delete,json=canDelete,proto3" json:"can_delete,omitempty"`
	CanReply         bool                   `protobuf:"varint,5,opt,name=can_reply,json=canReply,proto3" json:"can_reply,omitempty"`
	Date             *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=date,proto3" json:"date,omitempty"`
	AllMessagesLink  bool                   `protobuf:"varint,7,opt,name=all_messages_link,json=allMessagesLink,proto3" json:"all_messages_link,omitempty"`
	DialogCount      int32                  `protobuf:"varint,8,opt,name=dialog_count,json=dialogCount,proto3" json:"dialog_count,omitempty"`
	AuthorId         int64                  `protobuf:"varint,9,opt,name=author_id,json=authorId,proto3" json:"author_id,omitempty"`
	ToUserId         int64                  `protobuf:"varint,10,opt,name=to_user_id,json=toUserId,proto3" json:"to_user_id,omitempty"`
	DialogWithUserId int64                  `protobuf:"varint,11,opt,name=dialog_with_user_id,json=dialogWithUserId,proto3" json:"dialog_with_user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*APIMessage) Descriptor deprecated

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

Deprecated: Use APIMessage.ProtoReflect.Descriptor instead.

func (x *APIMessage) GetAllMessagesLink() bool

func (*APIMessage) GetAuthorId

func (x *APIMessage) GetAuthorId() int64

func (*APIMessage) GetCanDelete

func (x *APIMessage) GetCanDelete() bool

func (*APIMessage) GetCanReply

func (x *APIMessage) GetCanReply() bool

func (*APIMessage) GetDate

func (x *APIMessage) GetDate() *timestamppb.Timestamp

func (*APIMessage) GetDialogCount

func (x *APIMessage) GetDialogCount() int32

func (*APIMessage) GetDialogWithUserId

func (x *APIMessage) GetDialogWithUserId() int64

func (*APIMessage) GetId

func (x *APIMessage) GetId() int64

func (*APIMessage) GetIsNew

func (x *APIMessage) GetIsNew() bool

func (*APIMessage) GetText

func (x *APIMessage) GetText() string

func (*APIMessage) GetToUserId

func (x *APIMessage) GetToUserId() int64

func (*APIMessage) ProtoMessage

func (*APIMessage) ProtoMessage()

func (*APIMessage) ProtoReflect

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

func (*APIMessage) Reset

func (x *APIMessage) Reset()

func (*APIMessage) String

func (x *APIMessage) String() string

type APIMessageNewCount

type APIMessageNewCount struct {
	Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*APIMessageNewCount) Descriptor deprecated

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

Deprecated: Use APIMessageNewCount.ProtoReflect.Descriptor instead.

func (*APIMessageNewCount) GetCount

func (x *APIMessageNewCount) GetCount() int32

func (*APIMessageNewCount) ProtoMessage

func (*APIMessageNewCount) ProtoMessage()

func (*APIMessageNewCount) ProtoReflect

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

func (*APIMessageNewCount) Reset

func (x *APIMessageNewCount) Reset()

func (*APIMessageNewCount) String

func (x *APIMessageNewCount) String() string

type APIMessageSummary

type APIMessageSummary struct {
	InboxCount     int32 `protobuf:"varint,1,opt,name=inbox_count,json=inboxCount,proto3" json:"inbox_count,omitempty"`
	InboxNewCount  int32 `protobuf:"varint,2,opt,name=inbox_new_count,json=inboxNewCount,proto3" json:"inbox_new_count,omitempty"`
	SentCount      int32 `protobuf:"varint,3,opt,name=sent_count,json=sentCount,proto3" json:"sent_count,omitempty"`
	SystemCount    int32 `protobuf:"varint,4,opt,name=system_count,json=systemCount,proto3" json:"system_count,omitempty"`
	SystemNewCount int32 `protobuf:"varint,5,opt,name=system_new_count,json=systemNewCount,proto3" json:"system_new_count,omitempty"`
	// contains filtered or unexported fields
}

func (*APIMessageSummary) Descriptor deprecated

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

Deprecated: Use APIMessageSummary.ProtoReflect.Descriptor instead.

func (*APIMessageSummary) GetInboxCount

func (x *APIMessageSummary) GetInboxCount() int32

func (*APIMessageSummary) GetInboxNewCount

func (x *APIMessageSummary) GetInboxNewCount() int32

func (*APIMessageSummary) GetSentCount

func (x *APIMessageSummary) GetSentCount() int32

func (*APIMessageSummary) GetSystemCount

func (x *APIMessageSummary) GetSystemCount() int32

func (*APIMessageSummary) GetSystemNewCount

func (x *APIMessageSummary) GetSystemNewCount() int32

func (*APIMessageSummary) ProtoMessage

func (*APIMessageSummary) ProtoMessage()

func (*APIMessageSummary) ProtoReflect

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

func (*APIMessageSummary) Reset

func (x *APIMessageSummary) Reset()

func (*APIMessageSummary) String

func (x *APIMessageSummary) String() string

type APIMoveTopicRequest added in v1.25.0

type APIMoveTopicRequest struct {
	Id      int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ThemeId int64 `protobuf:"varint,2,opt,name=theme_id,json=themeId,proto3" json:"theme_id,omitempty"`
	// contains filtered or unexported fields
}

func (*APIMoveTopicRequest) Descriptor deprecated added in v1.25.0

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

Deprecated: Use APIMoveTopicRequest.ProtoReflect.Descriptor instead.

func (*APIMoveTopicRequest) GetId added in v1.25.0

func (x *APIMoveTopicRequest) GetId() int64

func (*APIMoveTopicRequest) GetThemeId added in v1.25.0

func (x *APIMoveTopicRequest) GetThemeId() int64

func (*APIMoveTopicRequest) ProtoMessage added in v1.25.0

func (*APIMoveTopicRequest) ProtoMessage()

func (*APIMoveTopicRequest) ProtoReflect added in v1.25.0

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

func (*APIMoveTopicRequest) Reset added in v1.25.0

func (x *APIMoveTopicRequest) Reset()

func (*APIMoveTopicRequest) String added in v1.25.0

func (x *APIMoveTopicRequest) String() string

type APISetTopicStatusRequest added in v1.24.0

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

func (*APISetTopicStatusRequest) Descriptor deprecated added in v1.24.0

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

Deprecated: Use APISetTopicStatusRequest.ProtoReflect.Descriptor instead.

func (*APISetTopicStatusRequest) GetId added in v1.24.0

func (x *APISetTopicStatusRequest) GetId() int64

func (*APISetTopicStatusRequest) ProtoMessage added in v1.24.0

func (*APISetTopicStatusRequest) ProtoMessage()

func (*APISetTopicStatusRequest) ProtoReflect added in v1.24.0

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

func (*APISetTopicStatusRequest) Reset added in v1.24.0

func (x *APISetTopicStatusRequest) Reset()

func (*APISetTopicStatusRequest) String added in v1.24.0

func (x *APISetTopicStatusRequest) String() string

type APITopBrandsList

type APITopBrandsList struct {
	Brands []*APITopBrandsListItem `protobuf:"bytes,1,rep,name=brands,proto3" json:"brands,omitempty"`
	Total  int32                   `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*APITopBrandsList) Descriptor deprecated

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

Deprecated: Use APITopBrandsList.ProtoReflect.Descriptor instead.

func (*APITopBrandsList) GetBrands

func (x *APITopBrandsList) GetBrands() []*APITopBrandsListItem

func (*APITopBrandsList) GetTotal

func (x *APITopBrandsList) GetTotal() int32

func (*APITopBrandsList) ProtoMessage

func (*APITopBrandsList) ProtoMessage()

func (*APITopBrandsList) ProtoReflect

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

func (*APITopBrandsList) Reset

func (x *APITopBrandsList) Reset()

func (*APITopBrandsList) String

func (x *APITopBrandsList) String() string

type APITopBrandsListItem

type APITopBrandsListItem struct {
	Id            int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Catname       string `protobuf:"bytes,2,opt,name=catname,proto3" json:"catname,omitempty"`
	Name          string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	ItemsCount    int32  `protobuf:"varint,4,opt,name=items_count,json=itemsCount,proto3" json:"items_count,omitempty"`
	NewItemsCount int32  `protobuf:"varint,5,opt,name=new_items_count,json=newItemsCount,proto3" json:"new_items_count,omitempty"`
	// contains filtered or unexported fields
}

func (*APITopBrandsListItem) Descriptor deprecated

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

Deprecated: Use APITopBrandsListItem.ProtoReflect.Descriptor instead.

func (*APITopBrandsListItem) GetCatname

func (x *APITopBrandsListItem) GetCatname() string

func (*APITopBrandsListItem) GetId

func (x *APITopBrandsListItem) GetId() int64

func (*APITopBrandsListItem) GetItemsCount

func (x *APITopBrandsListItem) GetItemsCount() int32

func (*APITopBrandsListItem) GetName

func (x *APITopBrandsListItem) GetName() string

func (*APITopBrandsListItem) GetNewItemsCount

func (x *APITopBrandsListItem) GetNewItemsCount() int32

func (*APITopBrandsListItem) ProtoMessage

func (*APITopBrandsListItem) ProtoMessage()

func (*APITopBrandsListItem) ProtoReflect

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

func (*APITopBrandsListItem) Reset

func (x *APITopBrandsListItem) Reset()

func (*APITopBrandsListItem) String

func (x *APITopBrandsListItem) String() string

type APITopCategoriesList

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

func (*APITopCategoriesList) Descriptor deprecated

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

Deprecated: Use APITopCategoriesList.ProtoReflect.Descriptor instead.

func (*APITopCategoriesList) GetItems

func (*APITopCategoriesList) ProtoMessage

func (*APITopCategoriesList) ProtoMessage()

func (*APITopCategoriesList) ProtoReflect

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

func (*APITopCategoriesList) Reset

func (x *APITopCategoriesList) Reset()

func (*APITopCategoriesList) String

func (x *APITopCategoriesList) String() string

type APITopCategoriesListItem

type APITopCategoriesListItem struct {
	Id       int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Catname  string `protobuf:"bytes,3,opt,name=catname,proto3" json:"catname,omitempty"`
	Count    int32  `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
	NewCount int32  `protobuf:"varint,5,opt,name=new_count,json=newCount,proto3" json:"new_count,omitempty"`
	// contains filtered or unexported fields
}

func (*APITopCategoriesListItem) Descriptor deprecated

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

Deprecated: Use APITopCategoriesListItem.ProtoReflect.Descriptor instead.

func (*APITopCategoriesListItem) GetCatname

func (x *APITopCategoriesListItem) GetCatname() string

func (*APITopCategoriesListItem) GetCount

func (x *APITopCategoriesListItem) GetCount() int32

func (*APITopCategoriesListItem) GetId

func (x *APITopCategoriesListItem) GetId() int64

func (*APITopCategoriesListItem) GetName

func (x *APITopCategoriesListItem) GetName() string

func (*APITopCategoriesListItem) GetNewCount

func (x *APITopCategoriesListItem) GetNewCount() int32

func (*APITopCategoriesListItem) ProtoMessage

func (*APITopCategoriesListItem) ProtoMessage()

func (*APITopCategoriesListItem) ProtoReflect

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

func (*APITopCategoriesListItem) Reset

func (x *APITopCategoriesListItem) Reset()

func (*APITopCategoriesListItem) String

func (x *APITopCategoriesListItem) String() string

type APITopFactoriesList

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

func (*APITopFactoriesList) Descriptor deprecated

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

Deprecated: Use APITopFactoriesList.ProtoReflect.Descriptor instead.

func (*APITopFactoriesList) GetItems

func (*APITopFactoriesList) ProtoMessage

func (*APITopFactoriesList) ProtoMessage()

func (*APITopFactoriesList) ProtoReflect

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

func (*APITopFactoriesList) Reset

func (x *APITopFactoriesList) Reset()

func (*APITopFactoriesList) String

func (x *APITopFactoriesList) String() string

type APITopFactoriesListItem

type APITopFactoriesListItem struct {
	Id       int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Count    int32  `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	NewCount int32  `protobuf:"varint,4,opt,name=new_count,json=newCount,proto3" json:"new_count,omitempty"`
	// contains filtered or unexported fields
}

func (*APITopFactoriesListItem) Descriptor deprecated

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

Deprecated: Use APITopFactoriesListItem.ProtoReflect.Descriptor instead.

func (*APITopFactoriesListItem) GetCount

func (x *APITopFactoriesListItem) GetCount() int32

func (*APITopFactoriesListItem) GetId

func (x *APITopFactoriesListItem) GetId() int64

func (*APITopFactoriesListItem) GetName

func (x *APITopFactoriesListItem) GetName() string

func (*APITopFactoriesListItem) GetNewCount

func (x *APITopFactoriesListItem) GetNewCount() int32

func (*APITopFactoriesListItem) ProtoMessage

func (*APITopFactoriesListItem) ProtoMessage()

func (*APITopFactoriesListItem) ProtoReflect

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

func (*APITopFactoriesListItem) Reset

func (x *APITopFactoriesListItem) Reset()

func (*APITopFactoriesListItem) String

func (x *APITopFactoriesListItem) String() string

type APITopPersonsList

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

func (*APITopPersonsList) Descriptor deprecated

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

Deprecated: Use APITopPersonsList.ProtoReflect.Descriptor instead.

func (*APITopPersonsList) GetItems

func (x *APITopPersonsList) GetItems() []*APITopPersonsListItem

func (*APITopPersonsList) ProtoMessage

func (*APITopPersonsList) ProtoMessage()

func (*APITopPersonsList) ProtoReflect

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

func (*APITopPersonsList) Reset

func (x *APITopPersonsList) Reset()

func (*APITopPersonsList) String

func (x *APITopPersonsList) String() string

type APITopPersonsListItem

type APITopPersonsListItem struct {
	Id   int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*APITopPersonsListItem) Descriptor deprecated

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

Deprecated: Use APITopPersonsListItem.ProtoReflect.Descriptor instead.

func (*APITopPersonsListItem) GetId

func (x *APITopPersonsListItem) GetId() int64

func (*APITopPersonsListItem) GetName

func (x *APITopPersonsListItem) GetName() string

func (*APITopPersonsListItem) ProtoMessage

func (*APITopPersonsListItem) ProtoMessage()

func (*APITopPersonsListItem) ProtoReflect

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

func (*APITopPersonsListItem) Reset

func (x *APITopPersonsListItem) Reset()

func (*APITopPersonsListItem) String

func (x *APITopPersonsListItem) String() string

type APITopTwinsBrandsList

type APITopTwinsBrandsList struct {
	Items []*APITwinsBrandsListItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Count int32                     `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*APITopTwinsBrandsList) Descriptor deprecated

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

Deprecated: Use APITopTwinsBrandsList.ProtoReflect.Descriptor instead.

func (*APITopTwinsBrandsList) GetCount

func (x *APITopTwinsBrandsList) GetCount() int32

func (*APITopTwinsBrandsList) GetItems

func (*APITopTwinsBrandsList) ProtoMessage

func (*APITopTwinsBrandsList) ProtoMessage()

func (*APITopTwinsBrandsList) ProtoReflect

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

func (*APITopTwinsBrandsList) Reset

func (x *APITopTwinsBrandsList) Reset()

func (*APITopTwinsBrandsList) String

func (x *APITopTwinsBrandsList) String() string

type APITrafficTopItem

type APITrafficTopItem struct {
	Ip          string      `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Count       int32       `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	Ban         *APIBanItem `protobuf:"bytes,3,opt,name=ban,proto3" json:"ban,omitempty"`
	InWhitelist bool        `protobuf:"varint,4,opt,name=in_whitelist,json=inWhitelist,proto3" json:"in_whitelist,omitempty"`
	WhoisUrl    string      `protobuf:"bytes,5,opt,name=whois_url,json=whoisUrl,proto3" json:"whois_url,omitempty"`
	// contains filtered or unexported fields
}

func (*APITrafficTopItem) Descriptor deprecated

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

Deprecated: Use APITrafficTopItem.ProtoReflect.Descriptor instead.

func (*APITrafficTopItem) GetBan

func (x *APITrafficTopItem) GetBan() *APIBanItem

func (*APITrafficTopItem) GetCount

func (x *APITrafficTopItem) GetCount() int32

func (*APITrafficTopItem) GetInWhitelist

func (x *APITrafficTopItem) GetInWhitelist() bool

func (*APITrafficTopItem) GetIp

func (x *APITrafficTopItem) GetIp() string

func (*APITrafficTopItem) GetWhoisUrl

func (x *APITrafficTopItem) GetWhoisUrl() string

func (*APITrafficTopItem) ProtoMessage

func (*APITrafficTopItem) ProtoMessage()

func (*APITrafficTopItem) ProtoReflect

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

func (*APITrafficTopItem) Reset

func (x *APITrafficTopItem) Reset()

func (*APITrafficTopItem) String

func (x *APITrafficTopItem) String() string

type APITrafficTopResponse

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

func (*APITrafficTopResponse) Descriptor deprecated

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

Deprecated: Use APITrafficTopResponse.ProtoReflect.Descriptor instead.

func (*APITrafficTopResponse) GetItems

func (x *APITrafficTopResponse) GetItems() []*APITrafficTopItem

func (*APITrafficTopResponse) ProtoMessage

func (*APITrafficTopResponse) ProtoMessage()

func (*APITrafficTopResponse) ProtoReflect

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

func (*APITrafficTopResponse) Reset

func (x *APITrafficTopResponse) Reset()

func (*APITrafficTopResponse) String

func (x *APITrafficTopResponse) String() string

type APITrafficWhitelistItem

type APITrafficWhitelistItem struct {
	Ip          string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*APITrafficWhitelistItem) Descriptor deprecated

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

Deprecated: Use APITrafficWhitelistItem.ProtoReflect.Descriptor instead.

func (*APITrafficWhitelistItem) GetDescription

func (x *APITrafficWhitelistItem) GetDescription() string

func (*APITrafficWhitelistItem) GetIp

func (x *APITrafficWhitelistItem) GetIp() string

func (*APITrafficWhitelistItem) ProtoMessage

func (*APITrafficWhitelistItem) ProtoMessage()

func (*APITrafficWhitelistItem) ProtoReflect

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

func (*APITrafficWhitelistItem) Reset

func (x *APITrafficWhitelistItem) Reset()

func (*APITrafficWhitelistItem) String

func (x *APITrafficWhitelistItem) String() string

type APITrafficWhitelistItems

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

func (*APITrafficWhitelistItems) Descriptor deprecated

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

Deprecated: Use APITrafficWhitelistItems.ProtoReflect.Descriptor instead.

func (*APITrafficWhitelistItems) GetItems

func (*APITrafficWhitelistItems) ProtoMessage

func (*APITrafficWhitelistItems) ProtoMessage()

func (*APITrafficWhitelistItems) ProtoReflect

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

func (*APITrafficWhitelistItems) Reset

func (x *APITrafficWhitelistItems) Reset()

func (*APITrafficWhitelistItems) String

func (x *APITrafficWhitelistItems) String() string

type APITreeItem

type APITreeItem struct {
	Id     string         `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name   string         `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Childs []*APITreeItem `protobuf:"bytes,3,rep,name=childs,proto3" json:"childs,omitempty"`
	Type   int32          `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*APITreeItem) Descriptor deprecated

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

Deprecated: Use APITreeItem.ProtoReflect.Descriptor instead.

func (*APITreeItem) GetChilds

func (x *APITreeItem) GetChilds() []*APITreeItem

func (*APITreeItem) GetId

func (x *APITreeItem) GetId() string

func (*APITreeItem) GetName

func (x *APITreeItem) GetName() string

func (*APITreeItem) GetType

func (x *APITreeItem) GetType() int32

func (*APITreeItem) ProtoMessage

func (*APITreeItem) ProtoMessage()

func (*APITreeItem) ProtoReflect

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

func (*APITreeItem) Reset

func (x *APITreeItem) Reset()

func (*APITreeItem) String

func (x *APITreeItem) String() string

type APITwinsBrandsList added in v1.36.0

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

func (*APITwinsBrandsList) Descriptor deprecated added in v1.36.0

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

Deprecated: Use APITwinsBrandsList.ProtoReflect.Descriptor instead.

func (*APITwinsBrandsList) GetItems added in v1.36.0

func (x *APITwinsBrandsList) GetItems() []*APITwinsBrandsListItem

func (*APITwinsBrandsList) ProtoMessage added in v1.36.0

func (*APITwinsBrandsList) ProtoMessage()

func (*APITwinsBrandsList) ProtoReflect added in v1.36.0

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

func (*APITwinsBrandsList) Reset added in v1.36.0

func (x *APITwinsBrandsList) Reset()

func (*APITwinsBrandsList) String added in v1.36.0

func (x *APITwinsBrandsList) String() string

type APITwinsBrandsListItem added in v1.36.0

type APITwinsBrandsListItem struct {
	Id       int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Catname  string `protobuf:"bytes,3,opt,name=catname,proto3" json:"catname,omitempty"`
	Count    int32  `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
	NewCount int32  `protobuf:"varint,5,opt,name=new_count,json=newCount,proto3" json:"new_count,omitempty"`
	// contains filtered or unexported fields
}

func (*APITwinsBrandsListItem) Descriptor deprecated added in v1.36.0

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

Deprecated: Use APITwinsBrandsListItem.ProtoReflect.Descriptor instead.

func (*APITwinsBrandsListItem) GetCatname added in v1.36.0

func (x *APITwinsBrandsListItem) GetCatname() string

func (*APITwinsBrandsListItem) GetCount added in v1.36.0

func (x *APITwinsBrandsListItem) GetCount() int32

func (*APITwinsBrandsListItem) GetId added in v1.36.0

func (x *APITwinsBrandsListItem) GetId() int64

func (*APITwinsBrandsListItem) GetName added in v1.36.0

func (x *APITwinsBrandsListItem) GetName() string

func (*APITwinsBrandsListItem) GetNewCount added in v1.36.0

func (x *APITwinsBrandsListItem) GetNewCount() int32

func (*APITwinsBrandsListItem) ProtoMessage added in v1.36.0

func (*APITwinsBrandsListItem) ProtoMessage()

func (*APITwinsBrandsListItem) ProtoReflect added in v1.36.0

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

func (*APITwinsBrandsListItem) Reset added in v1.36.0

func (x *APITwinsBrandsListItem) Reset()

func (*APITwinsBrandsListItem) String added in v1.36.0

func (x *APITwinsBrandsListItem) String() string

type APIUser

type APIUser struct {
	Id          int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Deleted     bool                   `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"`
	LongAway    bool                   `protobuf:"varint,4,opt,name=long_away,json=longAway,proto3" json:"long_away,omitempty"`
	Green       bool                   `protobuf:"varint,5,opt,name=green,proto3" json:"green,omitempty"`
	Route       []string               `protobuf:"bytes,6,rep,name=route,proto3" json:"route,omitempty"`
	Identity    string                 `protobuf:"bytes,7,opt,name=identity,proto3" json:"identity,omitempty"`
	Avatar      *APIImage              `protobuf:"bytes,8,opt,name=avatar,proto3" json:"avatar,omitempty"`
	Gravatar    string                 `protobuf:"bytes,9,opt,name=gravatar,proto3" json:"gravatar,omitempty"`
	LastOnline  *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_online,json=lastOnline,proto3" json:"last_online,omitempty"`
	SpecsWeight float64                `protobuf:"fixed64,11,opt,name=specs_weight,json=specsWeight,proto3" json:"specs_weight,omitempty"`
	// contains filtered or unexported fields
}

func (*APIUser) Descriptor deprecated

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

Deprecated: Use APIUser.ProtoReflect.Descriptor instead.

func (*APIUser) GetAvatar

func (x *APIUser) GetAvatar() *APIImage

func (*APIUser) GetDeleted

func (x *APIUser) GetDeleted() bool

func (*APIUser) GetGravatar

func (x *APIUser) GetGravatar() string

func (*APIUser) GetGreen

func (x *APIUser) GetGreen() bool

func (*APIUser) GetId

func (x *APIUser) GetId() int64

func (*APIUser) GetIdentity

func (x *APIUser) GetIdentity() string

func (*APIUser) GetLastOnline

func (x *APIUser) GetLastOnline() *timestamppb.Timestamp

func (*APIUser) GetLongAway

func (x *APIUser) GetLongAway() bool

func (*APIUser) GetName

func (x *APIUser) GetName() string

func (*APIUser) GetRoute

func (x *APIUser) GetRoute() []string

func (*APIUser) GetSpecsWeight

func (x *APIUser) GetSpecsWeight() float64

func (*APIUser) ProtoMessage

func (*APIUser) ProtoMessage()

func (*APIUser) ProtoReflect

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

func (*APIUser) Reset

func (x *APIUser) Reset()

func (*APIUser) String

func (x *APIUser) String() string

type APIUserPreferencesRequest added in v1.1.0

type APIUserPreferencesRequest struct {
	UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*APIUserPreferencesRequest) Descriptor deprecated added in v1.1.0

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

Deprecated: Use APIUserPreferencesRequest.ProtoReflect.Descriptor instead.

func (*APIUserPreferencesRequest) GetUserId added in v1.1.0

func (x *APIUserPreferencesRequest) GetUserId() int64

func (*APIUserPreferencesRequest) ProtoMessage added in v1.1.0

func (*APIUserPreferencesRequest) ProtoMessage()

func (*APIUserPreferencesRequest) ProtoReflect added in v1.1.0

func (*APIUserPreferencesRequest) Reset added in v1.1.0

func (x *APIUserPreferencesRequest) Reset()

func (*APIUserPreferencesRequest) String added in v1.1.0

func (x *APIUserPreferencesRequest) String() string

type APIUserPreferencesResponse added in v1.1.0

type APIUserPreferencesResponse struct {
	DisableCommentsNotifications bool `` /* 148-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*APIUserPreferencesResponse) Descriptor deprecated added in v1.1.0

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

Deprecated: Use APIUserPreferencesResponse.ProtoReflect.Descriptor instead.

func (*APIUserPreferencesResponse) GetDisableCommentsNotifications added in v1.1.0

func (x *APIUserPreferencesResponse) GetDisableCommentsNotifications() bool

func (*APIUserPreferencesResponse) ProtoMessage added in v1.1.0

func (*APIUserPreferencesResponse) ProtoMessage()

func (*APIUserPreferencesResponse) ProtoReflect added in v1.1.0

func (*APIUserPreferencesResponse) Reset added in v1.1.0

func (x *APIUserPreferencesResponse) Reset()

func (*APIUserPreferencesResponse) String added in v1.1.0

func (x *APIUserPreferencesResponse) String() string

type APIUsersRatingResponse added in v1.75.0

type APIUsersRatingResponse struct {
	Users []*APIUsersRatingUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*APIUsersRatingResponse) Descriptor deprecated added in v1.75.0

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

Deprecated: Use APIUsersRatingResponse.ProtoReflect.Descriptor instead.

func (*APIUsersRatingResponse) GetUsers added in v1.75.0

func (x *APIUsersRatingResponse) GetUsers() []*APIUsersRatingUser

func (*APIUsersRatingResponse) ProtoMessage added in v1.75.0

func (*APIUsersRatingResponse) ProtoMessage()

func (*APIUsersRatingResponse) ProtoReflect added in v1.75.0

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

func (*APIUsersRatingResponse) Reset added in v1.75.0

func (x *APIUsersRatingResponse) Reset()

func (*APIUsersRatingResponse) String added in v1.75.0

func (x *APIUsersRatingResponse) String() string

type APIUsersRatingUser added in v1.75.0

type APIUsersRatingUser struct {
	UserId int64   `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Volume int64   `protobuf:"varint,2,opt,name=volume,proto3" json:"volume,omitempty"`
	Weight float64 `protobuf:"fixed64,3,opt,name=weight,proto3" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

func (*APIUsersRatingUser) Descriptor deprecated added in v1.75.0

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

Deprecated: Use APIUsersRatingUser.ProtoReflect.Descriptor instead.

func (*APIUsersRatingUser) GetUserId added in v1.75.0

func (x *APIUsersRatingUser) GetUserId() int64

func (*APIUsersRatingUser) GetVolume added in v1.75.0

func (x *APIUsersRatingUser) GetVolume() int64

func (*APIUsersRatingUser) GetWeight added in v1.75.0

func (x *APIUsersRatingUser) GetWeight() float64

func (*APIUsersRatingUser) ProtoMessage added in v1.75.0

func (*APIUsersRatingUser) ProtoMessage()

func (*APIUsersRatingUser) ProtoReflect added in v1.75.0

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

func (*APIUsersRatingUser) Reset added in v1.75.0

func (x *APIUsersRatingUser) Reset()

func (*APIUsersRatingUser) String added in v1.75.0

func (x *APIUsersRatingUser) String() string

type APIUsersRatingUserBrand added in v1.75.0

type APIUsersRatingUserBrand struct {
	Name   string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Route  []string `protobuf:"bytes,2,rep,name=route,proto3" json:"route,omitempty"`
	Volume int64    `protobuf:"varint,3,opt,name=volume,proto3" json:"volume,omitempty"`
	// contains filtered or unexported fields
}

func (*APIUsersRatingUserBrand) Descriptor deprecated added in v1.75.0

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

Deprecated: Use APIUsersRatingUserBrand.ProtoReflect.Descriptor instead.

func (*APIUsersRatingUserBrand) GetName added in v1.75.0

func (x *APIUsersRatingUserBrand) GetName() string

func (*APIUsersRatingUserBrand) GetRoute added in v1.75.0

func (x *APIUsersRatingUserBrand) GetRoute() []string

func (*APIUsersRatingUserBrand) GetVolume added in v1.77.0

func (x *APIUsersRatingUserBrand) GetVolume() int64

func (*APIUsersRatingUserBrand) ProtoMessage added in v1.75.0

func (*APIUsersRatingUserBrand) ProtoMessage()

func (*APIUsersRatingUserBrand) ProtoReflect added in v1.75.0

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

func (*APIUsersRatingUserBrand) Reset added in v1.75.0

func (x *APIUsersRatingUserBrand) Reset()

func (*APIUsersRatingUserBrand) String added in v1.75.0

func (x *APIUsersRatingUserBrand) String() string

type APIUsersRatingUserFan added in v1.75.0

type APIUsersRatingUserFan struct {
	UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Volume int64 `protobuf:"varint,2,opt,name=volume,proto3" json:"volume,omitempty"`
	// contains filtered or unexported fields
}

func (*APIUsersRatingUserFan) Descriptor deprecated added in v1.75.0

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

Deprecated: Use APIUsersRatingUserFan.ProtoReflect.Descriptor instead.

func (*APIUsersRatingUserFan) GetUserId added in v1.75.0

func (x *APIUsersRatingUserFan) GetUserId() int64

func (*APIUsersRatingUserFan) GetVolume added in v1.75.0

func (x *APIUsersRatingUserFan) GetVolume() int64

func (*APIUsersRatingUserFan) ProtoMessage added in v1.75.0

func (*APIUsersRatingUserFan) ProtoMessage()

func (*APIUsersRatingUserFan) ProtoReflect added in v1.75.0

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

func (*APIUsersRatingUserFan) Reset added in v1.75.0

func (x *APIUsersRatingUserFan) Reset()

func (*APIUsersRatingUserFan) String added in v1.75.0

func (x *APIUsersRatingUserFan) String() string

type APIUsersRequest added in v1.32.0

type APIUsersRequest struct {
	IsOnline bool   `protobuf:"varint,2,opt,name=is_online,json=isOnline,proto3" json:"is_online,omitempty"`
	Limit    uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	Page     uint64 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*APIUsersRequest) Descriptor deprecated added in v1.32.0

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

Deprecated: Use APIUsersRequest.ProtoReflect.Descriptor instead.

func (*APIUsersRequest) GetIsOnline added in v1.32.0

func (x *APIUsersRequest) GetIsOnline() bool

func (*APIUsersRequest) GetLimit added in v1.32.0

func (x *APIUsersRequest) GetLimit() uint64

func (*APIUsersRequest) GetPage added in v1.32.0

func (x *APIUsersRequest) GetPage() uint64

func (*APIUsersRequest) ProtoMessage added in v1.32.0

func (*APIUsersRequest) ProtoMessage()

func (*APIUsersRequest) ProtoReflect added in v1.32.0

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

func (*APIUsersRequest) Reset added in v1.32.0

func (x *APIUsersRequest) Reset()

func (*APIUsersRequest) String added in v1.32.0

func (x *APIUsersRequest) String() string

type APIUsersResponse added in v1.32.0

type APIUsersResponse struct {
	Items     []*APIUser `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Paginator *Pages     `protobuf:"bytes,2,opt,name=paginator,proto3" json:"paginator,omitempty"`
	// contains filtered or unexported fields
}

func (*APIUsersResponse) Descriptor deprecated added in v1.32.0

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

Deprecated: Use APIUsersResponse.ProtoReflect.Descriptor instead.

func (*APIUsersResponse) GetItems added in v1.32.0

func (x *APIUsersResponse) GetItems() []*APIUser

func (*APIUsersResponse) GetPaginator added in v1.32.0

func (x *APIUsersResponse) GetPaginator() *Pages

func (*APIUsersResponse) ProtoMessage added in v1.32.0

func (*APIUsersResponse) ProtoMessage()

func (*APIUsersResponse) ProtoReflect added in v1.32.0

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

func (*APIUsersResponse) Reset added in v1.32.0

func (x *APIUsersResponse) Reset()

func (*APIUsersResponse) String added in v1.32.0

func (x *APIUsersResponse) String() string

type AboutDataResponse

type AboutDataResponse struct {
	Developer      string   `protobuf:"bytes,1,opt,name=developer,proto3" json:"developer,omitempty"`
	FrTranslator   string   `protobuf:"bytes,2,opt,name=fr_translator,json=frTranslator,proto3" json:"fr_translator,omitempty"`
	ZhTranslator   string   `protobuf:"bytes,3,opt,name=zh_translator,json=zhTranslator,proto3" json:"zh_translator,omitempty"`
	BeTranslator   string   `protobuf:"bytes,4,opt,name=be_translator,json=beTranslator,proto3" json:"be_translator,omitempty"`
	PtBrTranslator string   `protobuf:"bytes,5,opt,name=pt_br_translator,json=ptBrTranslator,proto3" json:"pt_br_translator,omitempty"`
	Contributors   []string `protobuf:"bytes,6,rep,name=contributors,proto3" json:"contributors,omitempty"`
	TotalPictures  int32    `protobuf:"varint,7,opt,name=total_pictures,json=totalPictures,proto3" json:"total_pictures,omitempty"`
	PicturesSize   int32    `protobuf:"varint,8,opt,name=pictures_size,json=picturesSize,proto3" json:"pictures_size,omitempty"`
	TotalUsers     int32    `protobuf:"varint,9,opt,name=total_users,json=totalUsers,proto3" json:"total_users,omitempty"`
	TotalItems     int32    `protobuf:"varint,10,opt,name=total_items,json=totalItems,proto3" json:"total_items,omitempty"`
	TotalComments  int32    `protobuf:"varint,11,opt,name=total_comments,json=totalComments,proto3" json:"total_comments,omitempty"`
	// contains filtered or unexported fields
}

func (*AboutDataResponse) Descriptor deprecated

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

Deprecated: Use AboutDataResponse.ProtoReflect.Descriptor instead.

func (*AboutDataResponse) GetBeTranslator

func (x *AboutDataResponse) GetBeTranslator() string

func (*AboutDataResponse) GetContributors

func (x *AboutDataResponse) GetContributors() []string

func (*AboutDataResponse) GetDeveloper

func (x *AboutDataResponse) GetDeveloper() string

func (*AboutDataResponse) GetFrTranslator

func (x *AboutDataResponse) GetFrTranslator() string

func (*AboutDataResponse) GetPicturesSize

func (x *AboutDataResponse) GetPicturesSize() int32

func (*AboutDataResponse) GetPtBrTranslator

func (x *AboutDataResponse) GetPtBrTranslator() string

func (*AboutDataResponse) GetTotalComments

func (x *AboutDataResponse) GetTotalComments() int32

func (*AboutDataResponse) GetTotalItems

func (x *AboutDataResponse) GetTotalItems() int32

func (*AboutDataResponse) GetTotalPictures

func (x *AboutDataResponse) GetTotalPictures() int32

func (*AboutDataResponse) GetTotalUsers

func (x *AboutDataResponse) GetTotalUsers() int32

func (*AboutDataResponse) GetZhTranslator

func (x *AboutDataResponse) GetZhTranslator() string

func (*AboutDataResponse) ProtoMessage

func (*AboutDataResponse) ProtoMessage()

func (*AboutDataResponse) ProtoReflect

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

func (*AboutDataResponse) Reset

func (x *AboutDataResponse) Reset()

func (*AboutDataResponse) String

func (x *AboutDataResponse) String() string

type AclEnforceRequest

type AclEnforceRequest struct {
	Resource  string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	Privilege string `protobuf:"bytes,2,opt,name=privilege,proto3" json:"privilege,omitempty"`
	// contains filtered or unexported fields
}

func (*AclEnforceRequest) Descriptor deprecated

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

Deprecated: Use AclEnforceRequest.ProtoReflect.Descriptor instead.

func (*AclEnforceRequest) GetPrivilege

func (x *AclEnforceRequest) GetPrivilege() string

func (*AclEnforceRequest) GetResource

func (x *AclEnforceRequest) GetResource() string

func (*AclEnforceRequest) ProtoMessage

func (*AclEnforceRequest) ProtoMessage()

func (*AclEnforceRequest) ProtoReflect

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

func (*AclEnforceRequest) Reset

func (x *AclEnforceRequest) Reset()

func (*AclEnforceRequest) String

func (x *AclEnforceRequest) String() string

type AclEnforceResult

type AclEnforceResult struct {
	Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*AclEnforceResult) Descriptor deprecated

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

Deprecated: Use AclEnforceResult.ProtoReflect.Descriptor instead.

func (*AclEnforceResult) GetResult

func (x *AclEnforceResult) GetResult() bool

func (*AclEnforceResult) ProtoMessage

func (*AclEnforceResult) ProtoMessage()

func (*AclEnforceResult) ProtoReflect

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

func (*AclEnforceResult) Reset

func (x *AclEnforceResult) Reset()

func (*AclEnforceResult) String

func (x *AclEnforceResult) String() string

type AddCommentRequest added in v1.18.0

type AddCommentRequest struct {
	ItemId             int64        `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	TypeId             CommentsType `protobuf:"varint,2,opt,name=type_id,json=typeId,proto3,enum=goautowp.CommentsType" json:"type_id,omitempty"`
	Message            string       `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	ModeratorAttention bool         `protobuf:"varint,4,opt,name=moderator_attention,json=moderatorAttention,proto3" json:"moderator_attention,omitempty"`
	ParentId           int64        `protobuf:"varint,5,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	Resolve            bool         `protobuf:"varint,6,opt,name=resolve,proto3" json:"resolve,omitempty"`
	// contains filtered or unexported fields
}

func (*AddCommentRequest) Descriptor deprecated added in v1.18.0

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

Deprecated: Use AddCommentRequest.ProtoReflect.Descriptor instead.

func (*AddCommentRequest) GetItemId added in v1.18.0

func (x *AddCommentRequest) GetItemId() int64

func (*AddCommentRequest) GetMessage added in v1.18.0

func (x *AddCommentRequest) GetMessage() string

func (*AddCommentRequest) GetModeratorAttention added in v1.18.0

func (x *AddCommentRequest) GetModeratorAttention() bool

func (*AddCommentRequest) GetParentId added in v1.18.0

func (x *AddCommentRequest) GetParentId() int64

func (*AddCommentRequest) GetResolve added in v1.18.0

func (x *AddCommentRequest) GetResolve() bool

func (*AddCommentRequest) GetTypeId added in v1.18.0

func (x *AddCommentRequest) GetTypeId() CommentsType

func (*AddCommentRequest) ProtoMessage added in v1.18.0

func (*AddCommentRequest) ProtoMessage()

func (*AddCommentRequest) ProtoReflect added in v1.18.0

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

func (*AddCommentRequest) Reset added in v1.18.0

func (x *AddCommentRequest) Reset()

func (*AddCommentRequest) String added in v1.18.0

func (x *AddCommentRequest) String() string

func (*AddCommentRequest) Validate added in v1.19.0

func (s *AddCommentRequest) Validate(
	ctx context.Context,
	repository *comments.Repository,
	userID int64,
) ([]*errdetails.BadRequest_FieldViolation, error)

type AddCommentResponse added in v1.18.0

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

func (*AddCommentResponse) Descriptor deprecated added in v1.18.0

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

Deprecated: Use AddCommentResponse.ProtoReflect.Descriptor instead.

func (*AddCommentResponse) GetId added in v1.20.0

func (x *AddCommentResponse) GetId() int64

func (*AddCommentResponse) ProtoMessage added in v1.18.0

func (*AddCommentResponse) ProtoMessage()

func (*AddCommentResponse) ProtoReflect added in v1.18.0

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

func (*AddCommentResponse) Reset added in v1.18.0

func (x *AddCommentResponse) Reset()

func (*AddCommentResponse) String added in v1.18.0

func (x *AddCommentResponse) String() string

type AddToTrafficBlacklistRequest

type AddToTrafficBlacklistRequest struct {
	Ip     string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Period int32  `protobuf:"varint,2,opt,name=period,proto3" json:"period,omitempty"`
	Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*AddToTrafficBlacklistRequest) Descriptor deprecated

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

Deprecated: Use AddToTrafficBlacklistRequest.ProtoReflect.Descriptor instead.

func (*AddToTrafficBlacklistRequest) GetIp

func (*AddToTrafficBlacklistRequest) GetPeriod

func (x *AddToTrafficBlacklistRequest) GetPeriod() int32

func (*AddToTrafficBlacklistRequest) GetReason

func (x *AddToTrafficBlacklistRequest) GetReason() string

func (*AddToTrafficBlacklistRequest) ProtoMessage

func (*AddToTrafficBlacklistRequest) ProtoMessage()

func (*AddToTrafficBlacklistRequest) ProtoReflect

func (*AddToTrafficBlacklistRequest) Reset

func (x *AddToTrafficBlacklistRequest) Reset()

func (*AddToTrafficBlacklistRequest) String

type AddToTrafficWhitelistRequest

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

func (*AddToTrafficWhitelistRequest) Descriptor deprecated

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

Deprecated: Use AddToTrafficWhitelistRequest.ProtoReflect.Descriptor instead.

func (*AddToTrafficWhitelistRequest) GetIp

func (*AddToTrafficWhitelistRequest) ProtoMessage

func (*AddToTrafficWhitelistRequest) ProtoMessage()

func (*AddToTrafficWhitelistRequest) ProtoReflect

func (*AddToTrafficWhitelistRequest) Reset

func (x *AddToTrafficWhitelistRequest) Reset()

func (*AddToTrafficWhitelistRequest) String

type Application

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

Application is Service Main Object.

func NewApplication

func NewApplication(cfg config.Config) *Application

NewApplication constructor.

func (*Application) Autoban

func (s *Application) Autoban(ctx context.Context, quit chan bool) error

func (*Application) Close

func (s *Application) Close() error

Close Destructor.

func (*Application) ExportUsersToKeycloak

func (s *Application) ExportUsersToKeycloak(ctx context.Context) error

func (*Application) GenerateIndexCache added in v1.81.0

func (s *Application) GenerateIndexCache(ctx context.Context) error

func (*Application) ImageStorageGetFormattedImage

func (s *Application) ImageStorageGetFormattedImage(
	ctx context.Context,
	imageID int,
	format string,
) (*APIImage, error)

func (*Application) ImageStorageGetImage

func (s *Application) ImageStorageGetImage(ctx context.Context, imageID int) (*APIImage, error)

func (*Application) ImageStorageListBrokenImages added in v1.78.0

func (s *Application) ImageStorageListBrokenImages(ctx context.Context, dir string) error

func (*Application) ImageStorageListUnlinkedObjects added in v1.78.0

func (s *Application) ImageStorageListUnlinkedObjects(ctx context.Context, dir string) error

func (*Application) ListenDuplicateFinderAMQP

func (s *Application) ListenDuplicateFinderAMQP(ctx context.Context, quit chan bool) error

func (*Application) ListenMonitoringAMQP

func (s *Application) ListenMonitoringAMQP(ctx context.Context, quit chan bool) error

func (*Application) MigrateAutowp

func (s *Application) MigrateAutowp(_ context.Context) error

func (*Application) MigratePostgres added in v1.1.0

func (s *Application) MigratePostgres(_ context.Context) error

func (*Application) SchedulerDaily

func (s *Application) SchedulerDaily(ctx context.Context) error

func (*Application) SchedulerHourly

func (s *Application) SchedulerHourly(ctx context.Context) error

func (*Application) SchedulerMidnight

func (s *Application) SchedulerMidnight(ctx context.Context) error

func (*Application) ServeGRPC added in v1.4.0

func (s *Application) ServeGRPC(quit chan bool) error

func (*Application) ServePrivate

func (s *Application) ServePrivate(ctx context.Context, quit chan bool) error

func (*Application) ServePublic

func (s *Application) ServePublic(ctx context.Context, quit chan bool) error

type Article added in v1.7.0

type Article struct {
	Id          int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	AuthorId    int64                  `protobuf:"varint,3,opt,name=author_id,json=authorId,proto3" json:"author_id,omitempty"`
	Catname     string                 `protobuf:"bytes,4,opt,name=catname,proto3" json:"catname,omitempty"`
	Date        *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=date,proto3" json:"date,omitempty"`
	Html        string                 `protobuf:"bytes,6,opt,name=html,proto3" json:"html,omitempty"`
	PreviewUrl  string                 `protobuf:"bytes,7,opt,name=preview_url,json=previewUrl,proto3" json:"preview_url,omitempty"`
	Description string                 `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Article) Descriptor deprecated added in v1.7.0

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

Deprecated: Use Article.ProtoReflect.Descriptor instead.

func (*Article) GetAuthorId added in v1.7.0

func (x *Article) GetAuthorId() int64

func (*Article) GetCatname added in v1.7.0

func (x *Article) GetCatname() string

func (*Article) GetDate added in v1.7.0

func (x *Article) GetDate() *timestamppb.Timestamp

func (*Article) GetDescription added in v1.7.1

func (x *Article) GetDescription() string

func (*Article) GetHtml added in v1.7.0

func (x *Article) GetHtml() string

func (*Article) GetId added in v1.7.0

func (x *Article) GetId() int64

func (*Article) GetName added in v1.7.0

func (x *Article) GetName() string

func (*Article) GetPreviewUrl added in v1.7.0

func (x *Article) GetPreviewUrl() string

func (*Article) ProtoMessage added in v1.7.0

func (*Article) ProtoMessage()

func (*Article) ProtoReflect added in v1.7.0

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

func (*Article) Reset added in v1.7.0

func (x *Article) Reset()

func (*Article) String added in v1.7.0

func (x *Article) String() string

type ArticleByCatnameRequest added in v1.7.0

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

func (*ArticleByCatnameRequest) Descriptor deprecated added in v1.7.0

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

Deprecated: Use ArticleByCatnameRequest.ProtoReflect.Descriptor instead.

func (*ArticleByCatnameRequest) GetCatname added in v1.7.0

func (x *ArticleByCatnameRequest) GetCatname() string

func (*ArticleByCatnameRequest) ProtoMessage added in v1.7.0

func (*ArticleByCatnameRequest) ProtoMessage()

func (*ArticleByCatnameRequest) ProtoReflect added in v1.7.0

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

func (*ArticleByCatnameRequest) Reset added in v1.7.0

func (x *ArticleByCatnameRequest) Reset()

func (*ArticleByCatnameRequest) String added in v1.7.0

func (x *ArticleByCatnameRequest) String() string

type ArticlesClient added in v1.7.0

type ArticlesClient interface {
	GetList(ctx context.Context, in *ArticlesRequest, opts ...grpc.CallOption) (*ArticlesResponse, error)
	GetItemByCatname(ctx context.Context, in *ArticleByCatnameRequest, opts ...grpc.CallOption) (*Article, error)
}

ArticlesClient is the client API for Articles 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 NewArticlesClient added in v1.7.0

func NewArticlesClient(cc grpc.ClientConnInterface) ArticlesClient

type ArticlesGRPCServer added in v1.7.0

type ArticlesGRPCServer struct {
	UnimplementedArticlesServer
	// contains filtered or unexported fields
}

func NewArticlesGRPCServer added in v1.7.0

func NewArticlesGRPCServer(db *goqu.Database) *ArticlesGRPCServer

func (*ArticlesGRPCServer) GetItemByCatname added in v1.7.0

func (s *ArticlesGRPCServer) GetItemByCatname(ctx context.Context, in *ArticleByCatnameRequest) (*Article, error)

func (*ArticlesGRPCServer) GetList added in v1.7.0

type ArticlesRequest added in v1.7.0

type ArticlesRequest struct {
	Limit uint64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Page  uint64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*ArticlesRequest) Descriptor deprecated added in v1.7.0

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

Deprecated: Use ArticlesRequest.ProtoReflect.Descriptor instead.

func (*ArticlesRequest) GetLimit added in v1.7.0

func (x *ArticlesRequest) GetLimit() uint64

func (*ArticlesRequest) GetPage added in v1.7.0

func (x *ArticlesRequest) GetPage() uint64

func (*ArticlesRequest) ProtoMessage added in v1.7.0

func (*ArticlesRequest) ProtoMessage()

func (*ArticlesRequest) ProtoReflect added in v1.7.0

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

func (*ArticlesRequest) Reset added in v1.7.0

func (x *ArticlesRequest) Reset()

func (*ArticlesRequest) String added in v1.7.0

func (x *ArticlesRequest) String() string

type ArticlesResponse added in v1.7.0

type ArticlesResponse struct {
	Items     []*Article `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Paginator *Pages     `protobuf:"bytes,2,opt,name=paginator,proto3" json:"paginator,omitempty"`
	// contains filtered or unexported fields
}

func (*ArticlesResponse) Descriptor deprecated added in v1.7.0

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

Deprecated: Use ArticlesResponse.ProtoReflect.Descriptor instead.

func (*ArticlesResponse) GetItems added in v1.7.0

func (x *ArticlesResponse) GetItems() []*Article

func (*ArticlesResponse) GetPaginator added in v1.7.0

func (x *ArticlesResponse) GetPaginator() *Pages

func (*ArticlesResponse) ProtoMessage added in v1.7.0

func (*ArticlesResponse) ProtoMessage()

func (*ArticlesResponse) ProtoReflect added in v1.7.0

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

func (*ArticlesResponse) Reset added in v1.7.0

func (x *ArticlesResponse) Reset()

func (*ArticlesResponse) String added in v1.7.0

func (x *ArticlesResponse) String() string

type ArticlesServer added in v1.7.0

type ArticlesServer interface {
	GetList(context.Context, *ArticlesRequest) (*ArticlesResponse, error)
	GetItemByCatname(context.Context, *ArticleByCatnameRequest) (*Article, error)
	// contains filtered or unexported methods
}

ArticlesServer is the server API for Articles service. All implementations must embed UnimplementedArticlesServer for forward compatibility

type AttrAttribute added in v1.43.0

type AttrAttribute struct {
	Id          int64                `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ParentId    int64                `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	Name        string               `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description string               `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	TypeId      AttrAttributeType_ID `protobuf:"varint,5,opt,name=type_id,json=typeId,proto3,enum=goautowp.AttrAttributeType_ID" json:"type_id,omitempty"`
	UnitId      int64                `protobuf:"varint,6,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"`
	IsMultiple  bool                 `protobuf:"varint,7,opt,name=is_multiple,json=isMultiple,proto3" json:"is_multiple,omitempty"`
	Precision   int32                `protobuf:"varint,8,opt,name=precision,proto3" json:"precision,omitempty"`
	// contains filtered or unexported fields
}

func (*AttrAttribute) Descriptor deprecated added in v1.43.0

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

Deprecated: Use AttrAttribute.ProtoReflect.Descriptor instead.

func (*AttrAttribute) GetDescription added in v1.43.0

func (x *AttrAttribute) GetDescription() string

func (*AttrAttribute) GetId added in v1.43.0

func (x *AttrAttribute) GetId() int64

func (*AttrAttribute) GetIsMultiple added in v1.43.0

func (x *AttrAttribute) GetIsMultiple() bool

func (*AttrAttribute) GetName added in v1.43.0

func (x *AttrAttribute) GetName() string

func (*AttrAttribute) GetParentId added in v1.43.0

func (x *AttrAttribute) GetParentId() int64

func (*AttrAttribute) GetPrecision added in v1.43.0

func (x *AttrAttribute) GetPrecision() int32

func (*AttrAttribute) GetTypeId added in v1.43.0

func (x *AttrAttribute) GetTypeId() AttrAttributeType_ID

func (*AttrAttribute) GetUnitId added in v1.43.0

func (x *AttrAttribute) GetUnitId() int64

func (*AttrAttribute) ProtoMessage added in v1.43.0

func (*AttrAttribute) ProtoMessage()

func (*AttrAttribute) ProtoReflect added in v1.43.0

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

func (*AttrAttribute) Reset added in v1.43.0

func (x *AttrAttribute) Reset()

func (*AttrAttribute) String added in v1.43.0

func (x *AttrAttribute) String() string

type AttrAttributeID added in v1.43.0

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

func (*AttrAttributeID) Descriptor deprecated added in v1.43.0

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

Deprecated: Use AttrAttributeID.ProtoReflect.Descriptor instead.

func (*AttrAttributeID) GetId added in v1.43.0

func (x *AttrAttributeID) GetId() int64

func (*AttrAttributeID) ProtoMessage added in v1.43.0

func (*AttrAttributeID) ProtoMessage()

func (*AttrAttributeID) ProtoReflect added in v1.43.0

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

func (*AttrAttributeID) Reset added in v1.43.0

func (x *AttrAttributeID) Reset()

func (*AttrAttributeID) String added in v1.43.0

func (x *AttrAttributeID) String() string

type AttrAttributeType added in v1.43.0

type AttrAttributeType struct {
	Id   AttrAttributeType_ID `protobuf:"varint,1,opt,name=id,proto3,enum=goautowp.AttrAttributeType_ID" json:"id,omitempty"`
	Name string               `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*AttrAttributeType) Descriptor deprecated added in v1.43.0

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

Deprecated: Use AttrAttributeType.ProtoReflect.Descriptor instead.

func (*AttrAttributeType) GetId added in v1.43.0

func (*AttrAttributeType) GetName added in v1.43.0

func (x *AttrAttributeType) GetName() string

func (*AttrAttributeType) ProtoMessage added in v1.43.0

func (*AttrAttributeType) ProtoMessage()

func (*AttrAttributeType) ProtoReflect added in v1.43.0

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

func (*AttrAttributeType) Reset added in v1.43.0

func (x *AttrAttributeType) Reset()

func (*AttrAttributeType) String added in v1.43.0

func (x *AttrAttributeType) String() string

type AttrAttributeType_ID added in v1.43.0

type AttrAttributeType_ID int32
const (
	AttrAttributeType_UNKNOWN AttrAttributeType_ID = 0
	AttrAttributeType_STRING  AttrAttributeType_ID = 1
	AttrAttributeType_INTEGER AttrAttributeType_ID = 2
	AttrAttributeType_FLOAT   AttrAttributeType_ID = 3
	AttrAttributeType_TEXT    AttrAttributeType_ID = 4
	AttrAttributeType_BOOLEAN AttrAttributeType_ID = 5
	AttrAttributeType_LIST    AttrAttributeType_ID = 6
	AttrAttributeType_TREE    AttrAttributeType_ID = 7
)

func (AttrAttributeType_ID) Descriptor added in v1.43.0

func (AttrAttributeType_ID) Enum added in v1.43.0

func (AttrAttributeType_ID) EnumDescriptor deprecated added in v1.43.0

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

Deprecated: Use AttrAttributeType_ID.Descriptor instead.

func (AttrAttributeType_ID) Number added in v1.43.0

func (AttrAttributeType_ID) String added in v1.43.0

func (x AttrAttributeType_ID) String() string

func (AttrAttributeType_ID) Type added in v1.43.0

type AttrAttributeTypesResponse added in v1.43.0

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

func (*AttrAttributeTypesResponse) Descriptor deprecated added in v1.43.0

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

Deprecated: Use AttrAttributeTypesResponse.ProtoReflect.Descriptor instead.

func (*AttrAttributeTypesResponse) GetItems added in v1.43.0

func (*AttrAttributeTypesResponse) ProtoMessage added in v1.43.0

func (*AttrAttributeTypesResponse) ProtoMessage()

func (*AttrAttributeTypesResponse) ProtoReflect added in v1.43.0

func (*AttrAttributeTypesResponse) Reset added in v1.43.0

func (x *AttrAttributeTypesResponse) Reset()

func (*AttrAttributeTypesResponse) String added in v1.43.0

func (x *AttrAttributeTypesResponse) String() string

type AttrAttributesRequest added in v1.43.0

type AttrAttributesRequest struct {
	ZoneId   int64 `protobuf:"varint,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	ParentId int64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AttrAttributesRequest) Descriptor deprecated added in v1.43.0

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

Deprecated: Use AttrAttributesRequest.ProtoReflect.Descriptor instead.

func (*AttrAttributesRequest) GetParentId added in v1.43.0

func (x *AttrAttributesRequest) GetParentId() int64

func (*AttrAttributesRequest) GetZoneId added in v1.43.0

func (x *AttrAttributesRequest) GetZoneId() int64

func (*AttrAttributesRequest) ProtoMessage added in v1.43.0

func (*AttrAttributesRequest) ProtoMessage()

func (*AttrAttributesRequest) ProtoReflect added in v1.43.0

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

func (*AttrAttributesRequest) Reset added in v1.43.0

func (x *AttrAttributesRequest) Reset()

func (*AttrAttributesRequest) String added in v1.43.0

func (x *AttrAttributesRequest) String() string

type AttrAttributesResponse added in v1.43.0

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

func (*AttrAttributesResponse) Descriptor deprecated added in v1.43.0

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

Deprecated: Use AttrAttributesResponse.ProtoReflect.Descriptor instead.

func (*AttrAttributesResponse) GetItems added in v1.43.0

func (x *AttrAttributesResponse) GetItems() []*AttrAttribute

func (*AttrAttributesResponse) ProtoMessage added in v1.43.0

func (*AttrAttributesResponse) ProtoMessage()

func (*AttrAttributesResponse) ProtoReflect added in v1.43.0

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

func (*AttrAttributesResponse) Reset added in v1.43.0

func (x *AttrAttributesResponse) Reset()

func (*AttrAttributesResponse) String added in v1.43.0

func (x *AttrAttributesResponse) String() string

type AttrListOption added in v1.43.0

type AttrListOption struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	AttributeId int64  `protobuf:"varint,3,opt,name=attribute_id,json=attributeId,proto3" json:"attribute_id,omitempty"`
	ParentId    int64  `protobuf:"varint,4,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AttrListOption) Descriptor deprecated added in v1.43.0

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

Deprecated: Use AttrListOption.ProtoReflect.Descriptor instead.

func (*AttrListOption) GetAttributeId added in v1.43.0

func (x *AttrListOption) GetAttributeId() int64

func (*AttrListOption) GetId added in v1.43.0

func (x *AttrListOption) GetId() int64

func (*AttrListOption) GetName added in v1.43.0

func (x *AttrListOption) GetName() string

func (*AttrListOption) GetParentId added in v1.43.0

func (x *AttrListOption) GetParentId() int64

func (*AttrListOption) ProtoMessage added in v1.43.0

func (*AttrListOption) ProtoMessage()

func (*AttrListOption) ProtoReflect added in v1.43.0

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

func (*AttrListOption) Reset added in v1.43.0

func (x *AttrListOption) Reset()

func (*AttrListOption) String added in v1.43.0

func (x *AttrListOption) String() string

type AttrListOptionsRequest added in v1.43.0

type AttrListOptionsRequest struct {
	AttributeId int64 `protobuf:"varint,1,opt,name=attribute_id,json=attributeId,proto3" json:"attribute_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AttrListOptionsRequest) Descriptor deprecated added in v1.43.0

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

Deprecated: Use AttrListOptionsRequest.ProtoReflect.Descriptor instead.

func (*AttrListOptionsRequest) GetAttributeId added in v1.43.0

func (x *AttrListOptionsRequest) GetAttributeId() int64

func (*AttrListOptionsRequest) ProtoMessage added in v1.43.0

func (*AttrListOptionsRequest) ProtoMessage()

func (*AttrListOptionsRequest) ProtoReflect added in v1.43.0

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

func (*AttrListOptionsRequest) Reset added in v1.43.0

func (x *AttrListOptionsRequest) Reset()

func (*AttrListOptionsRequest) String added in v1.43.0

func (x *AttrListOptionsRequest) String() string

type AttrListOptionsResponse added in v1.43.0

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

func (*AttrListOptionsResponse) Descriptor deprecated added in v1.43.0

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

Deprecated: Use AttrListOptionsResponse.ProtoReflect.Descriptor instead.

func (*AttrListOptionsResponse) GetItems added in v1.43.0

func (x *AttrListOptionsResponse) GetItems() []*AttrListOption

func (*AttrListOptionsResponse) ProtoMessage added in v1.43.0

func (*AttrListOptionsResponse) ProtoMessage()

func (*AttrListOptionsResponse) ProtoReflect added in v1.43.0

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

func (*AttrListOptionsResponse) Reset added in v1.43.0

func (x *AttrListOptionsResponse) Reset()

func (*AttrListOptionsResponse) String added in v1.43.0

func (x *AttrListOptionsResponse) String() string

type AttrUnit added in v1.43.0

type AttrUnit struct {
	Id   int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Abbr string `protobuf:"bytes,3,opt,name=abbr,proto3" json:"abbr,omitempty"`
	// contains filtered or unexported fields
}

func (*AttrUnit) Descriptor deprecated added in v1.43.0

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

Deprecated: Use AttrUnit.ProtoReflect.Descriptor instead.

func (*AttrUnit) GetAbbr added in v1.43.0

func (x *AttrUnit) GetAbbr() string

func (*AttrUnit) GetId added in v1.43.0

func (x *AttrUnit) GetId() int64

func (*AttrUnit) GetName added in v1.43.0

func (x *AttrUnit) GetName() string

func (*AttrUnit) ProtoMessage added in v1.43.0

func (*AttrUnit) ProtoMessage()

func (*AttrUnit) ProtoReflect added in v1.43.0

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

func (*AttrUnit) Reset added in v1.43.0

func (x *AttrUnit) Reset()

func (*AttrUnit) String added in v1.43.0

func (x *AttrUnit) String() string

type AttrUnitsResponse added in v1.43.0

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

func (*AttrUnitsResponse) Descriptor deprecated added in v1.43.0

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

Deprecated: Use AttrUnitsResponse.ProtoReflect.Descriptor instead.

func (*AttrUnitsResponse) GetItems added in v1.43.0

func (x *AttrUnitsResponse) GetItems() []*AttrUnit

func (*AttrUnitsResponse) ProtoMessage added in v1.43.0

func (*AttrUnitsResponse) ProtoMessage()

func (*AttrUnitsResponse) ProtoReflect added in v1.43.0

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

func (*AttrUnitsResponse) Reset added in v1.43.0

func (x *AttrUnitsResponse) Reset()

func (*AttrUnitsResponse) String added in v1.43.0

func (x *AttrUnitsResponse) String() string

type AttrZone added in v1.43.0

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

func (*AttrZone) Descriptor deprecated added in v1.43.0

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

Deprecated: Use AttrZone.ProtoReflect.Descriptor instead.

func (*AttrZone) GetId added in v1.43.0

func (x *AttrZone) GetId() int64

func (*AttrZone) GetName added in v1.43.0

func (x *AttrZone) GetName() string

func (*AttrZone) ProtoMessage added in v1.43.0

func (*AttrZone) ProtoMessage()

func (*AttrZone) ProtoReflect added in v1.43.0

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

func (*AttrZone) Reset added in v1.43.0

func (x *AttrZone) Reset()

func (*AttrZone) String added in v1.43.0

func (x *AttrZone) String() string

type AttrZoneAttribute added in v1.43.0

type AttrZoneAttribute struct {
	ZoneId      int64 `protobuf:"varint,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	AttributeId int64 `protobuf:"varint,2,opt,name=attribute_id,json=attributeId,proto3" json:"attribute_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AttrZoneAttribute) Descriptor deprecated added in v1.43.0

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

Deprecated: Use AttrZoneAttribute.ProtoReflect.Descriptor instead.

func (*AttrZoneAttribute) GetAttributeId added in v1.43.0

func (x *AttrZoneAttribute) GetAttributeId() int64

func (*AttrZoneAttribute) GetZoneId added in v1.43.0

func (x *AttrZoneAttribute) GetZoneId() int64

func (*AttrZoneAttribute) ProtoMessage added in v1.43.0

func (*AttrZoneAttribute) ProtoMessage()

func (*AttrZoneAttribute) ProtoReflect added in v1.43.0

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

func (*AttrZoneAttribute) Reset added in v1.43.0

func (x *AttrZoneAttribute) Reset()

func (*AttrZoneAttribute) String added in v1.43.0

func (x *AttrZoneAttribute) String() string

type AttrZoneAttributesRequest added in v1.43.0

type AttrZoneAttributesRequest struct {
	ZoneId int64 `protobuf:"varint,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AttrZoneAttributesRequest) Descriptor deprecated added in v1.43.0

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

Deprecated: Use AttrZoneAttributesRequest.ProtoReflect.Descriptor instead.

func (*AttrZoneAttributesRequest) GetZoneId added in v1.43.0

func (x *AttrZoneAttributesRequest) GetZoneId() int64

func (*AttrZoneAttributesRequest) ProtoMessage added in v1.43.0

func (*AttrZoneAttributesRequest) ProtoMessage()

func (*AttrZoneAttributesRequest) ProtoReflect added in v1.43.0

func (*AttrZoneAttributesRequest) Reset added in v1.43.0

func (x *AttrZoneAttributesRequest) Reset()

func (*AttrZoneAttributesRequest) String added in v1.43.0

func (x *AttrZoneAttributesRequest) String() string

type AttrZoneAttributesResponse added in v1.43.0

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

func (*AttrZoneAttributesResponse) Descriptor deprecated added in v1.43.0

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

Deprecated: Use AttrZoneAttributesResponse.ProtoReflect.Descriptor instead.

func (*AttrZoneAttributesResponse) GetItems added in v1.43.0

func (*AttrZoneAttributesResponse) ProtoMessage added in v1.43.0

func (*AttrZoneAttributesResponse) ProtoMessage()

func (*AttrZoneAttributesResponse) ProtoReflect added in v1.43.0

func (*AttrZoneAttributesResponse) Reset added in v1.43.0

func (x *AttrZoneAttributesResponse) Reset()

func (*AttrZoneAttributesResponse) String added in v1.43.0

func (x *AttrZoneAttributesResponse) String() string

type AttrZonesResponse added in v1.43.0

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

func (*AttrZonesResponse) Descriptor deprecated added in v1.43.0

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

Deprecated: Use AttrZonesResponse.ProtoReflect.Descriptor instead.

func (*AttrZonesResponse) GetItems added in v1.43.0

func (x *AttrZonesResponse) GetItems() []*AttrZone

func (*AttrZonesResponse) ProtoMessage added in v1.43.0

func (*AttrZonesResponse) ProtoMessage()

func (*AttrZonesResponse) ProtoReflect added in v1.43.0

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

func (*AttrZonesResponse) Reset added in v1.43.0

func (x *AttrZonesResponse) Reset()

func (*AttrZonesResponse) String added in v1.43.0

func (x *AttrZonesResponse) String() string

type AttrsClient added in v1.43.0

type AttrsClient interface {
	GetAttribute(ctx context.Context, in *AttrAttributeID, opts ...grpc.CallOption) (*AttrAttribute, error)
	GetAttributes(ctx context.Context, in *AttrAttributesRequest, opts ...grpc.CallOption) (*AttrAttributesResponse, error)
	GetAttributeTypes(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AttrAttributeTypesResponse, error)
	GetListOptions(ctx context.Context, in *AttrListOptionsRequest, opts ...grpc.CallOption) (*AttrListOptionsResponse, error)
	GetUnits(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AttrUnitsResponse, error)
	GetZoneAttributes(ctx context.Context, in *AttrZoneAttributesRequest, opts ...grpc.CallOption) (*AttrZoneAttributesResponse, error)
	GetZones(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AttrZonesResponse, error)
}

AttrsClient is the client API for Attrs 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 NewAttrsClient added in v1.43.0

func NewAttrsClient(cc grpc.ClientConnInterface) AttrsClient

type AttrsGRPCServer added in v1.43.0

type AttrsGRPCServer struct {
	UnimplementedAttrsServer
	// contains filtered or unexported fields
}

func NewAttrsGRPCServer added in v1.43.0

func NewAttrsGRPCServer(repository *attrs.Repository, enforcer *casbin.Enforcer, auth *Auth) *AttrsGRPCServer

func (*AttrsGRPCServer) GetAttribute added in v1.43.0

func (s *AttrsGRPCServer) GetAttribute(ctx context.Context, in *AttrAttributeID) (*AttrAttribute, error)

func (*AttrsGRPCServer) GetAttributeTypes added in v1.43.0

func (s *AttrsGRPCServer) GetAttributeTypes(
	ctx context.Context, _ *emptypb.Empty,
) (*AttrAttributeTypesResponse, error)

func (*AttrsGRPCServer) GetAttributes added in v1.43.0

func (*AttrsGRPCServer) GetListOptions added in v1.43.0

func (*AttrsGRPCServer) GetUnits added in v1.43.0

func (*AttrsGRPCServer) GetZoneAttributes added in v1.43.0

func (*AttrsGRPCServer) GetZones added in v1.43.0

type AttrsServer added in v1.43.0

AttrsServer is the server API for Attrs service. All implementations must embed UnimplementedAttrsServer for forward compatibility

type Auth

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

func NewAuth

func NewAuth(
	db *goqu.Database,
	keycloak *gocloak.GoCloak,
	keycloakCfg config.KeycloakConfig,
	repository *users.Repository,
) *Auth

func (*Auth) ValidateGRPC

func (s *Auth) ValidateGRPC(ctx context.Context) (int64, string, error)

func (*Auth) ValidateToken

func (s *Auth) ValidateToken(ctx context.Context, tokenString string) (int64, string, error)

type AutowpClient

type AutowpClient interface {
	AclEnforce(ctx context.Context, in *AclEnforceRequest, opts ...grpc.CallOption) (*AclEnforceResult, error)
	CreateFeedback(ctx context.Context, in *APICreateFeedbackRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetBrandIcons(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*BrandIcons, error)
	GetBrandVehicleTypes(ctx context.Context, in *GetBrandVehicleTypesRequest, opts ...grpc.CallOption) (*BrandVehicleTypeItems, error)
	GetIP(ctx context.Context, in *APIGetIPRequest, opts ...grpc.CallOption) (*APIIP, error)
	GetPerspectives(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PerspectivesItems, error)
	GetPerspectivePages(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PerspectivePagesItems, error)
	GetReCaptchaConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ReCaptchaConfig, error)
	GetSpecs(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SpecsItems, error)
	GetVehicleTypes(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VehicleTypeItems, error)
}

AutowpClient is the client API for Autowp 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 NewAutowpClient

func NewAutowpClient(cc grpc.ClientConnInterface) AutowpClient

type AutowpServer

type AutowpServer interface {
	AclEnforce(context.Context, *AclEnforceRequest) (*AclEnforceResult, error)
	CreateFeedback(context.Context, *APICreateFeedbackRequest) (*emptypb.Empty, error)
	GetBrandIcons(context.Context, *emptypb.Empty) (*BrandIcons, error)
	GetBrandVehicleTypes(context.Context, *GetBrandVehicleTypesRequest) (*BrandVehicleTypeItems, error)
	GetIP(context.Context, *APIGetIPRequest) (*APIIP, error)
	GetPerspectives(context.Context, *emptypb.Empty) (*PerspectivesItems, error)
	GetPerspectivePages(context.Context, *emptypb.Empty) (*PerspectivePagesItems, error)
	GetReCaptchaConfig(context.Context, *emptypb.Empty) (*ReCaptchaConfig, error)
	GetSpecs(context.Context, *emptypb.Empty) (*SpecsItems, error)
	GetVehicleTypes(context.Context, *emptypb.Empty) (*VehicleTypeItems, error)
	// contains filtered or unexported methods
}

AutowpServer is the server API for Autowp service. All implementations must embed UnimplementedAutowpServer for forward compatibility

type BrandIcons

type BrandIcons struct {
	Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	Css   string `protobuf:"bytes,2,opt,name=css,proto3" json:"css,omitempty"`
	// contains filtered or unexported fields
}

func (*BrandIcons) Descriptor deprecated

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

Deprecated: Use BrandIcons.ProtoReflect.Descriptor instead.

func (*BrandIcons) GetCss

func (x *BrandIcons) GetCss() string

func (*BrandIcons) GetImage

func (x *BrandIcons) GetImage() string

func (*BrandIcons) ProtoMessage

func (*BrandIcons) ProtoMessage()

func (*BrandIcons) ProtoReflect

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

func (*BrandIcons) Reset

func (x *BrandIcons) Reset()

func (*BrandIcons) String

func (x *BrandIcons) String() string

type BrandVehicleType

type BrandVehicleType struct {
	Id         int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name       string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Catname    string `protobuf:"bytes,3,opt,name=catname,proto3" json:"catname,omitempty"`
	ItemsCount string `protobuf:"bytes,4,opt,name=items_count,json=itemsCount,proto3" json:"items_count,omitempty"`
	// contains filtered or unexported fields
}

func (*BrandVehicleType) Descriptor deprecated

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

Deprecated: Use BrandVehicleType.ProtoReflect.Descriptor instead.

func (*BrandVehicleType) GetCatname

func (x *BrandVehicleType) GetCatname() string

func (*BrandVehicleType) GetId

func (x *BrandVehicleType) GetId() int32

func (*BrandVehicleType) GetItemsCount

func (x *BrandVehicleType) GetItemsCount() string

func (*BrandVehicleType) GetName

func (x *BrandVehicleType) GetName() string

func (*BrandVehicleType) ProtoMessage

func (*BrandVehicleType) ProtoMessage()

func (*BrandVehicleType) ProtoReflect

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

func (*BrandVehicleType) Reset

func (x *BrandVehicleType) Reset()

func (*BrandVehicleType) String

func (x *BrandVehicleType) String() string

type BrandVehicleTypeItems

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

func (*BrandVehicleTypeItems) Descriptor deprecated

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

Deprecated: Use BrandVehicleTypeItems.ProtoReflect.Descriptor instead.

func (*BrandVehicleTypeItems) GetItems

func (x *BrandVehicleTypeItems) GetItems() []*BrandVehicleType

func (*BrandVehicleTypeItems) ProtoMessage

func (*BrandVehicleTypeItems) ProtoMessage()

func (*BrandVehicleTypeItems) ProtoReflect

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

func (*BrandVehicleTypeItems) Reset

func (x *BrandVehicleTypeItems) Reset()

func (*BrandVehicleTypeItems) String

func (x *BrandVehicleTypeItems) String() string

type Catalogue

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

Catalogue service.

func NewCatalogue

func NewCatalogue(db *goqu.Database) (*Catalogue, error)

NewCatalogue constructor.

type CommentMessage added in v1.37.0

type CommentMessage struct {
	ID       int64         `db:"id"`
	Datetime time.Time     `db:"datetime"`
	UserID   sql.NullInt64 `db:"author_id"`
}

type CommentMessageFields added in v1.41.0

type CommentMessageFields struct {
	Preview  bool `protobuf:"varint,1,opt,name=preview,proto3" json:"preview,omitempty"`
	Route    bool `protobuf:"varint,2,opt,name=route,proto3" json:"route,omitempty"`
	Text     bool `protobuf:"varint,3,opt,name=text,proto3" json:"text,omitempty"`
	Vote     bool `protobuf:"varint,4,opt,name=vote,proto3" json:"vote,omitempty"`
	UserVote bool `protobuf:"varint,5,opt,name=user_vote,json=userVote,proto3" json:"user_vote,omitempty"`
	Replies  bool `protobuf:"varint,6,opt,name=replies,proto3" json:"replies,omitempty"`
	Status   bool `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"`
	IsNew    bool `protobuf:"varint,8,opt,name=is_new,json=isNew,proto3" json:"is_new,omitempty"`
	// contains filtered or unexported fields
}

func (*CommentMessageFields) Descriptor deprecated added in v1.41.0

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

Deprecated: Use CommentMessageFields.ProtoReflect.Descriptor instead.

func (*CommentMessageFields) GetIsNew added in v1.41.0

func (x *CommentMessageFields) GetIsNew() bool

func (*CommentMessageFields) GetPreview added in v1.41.0

func (x *CommentMessageFields) GetPreview() bool

func (*CommentMessageFields) GetReplies added in v1.41.0

func (x *CommentMessageFields) GetReplies() bool

func (*CommentMessageFields) GetRoute added in v1.41.0

func (x *CommentMessageFields) GetRoute() bool

func (*CommentMessageFields) GetStatus added in v1.41.0

func (x *CommentMessageFields) GetStatus() bool

func (*CommentMessageFields) GetText added in v1.41.0

func (x *CommentMessageFields) GetText() bool

func (*CommentMessageFields) GetUserVote added in v1.41.0

func (x *CommentMessageFields) GetUserVote() bool

func (*CommentMessageFields) GetVote added in v1.41.0

func (x *CommentMessageFields) GetVote() bool

func (*CommentMessageFields) ProtoMessage added in v1.41.0

func (*CommentMessageFields) ProtoMessage()

func (*CommentMessageFields) ProtoReflect added in v1.41.0

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

func (*CommentMessageFields) Reset added in v1.41.0

func (x *CommentMessageFields) Reset()

func (*CommentMessageFields) String added in v1.41.0

func (x *CommentMessageFields) String() string

type CommentVote

type CommentVote struct {
	Value CommentVote_VoteValue `protobuf:"varint,1,opt,name=value,proto3,enum=goautowp.CommentVote_VoteValue" json:"value,omitempty"`
	User  *APIUser              `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*CommentVote) Descriptor deprecated

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

Deprecated: Use CommentVote.ProtoReflect.Descriptor instead.

func (*CommentVote) GetUser

func (x *CommentVote) GetUser() *APIUser

func (*CommentVote) GetValue

func (x *CommentVote) GetValue() CommentVote_VoteValue

func (*CommentVote) ProtoMessage

func (*CommentVote) ProtoMessage()

func (*CommentVote) ProtoReflect

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

func (*CommentVote) Reset

func (x *CommentVote) Reset()

func (*CommentVote) String

func (x *CommentVote) String() string

type CommentVoteItems

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

func (*CommentVoteItems) Descriptor deprecated

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

Deprecated: Use CommentVoteItems.ProtoReflect.Descriptor instead.

func (*CommentVoteItems) GetItems

func (x *CommentVoteItems) GetItems() []*CommentVote

func (*CommentVoteItems) ProtoMessage

func (*CommentVoteItems) ProtoMessage()

func (*CommentVoteItems) ProtoReflect

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

func (*CommentVoteItems) Reset

func (x *CommentVoteItems) Reset()

func (*CommentVoteItems) String

func (x *CommentVoteItems) String() string

type CommentVote_VoteValue

type CommentVote_VoteValue int32
const (
	CommentVote_UNKNOWN  CommentVote_VoteValue = 0
	CommentVote_POSITIVE CommentVote_VoteValue = -1
	CommentVote_NEGATIVE CommentVote_VoteValue = 1
)

func (CommentVote_VoteValue) Descriptor

func (CommentVote_VoteValue) Enum

func (CommentVote_VoteValue) EnumDescriptor deprecated

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

Deprecated: Use CommentVote_VoteValue.Descriptor instead.

func (CommentVote_VoteValue) Number

func (CommentVote_VoteValue) String

func (x CommentVote_VoteValue) String() string

func (CommentVote_VoteValue) Type

type CommentsClient

CommentsClient is the client API for Comments 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 NewCommentsClient

func NewCommentsClient(cc grpc.ClientConnInterface) CommentsClient

type CommentsGRPCServer

type CommentsGRPCServer struct {
	UnimplementedCommentsServer
	// contains filtered or unexported fields
}

func NewCommentsGRPCServer

func NewCommentsGRPCServer(
	auth *Auth,
	commentsRepository *comments.Repository,
	usersRepository *users.Repository,
	picturesRepository *pictures.Repository,
	userExtractor *UserExtractor,
	enforcer *casbin.Enforcer,
) *CommentsGRPCServer

func (*CommentsGRPCServer) Add added in v1.18.0

func (*CommentsGRPCServer) GetCommentVotes

func (s *CommentsGRPCServer) GetCommentVotes(
	ctx context.Context,
	in *GetCommentVotesRequest,
) (*CommentVoteItems, error)

func (*CommentsGRPCServer) GetMessage added in v1.41.0

func (*CommentsGRPCServer) GetMessagePage added in v1.38.0

func (*CommentsGRPCServer) GetMessages added in v1.41.0

func (*CommentsGRPCServer) MoveComment

func (*CommentsGRPCServer) SetDeleted

func (*CommentsGRPCServer) Subscribe

func (*CommentsGRPCServer) UnSubscribe

func (*CommentsGRPCServer) View

func (*CommentsGRPCServer) VoteComment

type CommentsMoveCommentRequest

type CommentsMoveCommentRequest struct {
	CommentId int64        `protobuf:"varint,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"`
	ItemId    int64        `protobuf:"varint,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	TypeId    CommentsType `protobuf:"varint,3,opt,name=type_id,json=typeId,proto3,enum=goautowp.CommentsType" json:"type_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CommentsMoveCommentRequest) Descriptor deprecated

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

Deprecated: Use CommentsMoveCommentRequest.ProtoReflect.Descriptor instead.

func (*CommentsMoveCommentRequest) GetCommentId

func (x *CommentsMoveCommentRequest) GetCommentId() int64

func (*CommentsMoveCommentRequest) GetItemId

func (x *CommentsMoveCommentRequest) GetItemId() int64

func (*CommentsMoveCommentRequest) GetTypeId

func (*CommentsMoveCommentRequest) ProtoMessage

func (*CommentsMoveCommentRequest) ProtoMessage()

func (*CommentsMoveCommentRequest) ProtoReflect

func (*CommentsMoveCommentRequest) Reset

func (x *CommentsMoveCommentRequest) Reset()

func (*CommentsMoveCommentRequest) String

func (x *CommentsMoveCommentRequest) String() string

type CommentsServer

CommentsServer is the server API for Comments service. All implementations must embed UnimplementedCommentsServer for forward compatibility

type CommentsSetDeletedRequest

type CommentsSetDeletedRequest struct {
	CommentId int64 `protobuf:"varint,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"`
	Deleted   bool  `protobuf:"varint,2,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*CommentsSetDeletedRequest) Descriptor deprecated

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

Deprecated: Use CommentsSetDeletedRequest.ProtoReflect.Descriptor instead.

func (*CommentsSetDeletedRequest) GetCommentId

func (x *CommentsSetDeletedRequest) GetCommentId() int64

func (*CommentsSetDeletedRequest) GetDeleted

func (x *CommentsSetDeletedRequest) GetDeleted() bool

func (*CommentsSetDeletedRequest) ProtoMessage

func (*CommentsSetDeletedRequest) ProtoMessage()

func (*CommentsSetDeletedRequest) ProtoReflect

func (*CommentsSetDeletedRequest) Reset

func (x *CommentsSetDeletedRequest) Reset()

func (*CommentsSetDeletedRequest) String

func (x *CommentsSetDeletedRequest) String() string

type CommentsSubscribeRequest

type CommentsSubscribeRequest struct {
	ItemId int64        `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	TypeId CommentsType `protobuf:"varint,2,opt,name=type_id,json=typeId,proto3,enum=goautowp.CommentsType" json:"type_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CommentsSubscribeRequest) Descriptor deprecated

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

Deprecated: Use CommentsSubscribeRequest.ProtoReflect.Descriptor instead.

func (*CommentsSubscribeRequest) GetItemId

func (x *CommentsSubscribeRequest) GetItemId() int64

func (*CommentsSubscribeRequest) GetTypeId

func (x *CommentsSubscribeRequest) GetTypeId() CommentsType

func (*CommentsSubscribeRequest) ProtoMessage

func (*CommentsSubscribeRequest) ProtoMessage()

func (*CommentsSubscribeRequest) ProtoReflect

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

func (*CommentsSubscribeRequest) Reset

func (x *CommentsSubscribeRequest) Reset()

func (*CommentsSubscribeRequest) String

func (x *CommentsSubscribeRequest) String() string

type CommentsType

type CommentsType int32
const (
	CommentsType_UNKNOWN          CommentsType = 0
	CommentsType_PICTURES_TYPE_ID CommentsType = 1
	CommentsType_ITEM_TYPE_ID     CommentsType = 2
	CommentsType_VOTINGS_TYPE_ID  CommentsType = 3
	CommentsType_ARTICLES_TYPE_ID CommentsType = 4
	CommentsType_FORUMS_TYPE_ID   CommentsType = 5
)

func (CommentsType) Descriptor

func (CommentsType) Enum

func (x CommentsType) Enum() *CommentsType

func (CommentsType) EnumDescriptor deprecated

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

Deprecated: Use CommentsType.Descriptor instead.

func (CommentsType) Number

func (CommentsType) String

func (x CommentsType) String() string

func (CommentsType) Type

type CommentsUnSubscribeRequest

type CommentsUnSubscribeRequest struct {
	ItemId int64        `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	TypeId CommentsType `protobuf:"varint,2,opt,name=type_id,json=typeId,proto3,enum=goautowp.CommentsType" json:"type_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CommentsUnSubscribeRequest) Descriptor deprecated

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

Deprecated: Use CommentsUnSubscribeRequest.ProtoReflect.Descriptor instead.

func (*CommentsUnSubscribeRequest) GetItemId

func (x *CommentsUnSubscribeRequest) GetItemId() int64

func (*CommentsUnSubscribeRequest) GetTypeId

func (*CommentsUnSubscribeRequest) ProtoMessage

func (*CommentsUnSubscribeRequest) ProtoMessage()

func (*CommentsUnSubscribeRequest) ProtoReflect

func (*CommentsUnSubscribeRequest) Reset

func (x *CommentsUnSubscribeRequest) Reset()

func (*CommentsUnSubscribeRequest) String

func (x *CommentsUnSubscribeRequest) String() string

type CommentsViewRequest

type CommentsViewRequest struct {
	ItemId int64        `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	TypeId CommentsType `protobuf:"varint,2,opt,name=type_id,json=typeId,proto3,enum=goautowp.CommentsType" json:"type_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CommentsViewRequest) Descriptor deprecated

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

Deprecated: Use CommentsViewRequest.ProtoReflect.Descriptor instead.

func (*CommentsViewRequest) GetItemId

func (x *CommentsViewRequest) GetItemId() int64

func (*CommentsViewRequest) GetTypeId

func (x *CommentsViewRequest) GetTypeId() CommentsType

func (*CommentsViewRequest) ProtoMessage

func (*CommentsViewRequest) ProtoMessage()

func (*CommentsViewRequest) ProtoReflect

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

func (*CommentsViewRequest) Reset

func (x *CommentsViewRequest) Reset()

func (*CommentsViewRequest) String

func (x *CommentsViewRequest) String() string

type CommentsVoteCommentRequest

type CommentsVoteCommentRequest struct {
	CommentId int64 `protobuf:"varint,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"`
	Vote      int32 `protobuf:"varint,2,opt,name=vote,proto3" json:"vote,omitempty"`
	// contains filtered or unexported fields
}

func (*CommentsVoteCommentRequest) Descriptor deprecated

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

Deprecated: Use CommentsVoteCommentRequest.ProtoReflect.Descriptor instead.

func (*CommentsVoteCommentRequest) GetCommentId

func (x *CommentsVoteCommentRequest) GetCommentId() int64

func (*CommentsVoteCommentRequest) GetVote

func (x *CommentsVoteCommentRequest) GetVote() int32

func (*CommentsVoteCommentRequest) ProtoMessage

func (*CommentsVoteCommentRequest) ProtoMessage()

func (*CommentsVoteCommentRequest) ProtoReflect

func (*CommentsVoteCommentRequest) Reset

func (x *CommentsVoteCommentRequest) Reset()

func (*CommentsVoteCommentRequest) String

func (x *CommentsVoteCommentRequest) String() string

type CommentsVoteCommentResponse

type CommentsVoteCommentResponse struct {
	Votes int32 `protobuf:"varint,1,opt,name=votes,proto3" json:"votes,omitempty"`
	// contains filtered or unexported fields
}

func (*CommentsVoteCommentResponse) Descriptor deprecated

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

Deprecated: Use CommentsVoteCommentResponse.ProtoReflect.Descriptor instead.

func (*CommentsVoteCommentResponse) GetVotes

func (x *CommentsVoteCommentResponse) GetVotes() int32

func (*CommentsVoteCommentResponse) ProtoMessage

func (*CommentsVoteCommentResponse) ProtoMessage()

func (*CommentsVoteCommentResponse) ProtoReflect

func (*CommentsVoteCommentResponse) Reset

func (x *CommentsVoteCommentResponse) Reset()

func (*CommentsVoteCommentResponse) String

func (x *CommentsVoteCommentResponse) String() string

type Contact

type Contact struct {
	ContactUserId int64    `protobuf:"varint,1,opt,name=contact_user_id,json=contactUserId,proto3" json:"contact_user_id,omitempty"`
	User          *APIUser `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*Contact) Descriptor deprecated

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

Deprecated: Use Contact.ProtoReflect.Descriptor instead.

func (*Contact) GetContactUserId

func (x *Contact) GetContactUserId() int64

func (*Contact) GetUser

func (x *Contact) GetUser() *APIUser

func (*Contact) ProtoMessage

func (*Contact) ProtoMessage()

func (*Contact) ProtoReflect

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

func (*Contact) Reset

func (x *Contact) Reset()

func (*Contact) String

func (x *Contact) String() string

type ContactItems

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

func (*ContactItems) Descriptor deprecated

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

Deprecated: Use ContactItems.ProtoReflect.Descriptor instead.

func (*ContactItems) GetItems

func (x *ContactItems) GetItems() []*Contact

func (*ContactItems) ProtoMessage

func (*ContactItems) ProtoMessage()

func (*ContactItems) ProtoReflect

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

func (*ContactItems) Reset

func (x *ContactItems) Reset()

func (*ContactItems) String

func (x *ContactItems) String() string

type ContactsClient

type ContactsClient interface {
	CreateContact(ctx context.Context, in *CreateContactRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteContact(ctx context.Context, in *DeleteContactRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetContact(ctx context.Context, in *GetContactRequest, opts ...grpc.CallOption) (*Contact, error)
	GetContacts(ctx context.Context, in *GetContactsRequest, opts ...grpc.CallOption) (*ContactItems, error)
}

ContactsClient is the client API for Contacts 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 NewContactsClient

func NewContactsClient(cc grpc.ClientConnInterface) ContactsClient

type ContactsGRPCServer

type ContactsGRPCServer struct {
	UnimplementedContactsServer
	// contains filtered or unexported fields
}

func NewContactsGRPCServer

func NewContactsGRPCServer(
	auth *Auth,
	contactsRepository *ContactsRepository,
	userRepository *users.Repository,
	userExtractor *UserExtractor,
) *ContactsGRPCServer

func (*ContactsGRPCServer) CreateContact

func (s *ContactsGRPCServer) CreateContact(ctx context.Context, in *CreateContactRequest) (*emptypb.Empty, error)

func (*ContactsGRPCServer) DeleteContact

func (s *ContactsGRPCServer) DeleteContact(ctx context.Context, in *DeleteContactRequest) (*emptypb.Empty, error)

func (*ContactsGRPCServer) GetContact

func (s *ContactsGRPCServer) GetContact(ctx context.Context, in *GetContactRequest) (*Contact, error)

func (*ContactsGRPCServer) GetContacts

type ContactsRepository

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

ContactsRepository Main Object.

func NewContactsRepository

func NewContactsRepository(db *goqu.Database) *ContactsRepository

NewContactsRepository constructor.

type ContactsServer

type ContactsServer interface {
	CreateContact(context.Context, *CreateContactRequest) (*emptypb.Empty, error)
	DeleteContact(context.Context, *DeleteContactRequest) (*emptypb.Empty, error)
	GetContact(context.Context, *GetContactRequest) (*Contact, error)
	GetContacts(context.Context, *GetContactsRequest) (*ContactItems, error)
	// contains filtered or unexported methods
}

ContactsServer is the server API for Contacts service. All implementations must embed UnimplementedContactsServer for forward compatibility

type Container

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

Container Container.

func NewContainer

func NewContainer(cfg config.Config) *Container

NewContainer constructor.

func (*Container) ArticlesGRPCServer added in v1.7.0

func (s *Container) ArticlesGRPCServer() (*ArticlesGRPCServer, error)

func (*Container) AttrsGRPCServer added in v1.43.0

func (s *Container) AttrsGRPCServer() (*AttrsGRPCServer, error)

func (*Container) AttrsRepository added in v1.43.0

func (s *Container) AttrsRepository() (*attrs.Repository, error)

func (*Container) Auth

func (s *Container) Auth() (*Auth, error)

func (*Container) AutowpDB

func (s *Container) AutowpDB() (*sql.DB, error)

func (*Container) BanRepository

func (s *Container) BanRepository() (*ban.Repository, error)

func (*Container) Catalogue

func (s *Container) Catalogue() (*Catalogue, error)

func (*Container) Close

func (s *Container) Close() error

func (*Container) CommentsGRPCServer

func (s *Container) CommentsGRPCServer() (*CommentsGRPCServer, error)

func (*Container) CommentsRepository

func (s *Container) CommentsRepository() (*comments.Repository, error)

func (*Container) Config

func (s *Container) Config() config.Config

func (*Container) ContactsGRPCServer

func (s *Container) ContactsGRPCServer() (*ContactsGRPCServer, error)

func (*Container) ContactsRepository

func (s *Container) ContactsRepository() (*ContactsRepository, error)

func (*Container) DonationsGRPCServer

func (s *Container) DonationsGRPCServer() (*DonationsGRPCServer, error)

func (*Container) DuplicateFinder

func (s *Container) DuplicateFinder() (*DuplicateFinder, error)

func (*Container) EmailSender

func (s *Container) EmailSender() email.Sender

func (*Container) Enforcer

func (s *Container) Enforcer() *casbin.Enforcer

func (*Container) Events

func (s *Container) Events() (*Events, error)

func (*Container) Feedback

func (s *Container) Feedback() (*Feedback, error)

func (*Container) Forums

func (s *Container) Forums() (*Forums, error)

func (*Container) ForumsGRPCServer added in v1.23.0

func (s *Container) ForumsGRPCServer() (*ForumsGRPCServer, error)

func (*Container) GRPCServer

func (s *Container) GRPCServer() (*GRPCServer, error)

func (*Container) GRPCServerWithServices added in v1.4.0

func (s *Container) GRPCServerWithServices() (*grpc.Server, error)

func (*Container) GoquDB

func (s *Container) GoquDB() (*goqu.Database, error)

func (*Container) GoquPostgresDB added in v1.1.0

func (s *Container) GoquPostgresDB() (*goqu.Database, error)

func (*Container) HostsManager

func (s *Container) HostsManager() *hosts.Manager

func (*Container) I18n added in v1.22.0

func (s *Container) I18n() (*i18nbundle.I18n, error)

func (*Container) IPExtractor

func (s *Container) IPExtractor() (*IPExtractor, error)

func (*Container) ImageStorage

func (s *Container) ImageStorage() (*storage.Storage, error)

func (*Container) Index added in v1.83.0

func (s *Container) Index() (*index.Index, error)

func (*Container) ItemExtractor added in v1.51.0

func (s *Container) ItemExtractor() (*ItemExtractor, error)

func (*Container) ItemOfDayRepository

func (s *Container) ItemOfDayRepository() (*itemofday.Repository, error)

func (*Container) ItemsGRPCServer

func (s *Container) ItemsGRPCServer() (*ItemsGRPCServer, error)

func (*Container) ItemsRepository

func (s *Container) ItemsRepository() (*items.Repository, error)

func (*Container) Keycloak

func (s *Container) Keycloak() *gocloak.GoCloak

func (*Container) Location

func (s *Container) Location() (*time.Location, error)

Location Location.

func (*Container) MapGRPCServer

func (s *Container) MapGRPCServer() (*MapGRPCServer, error)

func (*Container) MessagingGRPCServer

func (s *Container) MessagingGRPCServer() (*MessagingGRPCServer, error)

func (*Container) MessagingRepository

func (s *Container) MessagingRepository() (*messaging.Repository, error)

func (*Container) PicturesGRPCServer

func (s *Container) PicturesGRPCServer() (*PicturesGRPCServer, error)

func (*Container) PicturesRepository

func (s *Container) PicturesRepository() (*pictures.Repository, error)

func (*Container) PrivateHTTPServer

func (s *Container) PrivateHTTPServer(ctx context.Context) (*http.Server, error)

func (*Container) PrivateRouter

func (s *Container) PrivateRouter(ctx context.Context) (*gin.Engine, error)

func (*Container) PublicHTTPServer

func (s *Container) PublicHTTPServer(ctx context.Context) (*http.Server, error)

func (*Container) PublicRouter

func (s *Container) PublicRouter(ctx context.Context) (http.HandlerFunc, error)

func (*Container) RatingGRPCServer added in v1.76.0

func (s *Container) RatingGRPCServer() (*RatingGRPCServer, error)

func (*Container) Redis added in v1.47.0

func (s *Container) Redis() (*redis.Client, error)

func (*Container) SetEmailSender

func (s *Container) SetEmailSender(emailSender email.Sender)

func (*Container) StatisticsGRPCServer

func (s *Container) StatisticsGRPCServer() (*StatisticsGRPCServer, error)

func (*Container) TelegramService

func (s *Container) TelegramService() (*telegram.Service, error)

func (*Container) TextGRPCServer added in v1.30.0

func (s *Container) TextGRPCServer() (*TextGRPCServer, error)

func (*Container) TextStorageRepository added in v1.50.0

func (s *Container) TextStorageRepository() (*textstorage.Repository, error)

func (*Container) Traffic

func (s *Container) Traffic() (*traffic.Traffic, error)

func (*Container) TrafficGRPCServer

func (s *Container) TrafficGRPCServer() (*TrafficGRPCServer, error)

func (*Container) UserExtractor

func (s *Container) UserExtractor() (*UserExtractor, error)

func (*Container) UsersGRPCServer

func (s *Container) UsersGRPCServer() (*UsersGRPCServer, error)

func (*Container) UsersRepository

func (s *Container) UsersRepository() (*users.Repository, error)

func (*Container) YoomoneyHandler added in v1.68.0

func (s *Container) YoomoneyHandler() (*YoomoneyHandler, error)

type CreateContactRequest

type CreateContactRequest struct {
	UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateContactRequest) Descriptor deprecated

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

Deprecated: Use CreateContactRequest.ProtoReflect.Descriptor instead.

func (*CreateContactRequest) GetUserId

func (x *CreateContactRequest) GetUserId() int64

func (*CreateContactRequest) ProtoMessage

func (*CreateContactRequest) ProtoMessage()

func (*CreateContactRequest) ProtoReflect

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

func (*CreateContactRequest) Reset

func (x *CreateContactRequest) Reset()

func (*CreateContactRequest) String

func (x *CreateContactRequest) String() string

type CreateFeedbackRequest

type CreateFeedbackRequest struct {
	Name    string `json:"name"`
	Email   string `json:"email"`
	Message string `json:"message"`
	Captcha string `json:"captcha"`
	IP      string
}

CreateFeedbackRequest CreateFeedbackRequest.

func (*CreateFeedbackRequest) Validate

func (s *CreateFeedbackRequest) Validate(
	captchaEnabled bool,
	ip string,
) ([]*errdetails.BadRequest_FieldViolation, error)

type DeleteContactRequest

type DeleteContactRequest struct {
	UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteContactRequest) Descriptor deprecated

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

Deprecated: Use DeleteContactRequest.ProtoReflect.Descriptor instead.

func (*DeleteContactRequest) GetUserId

func (x *DeleteContactRequest) GetUserId() int64

func (*DeleteContactRequest) ProtoMessage

func (*DeleteContactRequest) ProtoMessage()

func (*DeleteContactRequest) ProtoReflect

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

func (*DeleteContactRequest) Reset

func (x *DeleteContactRequest) Reset()

func (*DeleteContactRequest) String

func (x *DeleteContactRequest) String() string

type DeleteFromTrafficBlacklistRequest

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

func (*DeleteFromTrafficBlacklistRequest) Descriptor deprecated

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

Deprecated: Use DeleteFromTrafficBlacklistRequest.ProtoReflect.Descriptor instead.

func (*DeleteFromTrafficBlacklistRequest) GetIp

func (*DeleteFromTrafficBlacklistRequest) ProtoMessage

func (*DeleteFromTrafficBlacklistRequest) ProtoMessage()

func (*DeleteFromTrafficBlacklistRequest) ProtoReflect

func (*DeleteFromTrafficBlacklistRequest) Reset

func (*DeleteFromTrafficBlacklistRequest) String

type DeleteFromTrafficWhitelistRequest

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

func (*DeleteFromTrafficWhitelistRequest) Descriptor deprecated

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

Deprecated: Use DeleteFromTrafficWhitelistRequest.ProtoReflect.Descriptor instead.

func (*DeleteFromTrafficWhitelistRequest) GetIp

func (*DeleteFromTrafficWhitelistRequest) ProtoMessage

func (*DeleteFromTrafficWhitelistRequest) ProtoMessage()

func (*DeleteFromTrafficWhitelistRequest) ProtoReflect

func (*DeleteFromTrafficWhitelistRequest) Reset

func (*DeleteFromTrafficWhitelistRequest) String

type DeleteModerVoteTemplateRequest

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

func (*DeleteModerVoteTemplateRequest) Descriptor deprecated

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

Deprecated: Use DeleteModerVoteTemplateRequest.ProtoReflect.Descriptor instead.

func (*DeleteModerVoteTemplateRequest) GetId

func (*DeleteModerVoteTemplateRequest) ProtoMessage

func (*DeleteModerVoteTemplateRequest) ProtoMessage()

func (*DeleteModerVoteTemplateRequest) ProtoReflect

func (*DeleteModerVoteTemplateRequest) Reset

func (x *DeleteModerVoteTemplateRequest) Reset()

func (*DeleteModerVoteTemplateRequest) String

type DonationsClient

type DonationsClient interface {
	GetVODData(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VODDataResponse, error)
}

DonationsClient is the client API for Donations 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 NewDonationsClient

func NewDonationsClient(cc grpc.ClientConnInterface) DonationsClient

type DonationsGRPCServer

type DonationsGRPCServer struct {
	UnimplementedDonationsServer
	// contains filtered or unexported fields
}

func NewDonationsGRPCServer

func NewDonationsGRPCServer(itemOfDay *itemofday.Repository, donationsVodPrice int32) *DonationsGRPCServer

func (*DonationsGRPCServer) GetVODData

type DonationsServer

type DonationsServer interface {
	GetVODData(context.Context, *emptypb.Empty) (*VODDataResponse, error)
	// contains filtered or unexported methods
}

DonationsServer is the server API for Donations service. All implementations must embed UnimplementedDonationsServer for forward compatibility

type DuplicateFinder

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

DuplicateFinder Main Object.

func NewDuplicateFinder

func NewDuplicateFinder(db *goqu.Database) (*DuplicateFinder, error)

NewDuplicateFinder constructor.

func (*DuplicateFinder) Index

func (s *DuplicateFinder) Index(ctx context.Context, id int, url string) error

Index picture image #nosec G107

func (*DuplicateFinder) ListenAMQP

func (s *DuplicateFinder) ListenAMQP(ctx context.Context, url string, queue string, quitChan chan bool) error

ListenAMQP for incoming messages.

type DuplicateFinderInputMessage

type DuplicateFinderInputMessage struct {
	PictureID int    `json:"picture_id"`
	URL       string `json:"url"`
}

DuplicateFinderInputMessage InputMessage.

type ErrorDetails

type ErrorDetails struct {
	RetryInfo           *errdetails.RetryInfo           `protobuf:"bytes,1,opt,name=retryInfo,proto3" json:"retryInfo,omitempty"`
	DebugInfo           *errdetails.DebugInfo           `protobuf:"bytes,2,opt,name=debugInfo,proto3" json:"debugInfo,omitempty"`
	QuotaFailure        *errdetails.QuotaFailure        `protobuf:"bytes,3,opt,name=quotaFailure,proto3" json:"quotaFailure,omitempty"`
	PreconditionFailure *errdetails.PreconditionFailure `protobuf:"bytes,4,opt,name=preconditionFailure,proto3" json:"preconditionFailure,omitempty"`
	BadRequest          *errdetails.BadRequest          `protobuf:"bytes,5,opt,name=badRequest,proto3" json:"badRequest,omitempty"`
	RequestInfo         *errdetails.RequestInfo         `protobuf:"bytes,6,opt,name=requestInfo,proto3" json:"requestInfo,omitempty"`
	Help                *errdetails.Help                `protobuf:"bytes,7,opt,name=help,proto3" json:"help,omitempty"`
	LocalizedMessage    *errdetails.LocalizedMessage    `protobuf:"bytes,8,opt,name=localizedMessage,proto3" json:"localizedMessage,omitempty"`
	// contains filtered or unexported fields
}

func (*ErrorDetails) Descriptor deprecated

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

Deprecated: Use ErrorDetails.ProtoReflect.Descriptor instead.

func (*ErrorDetails) GetBadRequest

func (x *ErrorDetails) GetBadRequest() *errdetails.BadRequest

func (*ErrorDetails) GetDebugInfo

func (x *ErrorDetails) GetDebugInfo() *errdetails.DebugInfo

func (*ErrorDetails) GetHelp

func (x *ErrorDetails) GetHelp() *errdetails.Help

func (*ErrorDetails) GetLocalizedMessage

func (x *ErrorDetails) GetLocalizedMessage() *errdetails.LocalizedMessage

func (*ErrorDetails) GetPreconditionFailure

func (x *ErrorDetails) GetPreconditionFailure() *errdetails.PreconditionFailure

func (*ErrorDetails) GetQuotaFailure

func (x *ErrorDetails) GetQuotaFailure() *errdetails.QuotaFailure

func (*ErrorDetails) GetRequestInfo

func (x *ErrorDetails) GetRequestInfo() *errdetails.RequestInfo

func (*ErrorDetails) GetRetryInfo

func (x *ErrorDetails) GetRetryInfo() *errdetails.RetryInfo

func (*ErrorDetails) ProtoMessage

func (*ErrorDetails) ProtoMessage()

func (*ErrorDetails) ProtoReflect

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

func (*ErrorDetails) Reset

func (x *ErrorDetails) Reset()

func (*ErrorDetails) String

func (x *ErrorDetails) String() string

type Event

type Event struct {
	UserID  int64
	Message string
	Users   []int64
}

type Events

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

func NewEvents

func NewEvents(db *goqu.Database) *Events

func (*Events) Add

func (s *Events) Add(event Event) error

type Feedback

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

Feedback Main Object.

func NewFeedback

func NewFeedback(
	config config.FeedbackConfig,
	recaptchaConfig config.RecaptchaConfig,
	captchaEnabled bool,
	emailSender email.Sender,
) *Feedback

NewFeedback constructor.

func (*Feedback) Create

type Forums

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

Forums Main Object.

func NewForums

func NewForums(db *goqu.Database, commentsRepository *comments.Repository) *Forums

func (*Forums) AddTopic added in v1.23.0

func (s *Forums) AddTopic(
	ctx context.Context,
	themeID int64,
	name string,
	userID int64,
	remoteAddr string,
) (int64, error)

func (*Forums) Close added in v1.24.0

func (s *Forums) Close(ctx context.Context, id int64) error

func (*Forums) Delete added in v1.24.0

func (s *Forums) Delete(ctx context.Context, id int64) error

func (*Forums) GetUserSummary

func (s *Forums) GetUserSummary(ctx context.Context, userID int64) (int, error)

func (*Forums) LastMessage added in v1.37.0

func (s *Forums) LastMessage(ctx context.Context, topicID int64, isModerator bool) (*CommentMessage, error)

func (*Forums) LastTopic added in v1.37.0

func (s *Forums) LastTopic(ctx context.Context, themeID int64, userID int64, isModerator bool) (*ForumsTopic, error)

func (*Forums) MoveTopic added in v1.25.0

func (s *Forums) MoveTopic(ctx context.Context, id int64, themeID int64) error

func (*Forums) Open added in v1.24.0

func (s *Forums) Open(ctx context.Context, id int64) error

func (*Forums) Theme added in v1.37.0

func (s *Forums) Theme(ctx context.Context, themeID int64, isModerator bool) (*ForumsTheme, error)

func (*Forums) Themes added in v1.37.0

func (s *Forums) Themes(ctx context.Context, themeID int64, isModerator bool) ([]*ForumsTheme, error)

func (*Forums) Topic added in v1.37.0

func (s *Forums) Topic(ctx context.Context, topicID int64, userID int64, isModerator bool) (*ForumsTopic, error)

func (*Forums) Topics added in v1.37.0

func (s *Forums) Topics(
	ctx context.Context,
	themeID int64, userID int64, isModerator bool, subscription bool, page int32,
) ([]*ForumsTopic, *util.Pages, error)

type ForumsClient added in v1.23.0

ForumsClient is the client API for Forums 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 NewForumsClient added in v1.23.0

func NewForumsClient(cc grpc.ClientConnInterface) ForumsClient

type ForumsGRPCServer added in v1.23.0

type ForumsGRPCServer struct {
	UnimplementedForumsServer
	// contains filtered or unexported fields
}

func NewForumsGRPCServer added in v1.23.0

func NewForumsGRPCServer(
	auth *Auth,
	forums *Forums,
	commentsRepository *comments.Repository,
	usersRepository *users.Repository,
	enforcer *casbin.Enforcer,
) *ForumsGRPCServer

func (*ForumsGRPCServer) CloseTopic added in v1.24.0

func (*ForumsGRPCServer) CreateTopic added in v1.23.0

func (*ForumsGRPCServer) DeleteTopic added in v1.24.0

func (*ForumsGRPCServer) GetLastMessage added in v1.37.0

func (*ForumsGRPCServer) GetLastTopic added in v1.37.0

func (*ForumsGRPCServer) GetTheme added in v1.37.0

func (*ForumsGRPCServer) GetThemes added in v1.37.0

func (*ForumsGRPCServer) GetTopic added in v1.37.0

func (*ForumsGRPCServer) GetTopics added in v1.37.0

func (*ForumsGRPCServer) GetUserSummary added in v1.23.0

func (s *ForumsGRPCServer) GetUserSummary(ctx context.Context, _ *emptypb.Empty) (*APIForumsUserSummary, error)

func (*ForumsGRPCServer) MoveTopic added in v1.25.0

func (*ForumsGRPCServer) OpenTopic added in v1.24.0

type ForumsServer added in v1.23.0

ForumsServer is the server API for Forums service. All implementations must embed UnimplementedForumsServer for forward compatibility

type ForumsTheme added in v1.37.0

type ForumsTheme struct {
	ID            int64  `db:"id"`
	Name          string `db:"name"`
	TopicsCount   int32  `db:"topics"`
	MessagesCount int32  `db:"messages"`
	DisableTopics bool   `db:"disable_topics"`
	Description   string `db:"description"`
}

type ForumsTopic added in v1.37.0

type ForumsTopic struct {
	ID           int64  `db:"id"`
	Name         string `db:"name"`
	Status       string `db:"status"`
	Messages     int32
	NewMessages  int32
	CreatedAt    time.Time `db:"add_datetime"`
	UserID       int64     `db:"author_id"`
	ThemeID      int64     `db:"theme_id"`
	Subscription bool
}

type GRPCServer

type GRPCServer struct {
	UnimplementedAutowpServer
	// contains filtered or unexported fields
}

func NewGRPCServer

func NewGRPCServer(
	auth *Auth,
	catalogue *Catalogue,
	reCaptchaConfig config.RecaptchaConfig,
	fileStorageConfig config.FileStorageConfig,
	enforcer *casbin.Enforcer,
	comments *comments.Repository,
	ipExtractor *IPExtractor,
	feedback *Feedback,
) *GRPCServer

func (*GRPCServer) AclEnforce

func (s *GRPCServer) AclEnforce(
	ctx context.Context,
	in *AclEnforceRequest,
) (*AclEnforceResult, error)

func (*GRPCServer) CreateFeedback

func (s *GRPCServer) CreateFeedback(ctx context.Context, in *APICreateFeedbackRequest) (*emptypb.Empty, error)

func (*GRPCServer) GetBrandIcons

func (s *GRPCServer) GetBrandIcons(context.Context, *emptypb.Empty) (*BrandIcons, error)

func (*GRPCServer) GetBrandVehicleTypes

func (s *GRPCServer) GetBrandVehicleTypes(
	ctx context.Context,
	in *GetBrandVehicleTypesRequest,
) (*BrandVehicleTypeItems, error)

func (*GRPCServer) GetIP

func (s *GRPCServer) GetIP(ctx context.Context, in *APIGetIPRequest) (*APIIP, error)

func (*GRPCServer) GetPerspectivePages

func (s *GRPCServer) GetPerspectivePages(ctx context.Context, _ *emptypb.Empty) (*PerspectivePagesItems, error)

func (*GRPCServer) GetPerspectives

func (s *GRPCServer) GetPerspectives(ctx context.Context, _ *emptypb.Empty) (*PerspectivesItems, error)

func (*GRPCServer) GetReCaptchaConfig

func (s *GRPCServer) GetReCaptchaConfig(context.Context, *emptypb.Empty) (*ReCaptchaConfig, error)

func (*GRPCServer) GetSpecs

func (s *GRPCServer) GetSpecs(ctx context.Context, _ *emptypb.Empty) (*SpecsItems, error)

func (*GRPCServer) GetVehicleTypes

func (s *GRPCServer) GetVehicleTypes(ctx context.Context, _ *emptypb.Empty) (*VehicleTypeItems, error)

type GetBrandVehicleTypesRequest

type GetBrandVehicleTypesRequest struct {
	BrandId int32 `protobuf:"varint,1,opt,name=brand_id,json=brandId,proto3" json:"brand_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBrandVehicleTypesRequest) Descriptor deprecated

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

Deprecated: Use GetBrandVehicleTypesRequest.ProtoReflect.Descriptor instead.

func (*GetBrandVehicleTypesRequest) GetBrandId

func (x *GetBrandVehicleTypesRequest) GetBrandId() int32

func (*GetBrandVehicleTypesRequest) ProtoMessage

func (*GetBrandVehicleTypesRequest) ProtoMessage()

func (*GetBrandVehicleTypesRequest) ProtoReflect

func (*GetBrandVehicleTypesRequest) Reset

func (x *GetBrandVehicleTypesRequest) Reset()

func (*GetBrandVehicleTypesRequest) String

func (x *GetBrandVehicleTypesRequest) String() string

type GetCommentVotesRequest

type GetCommentVotesRequest struct {
	CommentId int64 `protobuf:"varint,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCommentVotesRequest) Descriptor deprecated

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

Deprecated: Use GetCommentVotesRequest.ProtoReflect.Descriptor instead.

func (*GetCommentVotesRequest) GetCommentId

func (x *GetCommentVotesRequest) GetCommentId() int64

func (*GetCommentVotesRequest) ProtoMessage

func (*GetCommentVotesRequest) ProtoMessage()

func (*GetCommentVotesRequest) ProtoReflect

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

func (*GetCommentVotesRequest) Reset

func (x *GetCommentVotesRequest) Reset()

func (*GetCommentVotesRequest) String

func (x *GetCommentVotesRequest) String() string

type GetContactRequest

type GetContactRequest struct {
	UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetContactRequest) Descriptor deprecated

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

Deprecated: Use GetContactRequest.ProtoReflect.Descriptor instead.

func (*GetContactRequest) GetUserId

func (x *GetContactRequest) GetUserId() int64

func (*GetContactRequest) ProtoMessage

func (*GetContactRequest) ProtoMessage()

func (*GetContactRequest) ProtoReflect

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

func (*GetContactRequest) Reset

func (x *GetContactRequest) Reset()

func (*GetContactRequest) String

func (x *GetContactRequest) String() string

type GetContactsRequest

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

func (*GetContactsRequest) Descriptor deprecated

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

Deprecated: Use GetContactsRequest.ProtoReflect.Descriptor instead.

func (*GetContactsRequest) ProtoMessage

func (*GetContactsRequest) ProtoMessage()

func (*GetContactsRequest) ProtoReflect

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

func (*GetContactsRequest) Reset

func (x *GetContactsRequest) Reset()

func (*GetContactsRequest) String

func (x *GetContactsRequest) String() string

type GetMessagePageRequest added in v1.38.0

type GetMessagePageRequest struct {
	MessageId int64 `protobuf:"varint,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	PerPage   int32 `protobuf:"varint,2,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMessagePageRequest) Descriptor deprecated added in v1.38.0

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

Deprecated: Use GetMessagePageRequest.ProtoReflect.Descriptor instead.

func (*GetMessagePageRequest) GetMessageId added in v1.38.0

func (x *GetMessagePageRequest) GetMessageId() int64

func (*GetMessagePageRequest) GetPerPage added in v1.38.0

func (x *GetMessagePageRequest) GetPerPage() int32

func (*GetMessagePageRequest) ProtoMessage added in v1.38.0

func (*GetMessagePageRequest) ProtoMessage()

func (*GetMessagePageRequest) ProtoReflect added in v1.38.0

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

func (*GetMessagePageRequest) Reset added in v1.38.0

func (x *GetMessagePageRequest) Reset()

func (*GetMessagePageRequest) String added in v1.38.0

func (x *GetMessagePageRequest) String() string

type GetMessageRequest added in v1.41.0

type GetMessageRequest struct {
	Id     int64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Fields *CommentMessageFields `protobuf:"bytes,2,opt,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMessageRequest) Descriptor deprecated added in v1.41.0

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

Deprecated: Use GetMessageRequest.ProtoReflect.Descriptor instead.

func (*GetMessageRequest) GetFields added in v1.41.0

func (x *GetMessageRequest) GetFields() *CommentMessageFields

func (*GetMessageRequest) GetId added in v1.41.0

func (x *GetMessageRequest) GetId() int64

func (*GetMessageRequest) ProtoMessage added in v1.41.0

func (*GetMessageRequest) ProtoMessage()

func (*GetMessageRequest) ProtoReflect added in v1.41.0

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

func (*GetMessageRequest) Reset added in v1.41.0

func (x *GetMessageRequest) Reset()

func (*GetMessageRequest) String added in v1.41.0

func (x *GetMessageRequest) String() string

type GetMessagesRequest added in v1.41.0

type GetMessagesRequest struct {
	Fields             *CommentMessageFields    `protobuf:"bytes,1,opt,name=fields,proto3" json:"fields,omitempty"`
	ItemId             int64                    `protobuf:"varint,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	TypeId             CommentsType             `protobuf:"varint,3,opt,name=type_id,json=typeId,proto3,enum=goautowp.CommentsType" json:"type_id,omitempty"`
	ParentId           int64                    `protobuf:"varint,4,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	NoParents          bool                     `protobuf:"varint,5,opt,name=no_parents,json=noParents,proto3" json:"no_parents,omitempty"`
	UserId             int64                    `protobuf:"varint,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Order              GetMessagesRequest_Order `protobuf:"varint,7,opt,name=order,proto3,enum=goautowp.GetMessagesRequest_Order" json:"order,omitempty"`
	UserIdentity       string                   `protobuf:"bytes,8,opt,name=user_identity,json=userIdentity,proto3" json:"user_identity,omitempty"`
	ModeratorAttention ModeratorAttention       `` /* 149-byte string literal not displayed */
	PicturesOfItemId   int64                    `protobuf:"varint,10,opt,name=pictures_of_item_id,json=picturesOfItemId,proto3" json:"pictures_of_item_id,omitempty"`
	Limit              int32                    `protobuf:"varint,11,opt,name=limit,proto3" json:"limit,omitempty"`
	Page               int32                    `protobuf:"varint,12,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMessagesRequest) Descriptor deprecated added in v1.41.0

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

Deprecated: Use GetMessagesRequest.ProtoReflect.Descriptor instead.

func (*GetMessagesRequest) GetFields added in v1.41.0

func (x *GetMessagesRequest) GetFields() *CommentMessageFields

func (*GetMessagesRequest) GetItemId added in v1.41.0

func (x *GetMessagesRequest) GetItemId() int64

func (*GetMessagesRequest) GetLimit added in v1.41.0

func (x *GetMessagesRequest) GetLimit() int32

func (*GetMessagesRequest) GetModeratorAttention added in v1.41.0

func (x *GetMessagesRequest) GetModeratorAttention() ModeratorAttention

func (*GetMessagesRequest) GetNoParents added in v1.41.0

func (x *GetMessagesRequest) GetNoParents() bool

func (*GetMessagesRequest) GetOrder added in v1.41.0

func (*GetMessagesRequest) GetPage added in v1.41.0

func (x *GetMessagesRequest) GetPage() int32

func (*GetMessagesRequest) GetParentId added in v1.41.0

func (x *GetMessagesRequest) GetParentId() int64

func (*GetMessagesRequest) GetPicturesOfItemId added in v1.41.0

func (x *GetMessagesRequest) GetPicturesOfItemId() int64

func (*GetMessagesRequest) GetTypeId added in v1.41.0

func (x *GetMessagesRequest) GetTypeId() CommentsType

func (*GetMessagesRequest) GetUserId added in v1.41.0

func (x *GetMessagesRequest) GetUserId() int64

func (*GetMessagesRequest) GetUserIdentity added in v1.41.0

func (x *GetMessagesRequest) GetUserIdentity() string

func (*GetMessagesRequest) ProtoMessage added in v1.41.0

func (*GetMessagesRequest) ProtoMessage()

func (*GetMessagesRequest) ProtoReflect added in v1.41.0

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

func (*GetMessagesRequest) Reset added in v1.41.0

func (x *GetMessagesRequest) Reset()

func (*GetMessagesRequest) String added in v1.41.0

func (x *GetMessagesRequest) String() string

type GetMessagesRequest_Order added in v1.41.0

type GetMessagesRequest_Order int32
const (
	GetMessagesRequest_DEFAULT   GetMessagesRequest_Order = 0
	GetMessagesRequest_VOTE_DESC GetMessagesRequest_Order = 1
	GetMessagesRequest_VOTE_ASC  GetMessagesRequest_Order = 2
	GetMessagesRequest_DATE_DESC GetMessagesRequest_Order = 3
	GetMessagesRequest_DATE_ASC  GetMessagesRequest_Order = 4
)

func (GetMessagesRequest_Order) Descriptor added in v1.41.0

func (GetMessagesRequest_Order) Enum added in v1.41.0

func (GetMessagesRequest_Order) EnumDescriptor deprecated added in v1.41.0

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

Deprecated: Use GetMessagesRequest_Order.Descriptor instead.

func (GetMessagesRequest_Order) Number added in v1.41.0

func (GetMessagesRequest_Order) String added in v1.41.0

func (x GetMessagesRequest_Order) String() string

func (GetMessagesRequest_Order) Type added in v1.41.0

type GetTopBrandsListRequest

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

func (*GetTopBrandsListRequest) Descriptor deprecated

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

Deprecated: Use GetTopBrandsListRequest.ProtoReflect.Descriptor instead.

func (*GetTopBrandsListRequest) GetLanguage

func (x *GetTopBrandsListRequest) GetLanguage() string

func (*GetTopBrandsListRequest) ProtoMessage

func (*GetTopBrandsListRequest) ProtoMessage()

func (*GetTopBrandsListRequest) ProtoReflect

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

func (*GetTopBrandsListRequest) Reset

func (x *GetTopBrandsListRequest) Reset()

func (*GetTopBrandsListRequest) String

func (x *GetTopBrandsListRequest) String() string

type GetTopCategoriesListRequest

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

func (*GetTopCategoriesListRequest) Descriptor deprecated

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

Deprecated: Use GetTopCategoriesListRequest.ProtoReflect.Descriptor instead.

func (*GetTopCategoriesListRequest) GetLanguage

func (x *GetTopCategoriesListRequest) GetLanguage() string

func (*GetTopCategoriesListRequest) ProtoMessage

func (*GetTopCategoriesListRequest) ProtoMessage()

func (*GetTopCategoriesListRequest) ProtoReflect

func (*GetTopCategoriesListRequest) Reset

func (x *GetTopCategoriesListRequest) Reset()

func (*GetTopCategoriesListRequest) String

func (x *GetTopCategoriesListRequest) String() string

type GetTopFactoriesListRequest

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

func (*GetTopFactoriesListRequest) Descriptor deprecated

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

Deprecated: Use GetTopFactoriesListRequest.ProtoReflect.Descriptor instead.

func (*GetTopFactoriesListRequest) GetLanguage

func (x *GetTopFactoriesListRequest) GetLanguage() string

func (*GetTopFactoriesListRequest) ProtoMessage

func (*GetTopFactoriesListRequest) ProtoMessage()

func (*GetTopFactoriesListRequest) ProtoReflect

func (*GetTopFactoriesListRequest) Reset

func (x *GetTopFactoriesListRequest) Reset()

func (*GetTopFactoriesListRequest) String

func (x *GetTopFactoriesListRequest) String() string

type GetTopPersonsListRequest

type GetTopPersonsListRequest struct {
	Language        string          `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"`
	PictureItemType PictureItemType `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetTopPersonsListRequest) Descriptor deprecated

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

Deprecated: Use GetTopPersonsListRequest.ProtoReflect.Descriptor instead.

func (*GetTopPersonsListRequest) GetLanguage

func (x *GetTopPersonsListRequest) GetLanguage() string

func (*GetTopPersonsListRequest) GetPictureItemType

func (x *GetTopPersonsListRequest) GetPictureItemType() PictureItemType

func (*GetTopPersonsListRequest) ProtoMessage

func (*GetTopPersonsListRequest) ProtoMessage()

func (*GetTopPersonsListRequest) ProtoReflect

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

func (*GetTopPersonsListRequest) Reset

func (x *GetTopPersonsListRequest) Reset()

func (*GetTopPersonsListRequest) String

func (x *GetTopPersonsListRequest) String() string

type GetTopTwinsBrandsListRequest

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

func (*GetTopTwinsBrandsListRequest) Descriptor deprecated

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

Deprecated: Use GetTopTwinsBrandsListRequest.ProtoReflect.Descriptor instead.

func (*GetTopTwinsBrandsListRequest) GetLanguage

func (x *GetTopTwinsBrandsListRequest) GetLanguage() string

func (*GetTopTwinsBrandsListRequest) ProtoMessage

func (*GetTopTwinsBrandsListRequest) ProtoMessage()

func (*GetTopTwinsBrandsListRequest) ProtoReflect

func (*GetTopTwinsBrandsListRequest) Reset

func (x *GetTopTwinsBrandsListRequest) Reset()

func (*GetTopTwinsBrandsListRequest) String

type GetTreeRequest

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

func (*GetTreeRequest) Descriptor deprecated

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

Deprecated: Use GetTreeRequest.ProtoReflect.Descriptor instead.

func (*GetTreeRequest) GetId

func (x *GetTreeRequest) GetId() string

func (*GetTreeRequest) ProtoMessage

func (*GetTreeRequest) ProtoMessage()

func (*GetTreeRequest) ProtoReflect

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

func (*GetTreeRequest) Reset

func (x *GetTreeRequest) Reset()

func (*GetTreeRequest) String

func (x *GetTreeRequest) String() string

type GetTwinsBrandsListRequest added in v1.36.0

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

func (*GetTwinsBrandsListRequest) Descriptor deprecated added in v1.36.0

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

Deprecated: Use GetTwinsBrandsListRequest.ProtoReflect.Descriptor instead.

func (*GetTwinsBrandsListRequest) GetLanguage added in v1.36.0

func (x *GetTwinsBrandsListRequest) GetLanguage() string

func (*GetTwinsBrandsListRequest) ProtoMessage added in v1.36.0

func (*GetTwinsBrandsListRequest) ProtoMessage()

func (*GetTwinsBrandsListRequest) ProtoReflect added in v1.36.0

func (*GetTwinsBrandsListRequest) Reset added in v1.36.0

func (x *GetTwinsBrandsListRequest) Reset()

func (*GetTwinsBrandsListRequest) String added in v1.36.0

func (x *GetTwinsBrandsListRequest) String() string

type GetUserRatingFansResponse added in v1.76.0

type GetUserRatingFansResponse struct {
	Fans []*APIUsersRatingUserFan `protobuf:"bytes,1,rep,name=fans,proto3" json:"fans,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserRatingFansResponse) Descriptor deprecated added in v1.76.0

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

Deprecated: Use GetUserRatingFansResponse.ProtoReflect.Descriptor instead.

func (*GetUserRatingFansResponse) GetFans added in v1.76.0

func (*GetUserRatingFansResponse) ProtoMessage added in v1.76.0

func (*GetUserRatingFansResponse) ProtoMessage()

func (*GetUserRatingFansResponse) ProtoReflect added in v1.76.0

func (*GetUserRatingFansResponse) Reset added in v1.76.0

func (x *GetUserRatingFansResponse) Reset()

func (*GetUserRatingFansResponse) String added in v1.76.0

func (x *GetUserRatingFansResponse) String() string

type IPExtractor

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

func NewIPExtractor

func NewIPExtractor(
	enforcer *casbin.Enforcer,
	banRepository *ban.Repository,
	userRepository *users.Repository,
	userExtractor *UserExtractor,
) *IPExtractor

func (*IPExtractor) Extract

func (s *IPExtractor) Extract(ctx context.Context, ip net.IP, fields map[string]bool, role string) (*APIIP, error)

type ItemExtractor added in v1.51.0

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

func NewItemExtractor added in v1.51.0

func NewItemExtractor(
	enforcer *casbin.Enforcer,
	imageStorage *storage.Storage,
	commentsRepository *comments.Repository,
	picturesRepository *pictures.Repository,
	itemOfDayRepository *itemofday.Repository,
) *ItemExtractor

func (*ItemExtractor) Extract added in v1.51.0

func (s *ItemExtractor) Extract(
	ctx context.Context, row items.Item, fields *ItemFields, localizer *i18n.Localizer,
) (*APIItem, error)

type ItemFields

type ItemFields struct {
	NameOnly                   bool                   `protobuf:"varint,1,opt,name=name_only,json=nameOnly,proto3" json:"name_only,omitempty"`
	NameDefault                bool                   `protobuf:"varint,2,opt,name=name_default,json=nameDefault,proto3" json:"name_default,omitempty"`
	NameHtml                   bool                   `protobuf:"varint,3,opt,name=name_html,json=nameHtml,proto3" json:"name_html,omitempty"`
	NameText                   bool                   `protobuf:"varint,4,opt,name=name_text,json=nameText,proto3" json:"name_text,omitempty"`
	Description                bool                   `protobuf:"varint,5,opt,name=description,proto3" json:"description,omitempty"`
	HasText                    bool                   `protobuf:"varint,6,opt,name=has_text,json=hasText,proto3" json:"has_text,omitempty"`
	PreviewPictures            *PreviewPicturesFields `protobuf:"bytes,7,opt,name=preview_pictures,json=previewPictures,proto3" json:"preview_pictures,omitempty"`
	TotalPictures              bool                   `protobuf:"varint,8,opt,name=total_pictures,json=totalPictures,proto3" json:"total_pictures,omitempty"`
	DescendantsCount           bool                   `protobuf:"varint,9,opt,name=descendants_count,json=descendantsCount,proto3" json:"descendants_count,omitempty"`
	CurrentPicturesCount       bool                   `protobuf:"varint,10,opt,name=current_pictures_count,json=currentPicturesCount,proto3" json:"current_pictures_count,omitempty"`
	ChildsCount                bool                   `protobuf:"varint,11,opt,name=childs_count,json=childsCount,proto3" json:"childs_count,omitempty"`
	DescendantTwinsGroupsCount bool                   `` /* 145-byte string literal not displayed */
	InboxPicturesCount         bool                   `protobuf:"varint,13,opt,name=inbox_pictures_count,json=inboxPicturesCount,proto3" json:"inbox_pictures_count,omitempty"`
	FullName                   bool                   `protobuf:"varint,14,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	Logo120                    bool                   `protobuf:"varint,15,opt,name=logo120,proto3" json:"logo120,omitempty"`
	MostsActive                bool                   `protobuf:"varint,16,opt,name=mosts_active,json=mostsActive,proto3" json:"mosts_active,omitempty"`
	CommentsAttentionsCount    bool                   `` /* 134-byte string literal not displayed */
	IsCompilesItemOfDay        bool                   `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ItemFields) Descriptor deprecated

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

Deprecated: Use ItemFields.ProtoReflect.Descriptor instead.

func (*ItemFields) GetChildsCount added in v1.63.0

func (x *ItemFields) GetChildsCount() bool

func (*ItemFields) GetCommentsAttentionsCount added in v1.67.0

func (x *ItemFields) GetCommentsAttentionsCount() bool

func (*ItemFields) GetCurrentPicturesCount added in v1.57.0

func (x *ItemFields) GetCurrentPicturesCount() bool

func (*ItemFields) GetDescendantTwinsGroupsCount added in v1.65.0

func (x *ItemFields) GetDescendantTwinsGroupsCount() bool

func (*ItemFields) GetDescendantsCount added in v1.51.0

func (x *ItemFields) GetDescendantsCount() bool

func (*ItemFields) GetDescription

func (x *ItemFields) GetDescription() bool

func (*ItemFields) GetFullName added in v1.65.0

func (x *ItemFields) GetFullName() bool

func (*ItemFields) GetHasText

func (x *ItemFields) GetHasText() bool

func (*ItemFields) GetInboxPicturesCount added in v1.65.0

func (x *ItemFields) GetInboxPicturesCount() bool

func (*ItemFields) GetIsCompilesItemOfDay added in v1.71.0

func (x *ItemFields) GetIsCompilesItemOfDay() bool

func (*ItemFields) GetLogo120 added in v1.65.0

func (x *ItemFields) GetLogo120() bool

func (*ItemFields) GetMostsActive added in v1.65.0

func (x *ItemFields) GetMostsActive() bool

func (*ItemFields) GetNameDefault

func (x *ItemFields) GetNameDefault() bool

func (*ItemFields) GetNameHtml

func (x *ItemFields) GetNameHtml() bool

func (*ItemFields) GetNameOnly added in v1.52.0

func (x *ItemFields) GetNameOnly() bool

func (*ItemFields) GetNameText added in v1.51.0

func (x *ItemFields) GetNameText() bool

func (*ItemFields) GetPreviewPictures

func (x *ItemFields) GetPreviewPictures() *PreviewPicturesFields

func (*ItemFields) GetTotalPictures

func (x *ItemFields) GetTotalPictures() bool

func (*ItemFields) ProtoMessage

func (*ItemFields) ProtoMessage()

func (*ItemFields) ProtoReflect

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

func (*ItemFields) Reset

func (x *ItemFields) Reset()

func (*ItemFields) String

func (x *ItemFields) String() string

type ItemLanguage added in v1.50.0

type ItemLanguage struct {
	ItemId     int64  `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	Language   string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"`
	Name       string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	TextId     int64  `protobuf:"varint,4,opt,name=text_id,json=textId,proto3" json:"text_id,omitempty"`
	Text       string `protobuf:"bytes,5,opt,name=text,proto3" json:"text,omitempty"`
	FullTextId int64  `protobuf:"varint,6,opt,name=full_text_id,json=fullTextId,proto3" json:"full_text_id,omitempty"`
	FullText   string `protobuf:"bytes,7,opt,name=full_text,json=fullText,proto3" json:"full_text,omitempty"`
	// contains filtered or unexported fields
}

func (*ItemLanguage) Descriptor deprecated added in v1.50.0

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

Deprecated: Use ItemLanguage.ProtoReflect.Descriptor instead.

func (*ItemLanguage) GetFullText added in v1.50.0

func (x *ItemLanguage) GetFullText() string

func (*ItemLanguage) GetFullTextId added in v1.50.0

func (x *ItemLanguage) GetFullTextId() int64

func (*ItemLanguage) GetItemId added in v1.50.0

func (x *ItemLanguage) GetItemId() int64

func (*ItemLanguage) GetLanguage added in v1.50.0

func (x *ItemLanguage) GetLanguage() string

func (*ItemLanguage) GetName added in v1.50.0

func (x *ItemLanguage) GetName() string

func (*ItemLanguage) GetText added in v1.50.0

func (x *ItemLanguage) GetText() string

func (*ItemLanguage) GetTextId added in v1.50.0

func (x *ItemLanguage) GetTextId() int64

func (*ItemLanguage) ProtoMessage added in v1.50.0

func (*ItemLanguage) ProtoMessage()

func (*ItemLanguage) ProtoReflect added in v1.50.0

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

func (*ItemLanguage) Reset added in v1.50.0

func (x *ItemLanguage) Reset()

func (*ItemLanguage) String added in v1.50.0

func (x *ItemLanguage) String() string

type ItemLanguages added in v1.50.0

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

func (*ItemLanguages) Descriptor deprecated added in v1.50.0

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

Deprecated: Use ItemLanguages.ProtoReflect.Descriptor instead.

func (*ItemLanguages) GetItems added in v1.50.0

func (x *ItemLanguages) GetItems() []*ItemLanguage

func (*ItemLanguages) ProtoMessage added in v1.50.0

func (*ItemLanguages) ProtoMessage()

func (*ItemLanguages) ProtoReflect added in v1.50.0

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

func (*ItemLanguages) Reset added in v1.50.0

func (x *ItemLanguages) Reset()

func (*ItemLanguages) String added in v1.50.0

func (x *ItemLanguages) String() string

type ItemParentLanguage added in v1.49.0

type ItemParentLanguage struct {
	ItemId   int64  `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	ParentId int64  `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	Name     string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Language string `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"`
	// contains filtered or unexported fields
}

func (*ItemParentLanguage) Descriptor deprecated added in v1.49.0

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

Deprecated: Use ItemParentLanguage.ProtoReflect.Descriptor instead.

func (*ItemParentLanguage) GetItemId added in v1.49.0

func (x *ItemParentLanguage) GetItemId() int64

func (*ItemParentLanguage) GetLanguage added in v1.49.0

func (x *ItemParentLanguage) GetLanguage() string

func (*ItemParentLanguage) GetName added in v1.49.0

func (x *ItemParentLanguage) GetName() string

func (*ItemParentLanguage) GetParentId added in v1.49.0

func (x *ItemParentLanguage) GetParentId() int64

func (*ItemParentLanguage) ProtoMessage added in v1.49.0

func (*ItemParentLanguage) ProtoMessage()

func (*ItemParentLanguage) ProtoReflect added in v1.49.0

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

func (*ItemParentLanguage) Reset added in v1.49.0

func (x *ItemParentLanguage) Reset()

func (*ItemParentLanguage) String added in v1.49.0

func (x *ItemParentLanguage) String() string

type ItemParentLanguages added in v1.49.0

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

func (*ItemParentLanguages) Descriptor deprecated added in v1.49.0

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

Deprecated: Use ItemParentLanguages.ProtoReflect.Descriptor instead.

func (*ItemParentLanguages) GetItems added in v1.49.0

func (x *ItemParentLanguages) GetItems() []*ItemParentLanguage

func (*ItemParentLanguages) ProtoMessage added in v1.49.0

func (*ItemParentLanguages) ProtoMessage()

func (*ItemParentLanguages) ProtoReflect added in v1.49.0

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

func (*ItemParentLanguages) Reset added in v1.49.0

func (x *ItemParentLanguages) Reset()

func (*ItemParentLanguages) String added in v1.49.0

func (x *ItemParentLanguages) String() string

type ItemPictureType

type ItemPictureType int32
const (
	ItemPictureType_ITEM_PICTURE_UNKNOWN    ItemPictureType = 0
	ItemPictureType_ITEM_PICTURE_CONTENT    ItemPictureType = 1
	ItemPictureType_ITEM_PICTURE_AUTHOR     ItemPictureType = 2
	ItemPictureType_ITEM_PICTURE_COPYRIGHTS ItemPictureType = 3
)

func (ItemPictureType) Descriptor

func (ItemPictureType) Enum

func (x ItemPictureType) Enum() *ItemPictureType

func (ItemPictureType) EnumDescriptor deprecated

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

Deprecated: Use ItemPictureType.Descriptor instead.

func (ItemPictureType) Number

func (ItemPictureType) String

func (x ItemPictureType) String() string

func (ItemPictureType) Type

type ItemPicturesRequest

type ItemPicturesRequest struct {
	TypeId        ItemPictureType  `protobuf:"varint,1,opt,name=type_id,json=typeId,proto3,enum=goautowp.ItemPictureType" json:"type_id,omitempty"`
	Pictures      *PicturesRequest `protobuf:"bytes,2,opt,name=pictures,proto3" json:"pictures,omitempty"`
	PerspectiveId int32            `protobuf:"varint,3,opt,name=perspective_id,json=perspectiveId,proto3" json:"perspective_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ItemPicturesRequest) Descriptor deprecated

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

Deprecated: Use ItemPicturesRequest.ProtoReflect.Descriptor instead.

func (*ItemPicturesRequest) GetPerspectiveId

func (x *ItemPicturesRequest) GetPerspectiveId() int32

func (*ItemPicturesRequest) GetPictures

func (x *ItemPicturesRequest) GetPictures() *PicturesRequest

func (*ItemPicturesRequest) GetTypeId

func (x *ItemPicturesRequest) GetTypeId() ItemPictureType

func (*ItemPicturesRequest) ProtoMessage

func (*ItemPicturesRequest) ProtoMessage()

func (*ItemPicturesRequest) ProtoReflect

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

func (*ItemPicturesRequest) Reset

func (x *ItemPicturesRequest) Reset()

func (*ItemPicturesRequest) String

func (x *ItemPicturesRequest) String() string

type ItemRequest added in v1.52.2

type ItemRequest struct {
	Language string      `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"`
	Id       int64       `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Fields   *ItemFields `protobuf:"bytes,3,opt,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*ItemRequest) Descriptor deprecated added in v1.52.2

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

Deprecated: Use ItemRequest.ProtoReflect.Descriptor instead.

func (*ItemRequest) GetFields added in v1.52.2

func (x *ItemRequest) GetFields() *ItemFields

func (*ItemRequest) GetId added in v1.52.2

func (x *ItemRequest) GetId() int64

func (*ItemRequest) GetLanguage added in v1.52.2

func (x *ItemRequest) GetLanguage() string

func (*ItemRequest) ProtoMessage added in v1.52.2

func (*ItemRequest) ProtoMessage()

func (*ItemRequest) ProtoReflect added in v1.52.2

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

func (*ItemRequest) Reset added in v1.52.2

func (x *ItemRequest) Reset()

func (*ItemRequest) String added in v1.52.2

func (x *ItemRequest) String() string

type ItemType

type ItemType int32
const (
	ItemType_ITEM_TYPE_UNKNOWN   ItemType = 0
	ItemType_ITEM_TYPE_VEHICLE   ItemType = 1
	ItemType_ITEM_TYPE_ENGINE    ItemType = 2
	ItemType_ITEM_TYPE_CATEGORY  ItemType = 3
	ItemType_ITEM_TYPE_TWINS     ItemType = 4
	ItemType_ITEM_TYPE_BRAND     ItemType = 5
	ItemType_ITEM_TYPE_FACTORY   ItemType = 6
	ItemType_ITEM_TYPE_MUSEUM    ItemType = 7
	ItemType_ITEM_TYPE_PERSON    ItemType = 8
	ItemType_ITEM_TYPE_COPYRIGHT ItemType = 9
)

func (ItemType) Descriptor

func (ItemType) Descriptor() protoreflect.EnumDescriptor

func (ItemType) Enum

func (x ItemType) Enum() *ItemType

func (ItemType) EnumDescriptor deprecated

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

Deprecated: Use ItemType.Descriptor instead.

func (ItemType) Number

func (x ItemType) Number() protoreflect.EnumNumber

func (ItemType) String

func (x ItemType) String() string

func (ItemType) Type

type ItemsClient

type ItemsClient interface {
	GetTopBrandsList(ctx context.Context, in *GetTopBrandsListRequest, opts ...grpc.CallOption) (*APITopBrandsList, error)
	GetTopPersonsList(ctx context.Context, in *GetTopPersonsListRequest, opts ...grpc.CallOption) (*APITopPersonsList, error)
	GetTopFactoriesList(ctx context.Context, in *GetTopFactoriesListRequest, opts ...grpc.CallOption) (*APITopFactoriesList, error)
	GetTopCategoriesList(ctx context.Context, in *GetTopCategoriesListRequest, opts ...grpc.CallOption) (*APITopCategoriesList, error)
	GetTwinsBrandsList(ctx context.Context, in *GetTwinsBrandsListRequest, opts ...grpc.CallOption) (*APITwinsBrandsList, error)
	GetTopTwinsBrandsList(ctx context.Context, in *GetTopTwinsBrandsListRequest, opts ...grpc.CallOption) (*APITopTwinsBrandsList, error)
	Item(ctx context.Context, in *ItemRequest, opts ...grpc.CallOption) (*APIItem, error)
	List(ctx context.Context, in *ListItemsRequest, opts ...grpc.CallOption) (*APIItemList, error)
	GetTree(ctx context.Context, in *GetTreeRequest, opts ...grpc.CallOption) (*APITreeItem, error)
	GetContentLanguages(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*APIContentLanguages, error)
	GetItemLink(ctx context.Context, in *APIItemLinkRequest, opts ...grpc.CallOption) (*APIItemLink, error)
	GetItemLinks(ctx context.Context, in *APIGetItemLinksRequest, opts ...grpc.CallOption) (*APIItemLinksResponse, error)
	DeleteItemLink(ctx context.Context, in *APIItemLinkRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CreateItemLink(ctx context.Context, in *APIItemLink, opts ...grpc.CallOption) (*APICreateItemLinkResponse, error)
	UpdateItemLink(ctx context.Context, in *APIItemLink, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetItemVehicleTypes(ctx context.Context, in *APIGetItemVehicleTypesRequest, opts ...grpc.CallOption) (*APIGetItemVehicleTypesResponse, error)
	GetItemVehicleType(ctx context.Context, in *APIItemVehicleTypeRequest, opts ...grpc.CallOption) (*APIItemVehicleType, error)
	CreateItemVehicleType(ctx context.Context, in *APIItemVehicleType, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteItemVehicleType(ctx context.Context, in *APIItemVehicleTypeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetItemLanguages(ctx context.Context, in *APIGetItemLanguagesRequest, opts ...grpc.CallOption) (*ItemLanguages, error)
	GetItemParentLanguages(ctx context.Context, in *APIGetItemParentLanguagesRequest, opts ...grpc.CallOption) (*ItemParentLanguages, error)
	GetStats(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*StatsResponse, error)
}

ItemsClient is the client API for Items 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 NewItemsClient

func NewItemsClient(cc grpc.ClientConnInterface) ItemsClient

type ItemsGRPCServer

type ItemsGRPCServer struct {
	UnimplementedItemsServer
	// contains filtered or unexported fields
}

func NewItemsGRPCServer

func NewItemsGRPCServer(
	repository *items.Repository,
	db *goqu.Database,
	auth *Auth,
	enforcer *casbin.Enforcer,
	contentLanguages []string,
	textstorageRepository *textstorage.Repository,
	extractor *ItemExtractor,
	i18n *i18nbundle.I18n,
	attrsRepository *attrs.Repository,
	picturesRepository *pictures.Repository,
	index *index.Index,
) *ItemsGRPCServer

func (*ItemsGRPCServer) CreateItemVehicleType added in v1.29.0

func (s *ItemsGRPCServer) CreateItemVehicleType(ctx context.Context, in *APIItemVehicleType) (*emptypb.Empty, error)
func (s *ItemsGRPCServer) DeleteItemLink(ctx context.Context, in *APIItemLinkRequest) (*emptypb.Empty, error)

func (*ItemsGRPCServer) DeleteItemVehicleType added in v1.29.0

func (s *ItemsGRPCServer) DeleteItemVehicleType(
	ctx context.Context,
	in *APIItemVehicleTypeRequest,
) (*emptypb.Empty, error)

func (*ItemsGRPCServer) GetContentLanguages added in v1.11.0

func (s *ItemsGRPCServer) GetContentLanguages(_ context.Context, _ *emptypb.Empty) (*APIContentLanguages, error)

func (*ItemsGRPCServer) GetItemLanguages added in v1.50.0

func (s *ItemsGRPCServer) GetItemLanguages(
	ctx context.Context, in *APIGetItemLanguagesRequest,
) (*ItemLanguages, error)
func (s *ItemsGRPCServer) GetItemLink(ctx context.Context, in *APIItemLinkRequest) (*APIItemLink, error)

func (*ItemsGRPCServer) GetItemParentLanguages added in v1.49.0

func (s *ItemsGRPCServer) GetItemParentLanguages(
	ctx context.Context, in *APIGetItemParentLanguagesRequest,
) (*ItemParentLanguages, error)

func (*ItemsGRPCServer) GetItemVehicleType added in v1.29.0

func (s *ItemsGRPCServer) GetItemVehicleType(
	ctx context.Context,
	in *APIItemVehicleTypeRequest,
) (*APIItemVehicleType, error)

func (*ItemsGRPCServer) GetItemVehicleTypes added in v1.29.0

func (*ItemsGRPCServer) GetStats added in v1.72.0

func (s *ItemsGRPCServer) GetStats(ctx context.Context, _ *emptypb.Empty) (*StatsResponse, error)

func (*ItemsGRPCServer) GetTopBrandsList

func (s *ItemsGRPCServer) GetTopBrandsList(
	ctx context.Context,
	in *GetTopBrandsListRequest,
) (*APITopBrandsList, error)

func (*ItemsGRPCServer) GetTopCategoriesList

func (s *ItemsGRPCServer) GetTopCategoriesList(
	ctx context.Context,
	in *GetTopCategoriesListRequest,
) (*APITopCategoriesList, error)

func (*ItemsGRPCServer) GetTopFactoriesList

func (s *ItemsGRPCServer) GetTopFactoriesList(
	ctx context.Context,
	in *GetTopFactoriesListRequest,
) (*APITopFactoriesList, error)

func (*ItemsGRPCServer) GetTopPersonsList

func (s *ItemsGRPCServer) GetTopPersonsList(
	ctx context.Context,
	in *GetTopPersonsListRequest,
) (*APITopPersonsList, error)

func (*ItemsGRPCServer) GetTopTwinsBrandsList

func (s *ItemsGRPCServer) GetTopTwinsBrandsList(
	ctx context.Context,
	in *GetTopTwinsBrandsListRequest,
) (*APITopTwinsBrandsList, error)

func (*ItemsGRPCServer) GetTwinsBrandsList added in v1.36.0

func (s *ItemsGRPCServer) GetTwinsBrandsList(
	ctx context.Context,
	in *GetTwinsBrandsListRequest,
) (*APITwinsBrandsList, error)

func (*ItemsGRPCServer) Item added in v1.52.2

func (s *ItemsGRPCServer) Item(ctx context.Context, in *ItemRequest) (*APIItem, error)

func (*ItemsGRPCServer) List

func (s *ItemsGRPCServer) UpdateItemLink(ctx context.Context, in *APIItemLink) (*emptypb.Empty, error)

type ItemsServer

type ItemsServer interface {
	GetTopBrandsList(context.Context, *GetTopBrandsListRequest) (*APITopBrandsList, error)
	GetTopPersonsList(context.Context, *GetTopPersonsListRequest) (*APITopPersonsList, error)
	GetTopFactoriesList(context.Context, *GetTopFactoriesListRequest) (*APITopFactoriesList, error)
	GetTopCategoriesList(context.Context, *GetTopCategoriesListRequest) (*APITopCategoriesList, error)
	GetTwinsBrandsList(context.Context, *GetTwinsBrandsListRequest) (*APITwinsBrandsList, error)
	GetTopTwinsBrandsList(context.Context, *GetTopTwinsBrandsListRequest) (*APITopTwinsBrandsList, error)
	Item(context.Context, *ItemRequest) (*APIItem, error)
	List(context.Context, *ListItemsRequest) (*APIItemList, error)
	GetTree(context.Context, *GetTreeRequest) (*APITreeItem, error)
	GetContentLanguages(context.Context, *emptypb.Empty) (*APIContentLanguages, error)
	GetItemLink(context.Context, *APIItemLinkRequest) (*APIItemLink, error)
	GetItemLinks(context.Context, *APIGetItemLinksRequest) (*APIItemLinksResponse, error)
	DeleteItemLink(context.Context, *APIItemLinkRequest) (*emptypb.Empty, error)
	CreateItemLink(context.Context, *APIItemLink) (*APICreateItemLinkResponse, error)
	UpdateItemLink(context.Context, *APIItemLink) (*emptypb.Empty, error)
	GetItemVehicleTypes(context.Context, *APIGetItemVehicleTypesRequest) (*APIGetItemVehicleTypesResponse, error)
	GetItemVehicleType(context.Context, *APIItemVehicleTypeRequest) (*APIItemVehicleType, error)
	CreateItemVehicleType(context.Context, *APIItemVehicleType) (*emptypb.Empty, error)
	DeleteItemVehicleType(context.Context, *APIItemVehicleTypeRequest) (*emptypb.Empty, error)
	GetItemLanguages(context.Context, *APIGetItemLanguagesRequest) (*ItemLanguages, error)
	GetItemParentLanguages(context.Context, *APIGetItemParentLanguagesRequest) (*ItemParentLanguages, error)
	GetStats(context.Context, *emptypb.Empty) (*StatsResponse, error)
	// contains filtered or unexported methods
}

ItemsServer is the server API for Items service. All implementations must embed UnimplementedItemsServer for forward compatibility

type ListItemsRequest

type ListItemsRequest struct {
	Language           string                 `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"`
	Fields             *ItemFields            `protobuf:"bytes,2,opt,name=fields,proto3" json:"fields,omitempty"`
	TypeId             ItemType               `protobuf:"varint,3,opt,name=type_id,json=typeId,proto3,enum=goautowp.ItemType" json:"type_id,omitempty"`
	DescendantPictures *ItemPicturesRequest   `protobuf:"bytes,4,opt,name=descendant_pictures,json=descendantPictures,proto3" json:"descendant_pictures,omitempty"`
	PreviewPictures    *ItemPicturesRequest   `protobuf:"bytes,5,opt,name=preview_pictures,json=previewPictures,proto3" json:"preview_pictures,omitempty"`
	Limit              uint32                 `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"`
	NoParent           bool                   `protobuf:"varint,7,opt,name=no_parent,json=noParent,proto3" json:"no_parent,omitempty"`
	Catname            string                 `protobuf:"bytes,8,opt,name=catname,proto3" json:"catname,omitempty"`
	Order              ListItemsRequest_Order `protobuf:"varint,9,opt,name=order,proto3,enum=goautowp.ListItemsRequest_Order" json:"order,omitempty"`
	Name               string                 `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"`
	Page               uint32                 `protobuf:"varint,11,opt,name=page,proto3" json:"page,omitempty"`
	Id                 int64                  `protobuf:"varint,12,opt,name=id,proto3" json:"id,omitempty"`
	AncestorId         int64                  `protobuf:"varint,13,opt,name=ancestor_id,json=ancestorId,proto3" json:"ancestor_id,omitempty"`
	IsConcept          bool                   `protobuf:"varint,14,opt,name=is_concept,json=isConcept,proto3" json:"is_concept,omitempty"`
	Descendant         *ListItemsRequest      `protobuf:"bytes,15,opt,name=descendant,proto3" json:"descendant,omitempty"`
	Parent             *ListItemsRequest      `protobuf:"bytes,16,opt,name=parent,proto3" json:"parent,omitempty"`
	EngineId           int64                  `protobuf:"varint,17,opt,name=engine_id,json=engineId,proto3" json:"engine_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListItemsRequest) Descriptor deprecated

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

Deprecated: Use ListItemsRequest.ProtoReflect.Descriptor instead.

func (*ListItemsRequest) GetAncestorId added in v1.61.0

func (x *ListItemsRequest) GetAncestorId() int64

func (*ListItemsRequest) GetCatname added in v1.52.0

func (x *ListItemsRequest) GetCatname() string

func (*ListItemsRequest) GetDescendant added in v1.62.0

func (x *ListItemsRequest) GetDescendant() *ListItemsRequest

func (*ListItemsRequest) GetDescendantPictures

func (x *ListItemsRequest) GetDescendantPictures() *ItemPicturesRequest

func (*ListItemsRequest) GetEngineId added in v1.64.0

func (x *ListItemsRequest) GetEngineId() int64

func (*ListItemsRequest) GetFields

func (x *ListItemsRequest) GetFields() *ItemFields

func (*ListItemsRequest) GetId added in v1.60.0

func (x *ListItemsRequest) GetId() int64

func (*ListItemsRequest) GetIsConcept added in v1.61.0

func (x *ListItemsRequest) GetIsConcept() bool

func (*ListItemsRequest) GetLanguage

func (x *ListItemsRequest) GetLanguage() string

func (*ListItemsRequest) GetLimit

func (x *ListItemsRequest) GetLimit() uint32

func (*ListItemsRequest) GetName added in v1.58.0

func (x *ListItemsRequest) GetName() string

func (*ListItemsRequest) GetNoParent added in v1.51.0

func (x *ListItemsRequest) GetNoParent() bool

func (*ListItemsRequest) GetOrder added in v1.57.0

func (*ListItemsRequest) GetPage added in v1.58.0

func (x *ListItemsRequest) GetPage() uint32

func (*ListItemsRequest) GetParent added in v1.63.0

func (x *ListItemsRequest) GetParent() *ListItemsRequest

func (*ListItemsRequest) GetPreviewPictures

func (x *ListItemsRequest) GetPreviewPictures() *ItemPicturesRequest

func (*ListItemsRequest) GetTypeId

func (x *ListItemsRequest) GetTypeId() ItemType

func (*ListItemsRequest) ProtoMessage

func (*ListItemsRequest) ProtoMessage()

func (*ListItemsRequest) ProtoReflect

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

func (*ListItemsRequest) Reset

func (x *ListItemsRequest) Reset()

func (*ListItemsRequest) String

func (x *ListItemsRequest) String() string

type ListItemsRequest_Order added in v1.57.0

type ListItemsRequest_Order int32
const (
	ListItemsRequest_DEFAULT  ListItemsRequest_Order = 0
	ListItemsRequest_NAME_NAT ListItemsRequest_Order = 1
	ListItemsRequest_NAME     ListItemsRequest_Order = 2
)

func (ListItemsRequest_Order) Descriptor added in v1.57.0

func (ListItemsRequest_Order) Enum added in v1.57.0

func (ListItemsRequest_Order) EnumDescriptor deprecated added in v1.57.0

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

Deprecated: Use ListItemsRequest_Order.Descriptor instead.

func (ListItemsRequest_Order) Number added in v1.57.0

func (ListItemsRequest_Order) String added in v1.57.0

func (x ListItemsRequest_Order) String() string

func (ListItemsRequest_Order) Type added in v1.57.0

type MapClient

type MapClient interface {
	GetPoints(ctx context.Context, in *MapGetPointsRequest, opts ...grpc.CallOption) (*MapPoints, error)
}

MapClient is the client API for Map 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 NewMapClient

func NewMapClient(cc grpc.ClientConnInterface) MapClient

type MapGRPCServer

type MapGRPCServer struct {
	UnimplementedMapServer
	// contains filtered or unexported fields
}

func NewMapGRPCServer

func NewMapGRPCServer(db *goqu.Database, imageStorage *storage.Storage, i18n *i18nbundle.I18n) *MapGRPCServer

func (*MapGRPCServer) GetPoints

func (s *MapGRPCServer) GetPoints(ctx context.Context, in *MapGetPointsRequest) (*MapPoints, error)

type MapGetPointsRequest

type MapGetPointsRequest struct {
	PointsOnly bool   `protobuf:"varint,1,opt,name=PointsOnly,proto3" json:"PointsOnly,omitempty"`
	Bounds     string `protobuf:"bytes,2,opt,name=bounds,proto3" json:"bounds,omitempty"`
	Language   string `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"`
	// contains filtered or unexported fields
}

func (*MapGetPointsRequest) Descriptor deprecated

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

Deprecated: Use MapGetPointsRequest.ProtoReflect.Descriptor instead.

func (*MapGetPointsRequest) GetBounds

func (x *MapGetPointsRequest) GetBounds() string

func (*MapGetPointsRequest) GetLanguage

func (x *MapGetPointsRequest) GetLanguage() string

func (*MapGetPointsRequest) GetPointsOnly

func (x *MapGetPointsRequest) GetPointsOnly() bool

func (*MapGetPointsRequest) ProtoMessage

func (*MapGetPointsRequest) ProtoMessage()

func (*MapGetPointsRequest) ProtoReflect

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

func (*MapGetPointsRequest) Reset

func (x *MapGetPointsRequest) Reset()

func (*MapGetPointsRequest) String

func (x *MapGetPointsRequest) String() string

type MapPoint

type MapPoint struct {
	Location *Point    `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	Id       string    `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Name     string    `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Url      []string  `protobuf:"bytes,4,rep,name=url,proto3" json:"url,omitempty"`
	Image    *APIImage `protobuf:"bytes,5,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*MapPoint) Descriptor deprecated

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

Deprecated: Use MapPoint.ProtoReflect.Descriptor instead.

func (*MapPoint) GetId

func (x *MapPoint) GetId() string

func (*MapPoint) GetImage

func (x *MapPoint) GetImage() *APIImage

func (*MapPoint) GetLocation

func (x *MapPoint) GetLocation() *Point

func (*MapPoint) GetName

func (x *MapPoint) GetName() string

func (*MapPoint) GetUrl

func (x *MapPoint) GetUrl() []string

func (*MapPoint) ProtoMessage

func (*MapPoint) ProtoMessage()

func (*MapPoint) ProtoReflect

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

func (*MapPoint) Reset

func (x *MapPoint) Reset()

func (*MapPoint) String

func (x *MapPoint) String() string

type MapPoints

type MapPoints struct {
	Points []*MapPoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"`
	// contains filtered or unexported fields
}

func (*MapPoints) Descriptor deprecated

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

Deprecated: Use MapPoints.ProtoReflect.Descriptor instead.

func (*MapPoints) GetPoints

func (x *MapPoints) GetPoints() []*MapPoint

func (*MapPoints) ProtoMessage

func (*MapPoints) ProtoMessage()

func (*MapPoints) ProtoReflect

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

func (*MapPoints) Reset

func (x *MapPoints) Reset()

func (*MapPoints) String

func (x *MapPoints) String() string

type MapServer

type MapServer interface {
	GetPoints(context.Context, *MapGetPointsRequest) (*MapPoints, error)
	// contains filtered or unexported methods
}

MapServer is the server API for Map service. All implementations must embed UnimplementedMapServer for forward compatibility

type MessagingClearFolder

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

func (*MessagingClearFolder) Descriptor deprecated

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

Deprecated: Use MessagingClearFolder.ProtoReflect.Descriptor instead.

func (*MessagingClearFolder) GetFolder

func (x *MessagingClearFolder) GetFolder() string

func (*MessagingClearFolder) ProtoMessage

func (*MessagingClearFolder) ProtoMessage()

func (*MessagingClearFolder) ProtoReflect

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

func (*MessagingClearFolder) Reset

func (x *MessagingClearFolder) Reset()

func (*MessagingClearFolder) String

func (x *MessagingClearFolder) String() string

type MessagingClient

type MessagingClient interface {
	GetMessagesNewCount(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*APIMessageNewCount, error)
	GetMessagesSummary(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*APIMessageSummary, error)
	DeleteMessage(ctx context.Context, in *MessagingDeleteMessage, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ClearFolder(ctx context.Context, in *MessagingClearFolder, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CreateMessage(ctx context.Context, in *MessagingCreateMessage, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetMessages(ctx context.Context, in *MessagingGetMessagesRequest, opts ...grpc.CallOption) (*MessagingGetMessagesResponse, error)
}

MessagingClient is the client API for Messaging 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 NewMessagingClient

func NewMessagingClient(cc grpc.ClientConnInterface) MessagingClient

type MessagingCreateMessage

type MessagingCreateMessage struct {
	UserId int64  `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Text   string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*MessagingCreateMessage) Descriptor deprecated

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

Deprecated: Use MessagingCreateMessage.ProtoReflect.Descriptor instead.

func (*MessagingCreateMessage) GetText

func (x *MessagingCreateMessage) GetText() string

func (*MessagingCreateMessage) GetUserId

func (x *MessagingCreateMessage) GetUserId() int64

func (*MessagingCreateMessage) ProtoMessage

func (*MessagingCreateMessage) ProtoMessage()

func (*MessagingCreateMessage) ProtoReflect

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

func (*MessagingCreateMessage) Reset

func (x *MessagingCreateMessage) Reset()

func (*MessagingCreateMessage) String

func (x *MessagingCreateMessage) String() string

type MessagingDeleteMessage

type MessagingDeleteMessage struct {
	MessageId int64 `protobuf:"varint,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MessagingDeleteMessage) Descriptor deprecated

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

Deprecated: Use MessagingDeleteMessage.ProtoReflect.Descriptor instead.

func (*MessagingDeleteMessage) GetMessageId

func (x *MessagingDeleteMessage) GetMessageId() int64

func (*MessagingDeleteMessage) ProtoMessage

func (*MessagingDeleteMessage) ProtoMessage()

func (*MessagingDeleteMessage) ProtoReflect

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

func (*MessagingDeleteMessage) Reset

func (x *MessagingDeleteMessage) Reset()

func (*MessagingDeleteMessage) String

func (x *MessagingDeleteMessage) String() string

type MessagingGRPCServer

type MessagingGRPCServer struct {
	UnimplementedMessagingServer
	// contains filtered or unexported fields
}

func NewMessagingGRPCServer

func NewMessagingGRPCServer(repository *messaging.Repository, auth *Auth) *MessagingGRPCServer

func (*MessagingGRPCServer) ClearFolder

func (*MessagingGRPCServer) CreateMessage

func (*MessagingGRPCServer) DeleteMessage

func (*MessagingGRPCServer) GetMessages

func (*MessagingGRPCServer) GetMessagesNewCount

func (s *MessagingGRPCServer) GetMessagesNewCount(ctx context.Context, _ *emptypb.Empty) (*APIMessageNewCount, error)

func (*MessagingGRPCServer) GetMessagesSummary

func (s *MessagingGRPCServer) GetMessagesSummary(ctx context.Context, _ *emptypb.Empty) (*APIMessageSummary, error)

type MessagingGetMessagesRequest

type MessagingGetMessagesRequest struct {
	UserId int64  `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Folder string `protobuf:"bytes,2,opt,name=folder,proto3" json:"folder,omitempty"`
	Page   int32  `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*MessagingGetMessagesRequest) Descriptor deprecated

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

Deprecated: Use MessagingGetMessagesRequest.ProtoReflect.Descriptor instead.

func (*MessagingGetMessagesRequest) GetFolder

func (x *MessagingGetMessagesRequest) GetFolder() string

func (*MessagingGetMessagesRequest) GetPage

func (x *MessagingGetMessagesRequest) GetPage() int32

func (*MessagingGetMessagesRequest) GetUserId

func (x *MessagingGetMessagesRequest) GetUserId() int64

func (*MessagingGetMessagesRequest) ProtoMessage

func (*MessagingGetMessagesRequest) ProtoMessage()

func (*MessagingGetMessagesRequest) ProtoReflect

func (*MessagingGetMessagesRequest) Reset

func (x *MessagingGetMessagesRequest) Reset()

func (*MessagingGetMessagesRequest) String

func (x *MessagingGetMessagesRequest) String() string

type MessagingGetMessagesResponse

type MessagingGetMessagesResponse struct {
	Items     []*APIMessage `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Paginator *Pages        `protobuf:"bytes,2,opt,name=paginator,proto3" json:"paginator,omitempty"`
	// contains filtered or unexported fields
}

func (*MessagingGetMessagesResponse) Descriptor deprecated

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

Deprecated: Use MessagingGetMessagesResponse.ProtoReflect.Descriptor instead.

func (*MessagingGetMessagesResponse) GetItems

func (x *MessagingGetMessagesResponse) GetItems() []*APIMessage

func (*MessagingGetMessagesResponse) GetPaginator

func (x *MessagingGetMessagesResponse) GetPaginator() *Pages

func (*MessagingGetMessagesResponse) ProtoMessage

func (*MessagingGetMessagesResponse) ProtoMessage()

func (*MessagingGetMessagesResponse) ProtoReflect

func (*MessagingGetMessagesResponse) Reset

func (x *MessagingGetMessagesResponse) Reset()

func (*MessagingGetMessagesResponse) String

type MessagingServer

type MessagingServer interface {
	GetMessagesNewCount(context.Context, *emptypb.Empty) (*APIMessageNewCount, error)
	GetMessagesSummary(context.Context, *emptypb.Empty) (*APIMessageSummary, error)
	DeleteMessage(context.Context, *MessagingDeleteMessage) (*emptypb.Empty, error)
	ClearFolder(context.Context, *MessagingClearFolder) (*emptypb.Empty, error)
	CreateMessage(context.Context, *MessagingCreateMessage) (*emptypb.Empty, error)
	GetMessages(context.Context, *MessagingGetMessagesRequest) (*MessagingGetMessagesResponse, error)
	// contains filtered or unexported methods
}

MessagingServer is the server API for Messaging service. All implementations must embed UnimplementedMessagingServer for forward compatibility

type ModerVoteTemplate

type ModerVoteTemplate struct {
	Id      int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId  int64  `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	Vote    int32  `protobuf:"varint,4,opt,name=vote,proto3" json:"vote,omitempty"`
	// contains filtered or unexported fields
}

func (*ModerVoteTemplate) Descriptor deprecated

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

Deprecated: Use ModerVoteTemplate.ProtoReflect.Descriptor instead.

func (*ModerVoteTemplate) GetId

func (x *ModerVoteTemplate) GetId() int64

func (*ModerVoteTemplate) GetMessage

func (x *ModerVoteTemplate) GetMessage() string

func (*ModerVoteTemplate) GetUserId added in v1.37.0

func (x *ModerVoteTemplate) GetUserId() int64

func (*ModerVoteTemplate) GetVote

func (x *ModerVoteTemplate) GetVote() int32

func (*ModerVoteTemplate) ProtoMessage

func (*ModerVoteTemplate) ProtoMessage()

func (*ModerVoteTemplate) ProtoReflect

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

func (*ModerVoteTemplate) Reset

func (x *ModerVoteTemplate) Reset()

func (*ModerVoteTemplate) String

func (x *ModerVoteTemplate) String() string

type ModerVoteTemplates

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

func (*ModerVoteTemplates) Descriptor deprecated

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

Deprecated: Use ModerVoteTemplates.ProtoReflect.Descriptor instead.

func (*ModerVoteTemplates) GetItems

func (x *ModerVoteTemplates) GetItems() []*ModerVoteTemplate

func (*ModerVoteTemplates) ProtoMessage

func (*ModerVoteTemplates) ProtoMessage()

func (*ModerVoteTemplates) ProtoReflect

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

func (*ModerVoteTemplates) Reset

func (x *ModerVoteTemplates) Reset()

func (*ModerVoteTemplates) String

func (x *ModerVoteTemplates) String() string

type ModeratorAttention added in v1.41.0

type ModeratorAttention int32
const (
	ModeratorAttention_NONE     ModeratorAttention = 0
	ModeratorAttention_REQUIRED ModeratorAttention = 1
	ModeratorAttention_COMPLETE ModeratorAttention = 2
)

func (ModeratorAttention) Descriptor added in v1.41.0

func (ModeratorAttention) Enum added in v1.41.0

func (ModeratorAttention) EnumDescriptor deprecated added in v1.41.0

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

Deprecated: Use ModeratorAttention.Descriptor instead.

func (ModeratorAttention) Number added in v1.41.0

func (ModeratorAttention) String added in v1.41.0

func (x ModeratorAttention) String() string

func (ModeratorAttention) Type added in v1.41.0

type Pages

type Pages struct {
	PageCount        int32   `protobuf:"varint,1,opt,name=pageCount,proto3" json:"pageCount,omitempty"`
	First            int32   `protobuf:"varint,2,opt,name=first,proto3" json:"first,omitempty"`
	Current          int32   `protobuf:"varint,3,opt,name=current,proto3" json:"current,omitempty"`
	Next             int32   `protobuf:"varint,5,opt,name=next,proto3" json:"next,omitempty"`
	Previous         int32   `protobuf:"varint,6,opt,name=previous,proto3" json:"previous,omitempty"`
	FirstPageInRange int32   `protobuf:"varint,7,opt,name=firstPageInRange,proto3" json:"firstPageInRange,omitempty"`
	LastPageInRange  int32   `protobuf:"varint,8,opt,name=lastPageInRange,proto3" json:"lastPageInRange,omitempty"`
	PagesInRange     []int32 `protobuf:"varint,9,rep,packed,name=pagesInRange,proto3" json:"pagesInRange,omitempty"`
	TotalItemCount   int32   `protobuf:"varint,10,opt,name=totalItemCount,proto3" json:"totalItemCount,omitempty"`
	// contains filtered or unexported fields
}

func (*Pages) Descriptor deprecated

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

Deprecated: Use Pages.ProtoReflect.Descriptor instead.

func (*Pages) GetCurrent

func (x *Pages) GetCurrent() int32

func (*Pages) GetFirst

func (x *Pages) GetFirst() int32

func (*Pages) GetFirstPageInRange

func (x *Pages) GetFirstPageInRange() int32

func (*Pages) GetLastPageInRange

func (x *Pages) GetLastPageInRange() int32

func (*Pages) GetNext

func (x *Pages) GetNext() int32

func (*Pages) GetPageCount

func (x *Pages) GetPageCount() int32

func (*Pages) GetPagesInRange

func (x *Pages) GetPagesInRange() []int32

func (*Pages) GetPrevious

func (x *Pages) GetPrevious() int32

func (*Pages) GetTotalItemCount

func (x *Pages) GetTotalItemCount() int32

func (*Pages) ProtoMessage

func (*Pages) ProtoMessage()

func (*Pages) ProtoReflect

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

func (*Pages) Reset

func (x *Pages) Reset()

func (*Pages) String

func (x *Pages) String() string

type Perspective

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

func (*Perspective) Descriptor deprecated

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

Deprecated: Use Perspective.ProtoReflect.Descriptor instead.

func (*Perspective) GetId

func (x *Perspective) GetId() int32

func (*Perspective) GetName

func (x *Perspective) GetName() string

func (*Perspective) ProtoMessage

func (*Perspective) ProtoMessage()

func (*Perspective) ProtoReflect

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

func (*Perspective) Reset

func (x *Perspective) Reset()

func (*Perspective) String

func (x *Perspective) String() string

type PerspectiveGroup

type PerspectiveGroup struct {
	Id           int32          `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name         string         `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Perspectives []*Perspective `protobuf:"bytes,3,rep,name=perspectives,proto3" json:"perspectives,omitempty"`
	// contains filtered or unexported fields
}

func (*PerspectiveGroup) Descriptor deprecated

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

Deprecated: Use PerspectiveGroup.ProtoReflect.Descriptor instead.

func (*PerspectiveGroup) GetId

func (x *PerspectiveGroup) GetId() int32

func (*PerspectiveGroup) GetName

func (x *PerspectiveGroup) GetName() string

func (*PerspectiveGroup) GetPerspectives

func (x *PerspectiveGroup) GetPerspectives() []*Perspective

func (*PerspectiveGroup) ProtoMessage

func (*PerspectiveGroup) ProtoMessage()

func (*PerspectiveGroup) ProtoReflect

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

func (*PerspectiveGroup) Reset

func (x *PerspectiveGroup) Reset()

func (*PerspectiveGroup) String

func (x *PerspectiveGroup) String() string

type PerspectivePage

type PerspectivePage struct {
	Id     int32               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name   string              `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Groups []*PerspectiveGroup `protobuf:"bytes,3,rep,name=groups,proto3" json:"groups,omitempty"`
	// contains filtered or unexported fields
}

func (*PerspectivePage) Descriptor deprecated

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

Deprecated: Use PerspectivePage.ProtoReflect.Descriptor instead.

func (*PerspectivePage) GetGroups

func (x *PerspectivePage) GetGroups() []*PerspectiveGroup

func (*PerspectivePage) GetId

func (x *PerspectivePage) GetId() int32

func (*PerspectivePage) GetName

func (x *PerspectivePage) GetName() string

func (*PerspectivePage) ProtoMessage

func (*PerspectivePage) ProtoMessage()

func (*PerspectivePage) ProtoReflect

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

func (*PerspectivePage) Reset

func (x *PerspectivePage) Reset()

func (*PerspectivePage) String

func (x *PerspectivePage) String() string

type PerspectivePagesItems

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

func (*PerspectivePagesItems) Descriptor deprecated

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

Deprecated: Use PerspectivePagesItems.ProtoReflect.Descriptor instead.

func (*PerspectivePagesItems) GetItems

func (x *PerspectivePagesItems) GetItems() []*PerspectivePage

func (*PerspectivePagesItems) ProtoMessage

func (*PerspectivePagesItems) ProtoMessage()

func (*PerspectivePagesItems) ProtoReflect

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

func (*PerspectivePagesItems) Reset

func (x *PerspectivePagesItems) Reset()

func (*PerspectivePagesItems) String

func (x *PerspectivePagesItems) String() string

type PerspectivesItems

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

func (*PerspectivesItems) Descriptor deprecated

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

Deprecated: Use PerspectivesItems.ProtoReflect.Descriptor instead.

func (*PerspectivesItems) GetItems

func (x *PerspectivesItems) GetItems() []*Perspective

func (*PerspectivesItems) ProtoMessage

func (*PerspectivesItems) ProtoMessage()

func (*PerspectivesItems) ProtoReflect

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

func (*PerspectivesItems) Reset

func (x *PerspectivesItems) Reset()

func (*PerspectivesItems) String

func (x *PerspectivesItems) String() string

type PictureFields

type PictureFields struct {
	NameText bool `protobuf:"varint,1,opt,name=name_text,json=nameText,proto3" json:"name_text,omitempty"`
	// contains filtered or unexported fields
}

func (*PictureFields) Descriptor deprecated

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

Deprecated: Use PictureFields.ProtoReflect.Descriptor instead.

func (*PictureFields) GetNameText

func (x *PictureFields) GetNameText() bool

func (*PictureFields) ProtoMessage

func (*PictureFields) ProtoMessage()

func (*PictureFields) ProtoReflect

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

func (*PictureFields) Reset

func (x *PictureFields) Reset()

func (*PictureFields) String

func (x *PictureFields) String() string

type PictureItemType

type PictureItemType int32
const (
	PictureItemType_PICTURE_UNKNOWN    PictureItemType = 0
	PictureItemType_PICTURE_CONTENT    PictureItemType = 1
	PictureItemType_PICTURE_AUTHOR     PictureItemType = 2
	PictureItemType_PICTURE_COPYRIGHTS PictureItemType = 3
)

func (PictureItemType) Descriptor

func (PictureItemType) Enum

func (x PictureItemType) Enum() *PictureItemType

func (PictureItemType) EnumDescriptor deprecated

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

Deprecated: Use PictureItemType.Descriptor instead.

func (PictureItemType) Number

func (PictureItemType) String

func (x PictureItemType) String() string

func (PictureItemType) Type

type PictureStatus

type PictureStatus int32
const (
	PictureStatus_PICTURE_STATUS_UNKNOWN  PictureStatus = 0
	PictureStatus_PICTURE_STATUS_ACCEPTED PictureStatus = 1
	PictureStatus_PICTURE_STATUS_REMOVING PictureStatus = 2
	PictureStatus_PICTURE_STATUS_REMOVED  PictureStatus = 3
	PictureStatus_PICTURE_STATUS_INBOX    PictureStatus = 4
)

func (PictureStatus) Descriptor

func (PictureStatus) Enum

func (x PictureStatus) Enum() *PictureStatus

func (PictureStatus) EnumDescriptor deprecated

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

Deprecated: Use PictureStatus.Descriptor instead.

func (PictureStatus) Number

func (PictureStatus) String

func (x PictureStatus) String() string

func (PictureStatus) Type

type PicturesClient

type PicturesClient interface {
	View(ctx context.Context, in *PicturesViewRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Vote(ctx context.Context, in *PicturesVoteRequest, opts ...grpc.CallOption) (*PicturesVoteSummary, error)
	CreateModerVoteTemplate(ctx context.Context, in *ModerVoteTemplate, opts ...grpc.CallOption) (*ModerVoteTemplate, error)
	DeleteModerVoteTemplate(ctx context.Context, in *DeleteModerVoteTemplateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetModerVoteTemplates(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ModerVoteTemplates, error)
}

PicturesClient is the client API for Pictures 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 NewPicturesClient

func NewPicturesClient(cc grpc.ClientConnInterface) PicturesClient

type PicturesGRPCServer

type PicturesGRPCServer struct {
	UnimplementedPicturesServer
	// contains filtered or unexported fields
}

func NewPicturesGRPCServer

func NewPicturesGRPCServer(repository *pictures.Repository, auth *Auth, enforcer *casbin.Enforcer) *PicturesGRPCServer

func (*PicturesGRPCServer) CreateModerVoteTemplate

func (s *PicturesGRPCServer) CreateModerVoteTemplate(
	ctx context.Context,
	in *ModerVoteTemplate,
) (*ModerVoteTemplate, error)

func (*PicturesGRPCServer) DeleteModerVoteTemplate

func (s *PicturesGRPCServer) DeleteModerVoteTemplate(
	ctx context.Context,
	in *DeleteModerVoteTemplateRequest,
) (*emptypb.Empty, error)

func (*PicturesGRPCServer) GetModerVoteTemplates

func (s *PicturesGRPCServer) GetModerVoteTemplates(ctx context.Context, _ *emptypb.Empty) (*ModerVoteTemplates, error)

func (*PicturesGRPCServer) View

func (*PicturesGRPCServer) Vote

type PicturesRequest

type PicturesRequest struct {
	Status      PictureStatus        `protobuf:"varint,1,opt,name=status,proto3,enum=goautowp.PictureStatus" json:"status,omitempty"`
	ItemPicture *ItemPicturesRequest `protobuf:"bytes,2,opt,name=item_picture,json=itemPicture,proto3" json:"item_picture,omitempty"`
	OwnerId     int64                `protobuf:"varint,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PicturesRequest) Descriptor deprecated

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

Deprecated: Use PicturesRequest.ProtoReflect.Descriptor instead.

func (*PicturesRequest) GetItemPicture

func (x *PicturesRequest) GetItemPicture() *ItemPicturesRequest

func (*PicturesRequest) GetOwnerId added in v1.57.0

func (x *PicturesRequest) GetOwnerId() int64

func (*PicturesRequest) GetStatus

func (x *PicturesRequest) GetStatus() PictureStatus

func (*PicturesRequest) ProtoMessage

func (*PicturesRequest) ProtoMessage()

func (*PicturesRequest) ProtoReflect

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

func (*PicturesRequest) Reset

func (x *PicturesRequest) Reset()

func (*PicturesRequest) String

func (x *PicturesRequest) String() string

type PicturesServer

type PicturesServer interface {
	View(context.Context, *PicturesViewRequest) (*emptypb.Empty, error)
	Vote(context.Context, *PicturesVoteRequest) (*PicturesVoteSummary, error)
	CreateModerVoteTemplate(context.Context, *ModerVoteTemplate) (*ModerVoteTemplate, error)
	DeleteModerVoteTemplate(context.Context, *DeleteModerVoteTemplateRequest) (*emptypb.Empty, error)
	GetModerVoteTemplates(context.Context, *emptypb.Empty) (*ModerVoteTemplates, error)
	// contains filtered or unexported methods
}

PicturesServer is the server API for Pictures service. All implementations must embed UnimplementedPicturesServer for forward compatibility

type PicturesViewRequest

type PicturesViewRequest struct {
	PictureId int64 `protobuf:"varint,1,opt,name=picture_id,json=pictureId,proto3" json:"picture_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PicturesViewRequest) Descriptor deprecated

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

Deprecated: Use PicturesViewRequest.ProtoReflect.Descriptor instead.

func (*PicturesViewRequest) GetPictureId

func (x *PicturesViewRequest) GetPictureId() int64

func (*PicturesViewRequest) ProtoMessage

func (*PicturesViewRequest) ProtoMessage()

func (*PicturesViewRequest) ProtoReflect

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

func (*PicturesViewRequest) Reset

func (x *PicturesViewRequest) Reset()

func (*PicturesViewRequest) String

func (x *PicturesViewRequest) String() string

type PicturesVoteRequest

type PicturesVoteRequest struct {
	PictureId int64 `protobuf:"varint,1,opt,name=picture_id,json=pictureId,proto3" json:"picture_id,omitempty"`
	Value     int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*PicturesVoteRequest) Descriptor deprecated

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

Deprecated: Use PicturesVoteRequest.ProtoReflect.Descriptor instead.

func (*PicturesVoteRequest) GetPictureId

func (x *PicturesVoteRequest) GetPictureId() int64

func (*PicturesVoteRequest) GetValue

func (x *PicturesVoteRequest) GetValue() int32

func (*PicturesVoteRequest) ProtoMessage

func (*PicturesVoteRequest) ProtoMessage()

func (*PicturesVoteRequest) ProtoReflect

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

func (*PicturesVoteRequest) Reset

func (x *PicturesVoteRequest) Reset()

func (*PicturesVoteRequest) String

func (x *PicturesVoteRequest) String() string

type PicturesVoteSummary

type PicturesVoteSummary struct {
	Value    int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	Positive int32 `protobuf:"varint,2,opt,name=positive,proto3" json:"positive,omitempty"`
	Negative int32 `protobuf:"varint,3,opt,name=negative,proto3" json:"negative,omitempty"`
	// contains filtered or unexported fields
}

func (*PicturesVoteSummary) Descriptor deprecated

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

Deprecated: Use PicturesVoteSummary.ProtoReflect.Descriptor instead.

func (*PicturesVoteSummary) GetNegative

func (x *PicturesVoteSummary) GetNegative() int32

func (*PicturesVoteSummary) GetPositive

func (x *PicturesVoteSummary) GetPositive() int32

func (*PicturesVoteSummary) GetValue

func (x *PicturesVoteSummary) GetValue() int32

func (*PicturesVoteSummary) ProtoMessage

func (*PicturesVoteSummary) ProtoMessage()

func (*PicturesVoteSummary) ProtoReflect

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

func (*PicturesVoteSummary) Reset

func (x *PicturesVoteSummary) Reset()

func (*PicturesVoteSummary) String

func (x *PicturesVoteSummary) String() string

type Point

type Point struct {
	Lat float64 `protobuf:"fixed64,1,opt,name=lat,proto3" json:"lat,omitempty"`
	Lng float64 `protobuf:"fixed64,2,opt,name=lng,proto3" json:"lng,omitempty"`
	// contains filtered or unexported fields
}

func (*Point) Descriptor deprecated

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

Deprecated: Use Point.ProtoReflect.Descriptor instead.

func (*Point) GetLat

func (x *Point) GetLat() float64

func (*Point) GetLng

func (x *Point) GetLng() float64

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) ProtoReflect

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

func (*Point) Reset

func (x *Point) Reset()

func (*Point) String

func (x *Point) String() string

type PreviewPicturesFields

type PreviewPicturesFields struct {
	Route   bool           `protobuf:"varint,1,opt,name=route,proto3" json:"route,omitempty"`
	Picture *PictureFields `protobuf:"bytes,2,opt,name=picture,proto3" json:"picture,omitempty"`
	// contains filtered or unexported fields
}

func (*PreviewPicturesFields) Descriptor deprecated

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

Deprecated: Use PreviewPicturesFields.ProtoReflect.Descriptor instead.

func (*PreviewPicturesFields) GetPicture

func (x *PreviewPicturesFields) GetPicture() *PictureFields

func (*PreviewPicturesFields) GetRoute

func (x *PreviewPicturesFields) GetRoute() bool

func (*PreviewPicturesFields) ProtoMessage

func (*PreviewPicturesFields) ProtoMessage()

func (*PreviewPicturesFields) ProtoReflect

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

func (*PreviewPicturesFields) Reset

func (x *PreviewPicturesFields) Reset()

func (*PreviewPicturesFields) String

func (x *PreviewPicturesFields) String() string

type PulseGrid

type PulseGrid struct {
	Line   []float32 `protobuf:"fixed32,1,rep,packed,name=line,proto3" json:"line,omitempty"`
	Color  string    `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"`
	UserId int64     `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PulseGrid) Descriptor deprecated

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

Deprecated: Use PulseGrid.ProtoReflect.Descriptor instead.

func (*PulseGrid) GetColor

func (x *PulseGrid) GetColor() string

func (*PulseGrid) GetLine

func (x *PulseGrid) GetLine() []float32

func (*PulseGrid) GetUserId

func (x *PulseGrid) GetUserId() int64

func (*PulseGrid) ProtoMessage

func (*PulseGrid) ProtoMessage()

func (*PulseGrid) ProtoReflect

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

func (*PulseGrid) Reset

func (x *PulseGrid) Reset()

func (*PulseGrid) String

func (x *PulseGrid) String() string

type PulseLegend

type PulseLegend struct {
	UserId int64  `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Color  string `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"`
	// contains filtered or unexported fields
}

func (*PulseLegend) Descriptor deprecated

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

Deprecated: Use PulseLegend.ProtoReflect.Descriptor instead.

func (*PulseLegend) GetColor

func (x *PulseLegend) GetColor() string

func (*PulseLegend) GetUserId

func (x *PulseLegend) GetUserId() int64

func (*PulseLegend) ProtoMessage

func (*PulseLegend) ProtoMessage()

func (*PulseLegend) ProtoReflect

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

func (*PulseLegend) Reset

func (x *PulseLegend) Reset()

func (*PulseLegend) String

func (x *PulseLegend) String() string

type PulseRequest

type PulseRequest struct {
	Period PulseRequest_Period `protobuf:"varint,1,opt,name=period,proto3,enum=goautowp.PulseRequest_Period" json:"period,omitempty"`
	// contains filtered or unexported fields
}

func (*PulseRequest) Descriptor deprecated

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

Deprecated: Use PulseRequest.ProtoReflect.Descriptor instead.

func (*PulseRequest) GetPeriod

func (x *PulseRequest) GetPeriod() PulseRequest_Period

func (*PulseRequest) ProtoMessage

func (*PulseRequest) ProtoMessage()

func (*PulseRequest) ProtoReflect

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

func (*PulseRequest) Reset

func (x *PulseRequest) Reset()

func (*PulseRequest) String

func (x *PulseRequest) String() string

type PulseRequest_Period

type PulseRequest_Period int32
const (
	PulseRequest_DEFAULT PulseRequest_Period = 0
	PulseRequest_YEAR    PulseRequest_Period = 1
	PulseRequest_MONTH   PulseRequest_Period = 2
)

func (PulseRequest_Period) Descriptor

func (PulseRequest_Period) Enum

func (PulseRequest_Period) EnumDescriptor deprecated

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

Deprecated: Use PulseRequest_Period.Descriptor instead.

func (PulseRequest_Period) Number

func (PulseRequest_Period) String

func (x PulseRequest_Period) String() string

func (PulseRequest_Period) Type

type PulseResponse

type PulseResponse struct {
	Grid   []*PulseGrid   `protobuf:"bytes,1,rep,name=grid,proto3" json:"grid,omitempty"`
	Legend []*PulseLegend `protobuf:"bytes,2,rep,name=legend,proto3" json:"legend,omitempty"`
	Labels []string       `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*PulseResponse) Descriptor deprecated

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

Deprecated: Use PulseResponse.ProtoReflect.Descriptor instead.

func (*PulseResponse) GetGrid

func (x *PulseResponse) GetGrid() []*PulseGrid

func (*PulseResponse) GetLabels

func (x *PulseResponse) GetLabels() []string

func (*PulseResponse) GetLegend

func (x *PulseResponse) GetLegend() []*PulseLegend

func (*PulseResponse) ProtoMessage

func (*PulseResponse) ProtoMessage()

func (*PulseResponse) ProtoReflect

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

func (*PulseResponse) Reset

func (x *PulseResponse) Reset()

func (*PulseResponse) String

func (x *PulseResponse) String() string

type RatingClient added in v1.76.0

type RatingClient interface {
	GetUserPicturesRating(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*APIUsersRatingResponse, error)
	GetUserPicturesRatingBrands(ctx context.Context, in *UserRatingDetailsRequest, opts ...grpc.CallOption) (*UserRatingBrandsResponse, error)
	GetUserCommentsRating(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*APIUsersRatingResponse, error)
	GetUserCommentsRatingFans(ctx context.Context, in *UserRatingDetailsRequest, opts ...grpc.CallOption) (*GetUserRatingFansResponse, error)
	GetUserPictureLikesRating(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*APIUsersRatingResponse, error)
	GetUserPictureLikesRatingFans(ctx context.Context, in *UserRatingDetailsRequest, opts ...grpc.CallOption) (*GetUserRatingFansResponse, error)
	GetUserSpecsRating(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*APIUsersRatingResponse, error)
	GetUserSpecsRatingBrands(ctx context.Context, in *UserRatingDetailsRequest, opts ...grpc.CallOption) (*UserRatingBrandsResponse, error)
}

RatingClient is the client API for Rating 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 NewRatingClient added in v1.76.0

func NewRatingClient(cc grpc.ClientConnInterface) RatingClient

type RatingGRPCServer added in v1.76.0

type RatingGRPCServer struct {
	UnimplementedRatingServer
	// contains filtered or unexported fields
}

func NewRatingGRPCServer added in v1.76.0

func NewRatingGRPCServer(
	picturesRepository *pictures.Repository,
	userRepository *users.Repository,
	itemsRepository *items.Repository,
	commentsRepository *comments.Repository,
	attrsRepository *attrs.Repository,
) *RatingGRPCServer

func (*RatingGRPCServer) GetUserCommentsRating added in v1.76.0

func (s *RatingGRPCServer) GetUserCommentsRating(
	ctx context.Context, _ *emptypb.Empty,
) (*APIUsersRatingResponse, error)

func (*RatingGRPCServer) GetUserCommentsRatingFans added in v1.76.0

func (s *RatingGRPCServer) GetUserCommentsRatingFans(
	ctx context.Context, in *UserRatingDetailsRequest,
) (*GetUserRatingFansResponse, error)

func (*RatingGRPCServer) GetUserPictureLikesRating added in v1.76.0

func (s *RatingGRPCServer) GetUserPictureLikesRating(
	ctx context.Context, _ *emptypb.Empty,
) (*APIUsersRatingResponse, error)

func (*RatingGRPCServer) GetUserPictureLikesRatingFans added in v1.76.0

func (s *RatingGRPCServer) GetUserPictureLikesRatingFans(
	ctx context.Context, in *UserRatingDetailsRequest,
) (*GetUserRatingFansResponse, error)

func (*RatingGRPCServer) GetUserPicturesRating added in v1.76.0

func (s *RatingGRPCServer) GetUserPicturesRating(
	ctx context.Context, _ *emptypb.Empty,
) (*APIUsersRatingResponse, error)

func (*RatingGRPCServer) GetUserPicturesRatingBrands added in v1.76.0

func (s *RatingGRPCServer) GetUserPicturesRatingBrands(
	ctx context.Context, in *UserRatingDetailsRequest,
) (*UserRatingBrandsResponse, error)

func (*RatingGRPCServer) GetUserSpecsRating added in v1.76.0

func (s *RatingGRPCServer) GetUserSpecsRating(
	ctx context.Context, _ *emptypb.Empty,
) (*APIUsersRatingResponse, error)

func (*RatingGRPCServer) GetUserSpecsRatingBrands added in v1.76.0

func (s *RatingGRPCServer) GetUserSpecsRatingBrands(
	ctx context.Context, in *UserRatingDetailsRequest,
) (*UserRatingBrandsResponse, error)

type RatingServer added in v1.76.0

type RatingServer interface {
	GetUserPicturesRating(context.Context, *emptypb.Empty) (*APIUsersRatingResponse, error)
	GetUserPicturesRatingBrands(context.Context, *UserRatingDetailsRequest) (*UserRatingBrandsResponse, error)
	GetUserCommentsRating(context.Context, *emptypb.Empty) (*APIUsersRatingResponse, error)
	GetUserCommentsRatingFans(context.Context, *UserRatingDetailsRequest) (*GetUserRatingFansResponse, error)
	GetUserPictureLikesRating(context.Context, *emptypb.Empty) (*APIUsersRatingResponse, error)
	GetUserPictureLikesRatingFans(context.Context, *UserRatingDetailsRequest) (*GetUserRatingFansResponse, error)
	GetUserSpecsRating(context.Context, *emptypb.Empty) (*APIUsersRatingResponse, error)
	GetUserSpecsRatingBrands(context.Context, *UserRatingDetailsRequest) (*UserRatingBrandsResponse, error)
	// contains filtered or unexported methods
}

RatingServer is the server API for Rating service. All implementations must embed UnimplementedRatingServer for forward compatibility

type ReCaptchaConfig

type ReCaptchaConfig struct {
	PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*ReCaptchaConfig) Descriptor deprecated

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

Deprecated: Use ReCaptchaConfig.ProtoReflect.Descriptor instead.

func (*ReCaptchaConfig) GetPublicKey

func (x *ReCaptchaConfig) GetPublicKey() string

func (*ReCaptchaConfig) ProtoMessage

func (*ReCaptchaConfig) ProtoMessage()

func (*ReCaptchaConfig) ProtoReflect

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

func (*ReCaptchaConfig) Reset

func (x *ReCaptchaConfig) Reset()

func (*ReCaptchaConfig) String

func (x *ReCaptchaConfig) String() string

type Spec

type Spec struct {
	Id        int32   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ShortName string  `protobuf:"bytes,3,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"`
	Childs    []*Spec `protobuf:"bytes,4,rep,name=childs,proto3" json:"childs,omitempty"`
	// contains filtered or unexported fields
}

func (*Spec) Descriptor deprecated

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

Deprecated: Use Spec.ProtoReflect.Descriptor instead.

func (*Spec) GetChilds

func (x *Spec) GetChilds() []*Spec

func (*Spec) GetId

func (x *Spec) GetId() int32

func (*Spec) GetName

func (x *Spec) GetName() string

func (*Spec) GetShortName

func (x *Spec) GetShortName() string

func (*Spec) ProtoMessage

func (*Spec) ProtoMessage()

func (*Spec) ProtoReflect

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

func (*Spec) Reset

func (x *Spec) Reset()

func (*Spec) String

func (x *Spec) String() string

type SpecsItems

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

func (*SpecsItems) Descriptor deprecated

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

Deprecated: Use SpecsItems.ProtoReflect.Descriptor instead.

func (*SpecsItems) GetItems

func (x *SpecsItems) GetItems() []*Spec

func (*SpecsItems) ProtoMessage

func (*SpecsItems) ProtoMessage()

func (*SpecsItems) ProtoReflect

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

func (*SpecsItems) Reset

func (x *SpecsItems) Reset()

func (*SpecsItems) String

func (x *SpecsItems) String() string

type StatisticsClient

type StatisticsClient interface {
	GetPulse(ctx context.Context, in *PulseRequest, opts ...grpc.CallOption) (*PulseResponse, error)
	GetAboutData(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AboutDataResponse, error)
}

StatisticsClient is the client API for Statistics 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 NewStatisticsClient

func NewStatisticsClient(cc grpc.ClientConnInterface) StatisticsClient

type StatisticsGRPCServer

type StatisticsGRPCServer struct {
	UnimplementedStatisticsServer
	// contains filtered or unexported fields
}

func NewStatisticsGRPCServer

func NewStatisticsGRPCServer(
	db *goqu.Database,
	enforcer *casbin.Enforcer,
	aboutConfig config.AboutConfig,
) *StatisticsGRPCServer

func (*StatisticsGRPCServer) GetAboutData

func (*StatisticsGRPCServer) GetPulse

type StatisticsServer

type StatisticsServer interface {
	GetPulse(context.Context, *PulseRequest) (*PulseResponse, error)
	GetAboutData(context.Context, *emptypb.Empty) (*AboutDataResponse, error)
	// contains filtered or unexported methods
}

StatisticsServer is the server API for Statistics service. All implementations must embed UnimplementedStatisticsServer for forward compatibility

type StatsResponse added in v1.72.0

type StatsResponse struct {
	Values []*StatsValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*StatsResponse) Descriptor deprecated added in v1.72.0

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

Deprecated: Use StatsResponse.ProtoReflect.Descriptor instead.

func (*StatsResponse) GetValues added in v1.72.0

func (x *StatsResponse) GetValues() []*StatsValue

func (*StatsResponse) ProtoMessage added in v1.72.0

func (*StatsResponse) ProtoMessage()

func (*StatsResponse) ProtoReflect added in v1.72.0

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

func (*StatsResponse) Reset added in v1.72.0

func (x *StatsResponse) Reset()

func (*StatsResponse) String added in v1.72.0

func (x *StatsResponse) String() string

type StatsValue added in v1.72.0

type StatsValue struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Total int32  `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	Value int32  `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*StatsValue) Descriptor deprecated added in v1.72.0

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

Deprecated: Use StatsValue.ProtoReflect.Descriptor instead.

func (*StatsValue) GetName added in v1.72.0

func (x *StatsValue) GetName() string

func (*StatsValue) GetTotal added in v1.72.0

func (x *StatsValue) GetTotal() int32

func (*StatsValue) GetValue added in v1.72.0

func (x *StatsValue) GetValue() int32

func (*StatsValue) ProtoMessage added in v1.72.0

func (*StatsValue) ProtoMessage()

func (*StatsValue) ProtoReflect added in v1.72.0

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

func (*StatsValue) Reset added in v1.72.0

func (x *StatsValue) Reset()

func (*StatsValue) String added in v1.72.0

func (x *StatsValue) String() string

type TextClient added in v1.30.0

type TextClient interface {
	GetText(ctx context.Context, in *APIGetTextRequest, opts ...grpc.CallOption) (*APIGetTextResponse, error)
}

TextClient is the client API for Text 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 NewTextClient added in v1.30.0

func NewTextClient(cc grpc.ClientConnInterface) TextClient

type TextGRPCServer added in v1.30.0

type TextGRPCServer struct {
	UnimplementedTextServer
	// contains filtered or unexported fields
}

func NewTextGRPCServer added in v1.30.0

func NewTextGRPCServer(
	db *goqu.Database,
) *TextGRPCServer

func (*TextGRPCServer) GetText added in v1.30.0

type TextRevision added in v1.30.0

type TextRevision struct {
	Text     string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	Revision int64  `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"`
	UserId   int64  `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*TextRevision) Descriptor deprecated added in v1.30.0

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

Deprecated: Use TextRevision.ProtoReflect.Descriptor instead.

func (*TextRevision) GetRevision added in v1.30.0

func (x *TextRevision) GetRevision() int64

func (*TextRevision) GetText added in v1.30.0

func (x *TextRevision) GetText() string

func (*TextRevision) GetUserId added in v1.30.0

func (x *TextRevision) GetUserId() int64

func (*TextRevision) ProtoMessage added in v1.30.0

func (*TextRevision) ProtoMessage()

func (*TextRevision) ProtoReflect added in v1.30.0

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

func (*TextRevision) Reset added in v1.30.0

func (x *TextRevision) Reset()

func (*TextRevision) String added in v1.30.0

func (x *TextRevision) String() string

type TextServer added in v1.30.0

type TextServer interface {
	GetText(context.Context, *APIGetTextRequest) (*APIGetTextResponse, error)
	// contains filtered or unexported methods
}

TextServer is the server API for Text service. All implementations must embed UnimplementedTextServer for forward compatibility

type TokenForm

type TokenForm struct {
	GrantType    string `json:"grant_type"`
	RefreshToken string `json:"refresh_token"`
	Username     string `json:"username"`
	Password     string `json:"password"`
}

type TrafficClient

type TrafficClient interface {
	AddToBlacklist(ctx context.Context, in *AddToTrafficBlacklistRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	AddToWhitelist(ctx context.Context, in *AddToTrafficWhitelistRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteFromBlacklist(ctx context.Context, in *DeleteFromTrafficBlacklistRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteFromWhitelist(ctx context.Context, in *DeleteFromTrafficWhitelistRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetTop(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*APITrafficTopResponse, error)
	GetWhitelist(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*APITrafficWhitelistItems, error)
}

TrafficClient is the client API for Traffic 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 NewTrafficClient

func NewTrafficClient(cc grpc.ClientConnInterface) TrafficClient

type TrafficGRPCServer

type TrafficGRPCServer struct {
	UnimplementedTrafficServer
	// contains filtered or unexported fields
}

func NewTrafficGRPCServer

func NewTrafficGRPCServer(
	auth *Auth,
	db *goqu.Database,
	enforcer *casbin.Enforcer,
	userExtractor *UserExtractor,
	traffic *traffic.Traffic,
) *TrafficGRPCServer

func (*TrafficGRPCServer) AddToBlacklist added in v1.5.0

func (*TrafficGRPCServer) AddToWhitelist added in v1.5.0

func (*TrafficGRPCServer) DeleteFromBlacklist added in v1.5.0

func (s *TrafficGRPCServer) DeleteFromBlacklist(
	ctx context.Context,
	in *DeleteFromTrafficBlacklistRequest,
) (*emptypb.Empty, error)

func (*TrafficGRPCServer) DeleteFromWhitelist added in v1.5.0

func (s *TrafficGRPCServer) DeleteFromWhitelist(
	ctx context.Context,
	in *DeleteFromTrafficWhitelistRequest,
) (*emptypb.Empty, error)

func (*TrafficGRPCServer) GetTop added in v1.5.0

func (*TrafficGRPCServer) GetTrafficWhitelist

func (s *TrafficGRPCServer) GetTrafficWhitelist(
	ctx context.Context,
	_ *emptypb.Empty,
) (*APITrafficWhitelistItems, error)

type TrafficServer

type TrafficServer interface {
	AddToBlacklist(context.Context, *AddToTrafficBlacklistRequest) (*emptypb.Empty, error)
	AddToWhitelist(context.Context, *AddToTrafficWhitelistRequest) (*emptypb.Empty, error)
	DeleteFromBlacklist(context.Context, *DeleteFromTrafficBlacklistRequest) (*emptypb.Empty, error)
	DeleteFromWhitelist(context.Context, *DeleteFromTrafficWhitelistRequest) (*emptypb.Empty, error)
	GetTop(context.Context, *emptypb.Empty) (*APITrafficTopResponse, error)
	GetWhitelist(context.Context, *emptypb.Empty) (*APITrafficWhitelistItems, error)
	// contains filtered or unexported methods
}

TrafficServer is the server API for Traffic service. All implementations must embed UnimplementedTrafficServer for forward compatibility

type UnimplementedArticlesServer added in v1.7.0

type UnimplementedArticlesServer struct {
}

UnimplementedArticlesServer must be embedded to have forward compatible implementations.

func (UnimplementedArticlesServer) GetItemByCatname added in v1.7.0

func (UnimplementedArticlesServer) GetList added in v1.7.0

type UnimplementedAttrsServer added in v1.43.0

type UnimplementedAttrsServer struct {
}

UnimplementedAttrsServer must be embedded to have forward compatible implementations.

func (UnimplementedAttrsServer) GetAttribute added in v1.43.0

func (UnimplementedAttrsServer) GetAttributeTypes added in v1.43.0

func (UnimplementedAttrsServer) GetAttributes added in v1.43.0

func (UnimplementedAttrsServer) GetListOptions added in v1.43.0

func (UnimplementedAttrsServer) GetUnits added in v1.43.0

func (UnimplementedAttrsServer) GetZoneAttributes added in v1.43.0

func (UnimplementedAttrsServer) GetZones added in v1.43.0

type UnimplementedAutowpServer

type UnimplementedAutowpServer struct {
}

UnimplementedAutowpServer must be embedded to have forward compatible implementations.

func (UnimplementedAutowpServer) AclEnforce

func (UnimplementedAutowpServer) CreateFeedback

func (UnimplementedAutowpServer) GetBrandIcons

func (UnimplementedAutowpServer) GetBrandVehicleTypes

func (UnimplementedAutowpServer) GetIP

func (UnimplementedAutowpServer) GetPerspectivePages

func (UnimplementedAutowpServer) GetPerspectives

func (UnimplementedAutowpServer) GetReCaptchaConfig

func (UnimplementedAutowpServer) GetSpecs

func (UnimplementedAutowpServer) GetVehicleTypes

type UnimplementedCommentsServer

type UnimplementedCommentsServer struct {
}

UnimplementedCommentsServer must be embedded to have forward compatible implementations.

func (UnimplementedCommentsServer) Add added in v1.18.0

func (UnimplementedCommentsServer) GetCommentVotes

func (UnimplementedCommentsServer) GetMessage added in v1.41.0

func (UnimplementedCommentsServer) GetMessagePage added in v1.38.0

func (UnimplementedCommentsServer) GetMessages added in v1.41.0

func (UnimplementedCommentsServer) MoveComment

func (UnimplementedCommentsServer) SetDeleted

func (UnimplementedCommentsServer) Subscribe

func (UnimplementedCommentsServer) UnSubscribe

func (UnimplementedCommentsServer) View

type UnimplementedContactsServer

type UnimplementedContactsServer struct {
}

UnimplementedContactsServer must be embedded to have forward compatible implementations.

func (UnimplementedContactsServer) CreateContact

func (UnimplementedContactsServer) DeleteContact

func (UnimplementedContactsServer) GetContact

func (UnimplementedContactsServer) GetContacts

type UnimplementedDonationsServer

type UnimplementedDonationsServer struct {
}

UnimplementedDonationsServer must be embedded to have forward compatible implementations.

func (UnimplementedDonationsServer) GetVODData

type UnimplementedForumsServer added in v1.23.0

type UnimplementedForumsServer struct {
}

UnimplementedForumsServer must be embedded to have forward compatible implementations.

func (UnimplementedForumsServer) CloseTopic added in v1.24.0

func (UnimplementedForumsServer) CreateTopic added in v1.23.0

func (UnimplementedForumsServer) DeleteTopic added in v1.24.0

func (UnimplementedForumsServer) GetLastMessage added in v1.37.0

func (UnimplementedForumsServer) GetLastTopic added in v1.37.0

func (UnimplementedForumsServer) GetTheme added in v1.37.0

func (UnimplementedForumsServer) GetThemes added in v1.37.0

func (UnimplementedForumsServer) GetTopic added in v1.37.0

func (UnimplementedForumsServer) GetTopics added in v1.37.0

func (UnimplementedForumsServer) GetUserSummary added in v1.23.0

func (UnimplementedForumsServer) MoveTopic added in v1.25.0

func (UnimplementedForumsServer) OpenTopic added in v1.24.0

type UnimplementedItemsServer

type UnimplementedItemsServer struct {
}

UnimplementedItemsServer must be embedded to have forward compatible implementations.

func (UnimplementedItemsServer) CreateItemVehicleType added in v1.29.0

func (UnimplementedItemsServer) DeleteItemVehicleType added in v1.29.0

func (UnimplementedItemsServer) GetContentLanguages added in v1.11.0

func (UnimplementedItemsServer) GetItemLanguages added in v1.50.0

func (UnimplementedItemsServer) GetItemParentLanguages added in v1.49.0

func (UnimplementedItemsServer) GetItemVehicleType added in v1.29.0

func (UnimplementedItemsServer) GetItemVehicleTypes added in v1.29.0

func (UnimplementedItemsServer) GetStats added in v1.72.0

func (UnimplementedItemsServer) GetTopBrandsList

func (UnimplementedItemsServer) GetTopCategoriesList

func (UnimplementedItemsServer) GetTopFactoriesList

func (UnimplementedItemsServer) GetTopPersonsList

func (UnimplementedItemsServer) GetTopTwinsBrandsList

func (UnimplementedItemsServer) GetTree

func (UnimplementedItemsServer) GetTwinsBrandsList added in v1.36.0

func (UnimplementedItemsServer) Item added in v1.52.2

func (UnimplementedItemsServer) List

type UnimplementedMapServer

type UnimplementedMapServer struct {
}

UnimplementedMapServer must be embedded to have forward compatible implementations.

func (UnimplementedMapServer) GetPoints

type UnimplementedMessagingServer

type UnimplementedMessagingServer struct {
}

UnimplementedMessagingServer must be embedded to have forward compatible implementations.

func (UnimplementedMessagingServer) ClearFolder

func (UnimplementedMessagingServer) CreateMessage

func (UnimplementedMessagingServer) DeleteMessage

func (UnimplementedMessagingServer) GetMessagesNewCount

func (UnimplementedMessagingServer) GetMessagesSummary

type UnimplementedPicturesServer

type UnimplementedPicturesServer struct {
}

UnimplementedPicturesServer must be embedded to have forward compatible implementations.

func (UnimplementedPicturesServer) CreateModerVoteTemplate

func (UnimplementedPicturesServer) DeleteModerVoteTemplate

func (UnimplementedPicturesServer) GetModerVoteTemplates

func (UnimplementedPicturesServer) View

func (UnimplementedPicturesServer) Vote

type UnimplementedRatingServer added in v1.76.0

type UnimplementedRatingServer struct {
}

UnimplementedRatingServer must be embedded to have forward compatible implementations.

func (UnimplementedRatingServer) GetUserCommentsRating added in v1.76.0

func (UnimplementedRatingServer) GetUserCommentsRatingFans added in v1.76.0

func (UnimplementedRatingServer) GetUserPictureLikesRating added in v1.76.0

func (UnimplementedRatingServer) GetUserPictureLikesRatingFans added in v1.76.0

func (UnimplementedRatingServer) GetUserPicturesRating added in v1.76.0

func (UnimplementedRatingServer) GetUserPicturesRatingBrands added in v1.76.0

func (UnimplementedRatingServer) GetUserSpecsRating added in v1.76.0

func (UnimplementedRatingServer) GetUserSpecsRatingBrands added in v1.76.0

type UnimplementedStatisticsServer

type UnimplementedStatisticsServer struct {
}

UnimplementedStatisticsServer must be embedded to have forward compatible implementations.

func (UnimplementedStatisticsServer) GetAboutData

func (UnimplementedStatisticsServer) GetPulse

type UnimplementedTextServer added in v1.30.0

type UnimplementedTextServer struct {
}

UnimplementedTextServer must be embedded to have forward compatible implementations.

func (UnimplementedTextServer) GetText added in v1.30.0

type UnimplementedTrafficServer

type UnimplementedTrafficServer struct {
}

UnimplementedTrafficServer must be embedded to have forward compatible implementations.

func (UnimplementedTrafficServer) AddToBlacklist

func (UnimplementedTrafficServer) AddToWhitelist

func (UnimplementedTrafficServer) DeleteFromBlacklist

func (UnimplementedTrafficServer) DeleteFromWhitelist

func (UnimplementedTrafficServer) GetTop

func (UnimplementedTrafficServer) GetWhitelist

type UnimplementedUsersServer

type UnimplementedUsersServer struct {
}

UnimplementedUsersServer must be embedded to have forward compatible implementations.

func (UnimplementedUsersServer) DeleteUser

func (UnimplementedUsersServer) DisableUserCommentsNotifications added in v1.1.0

func (UnimplementedUsersServer) DisableUserCommentsNotifications(context.Context, *APIUserPreferencesRequest) (*emptypb.Empty, error)

func (UnimplementedUsersServer) EnableUserCommentsNotifications added in v1.1.0

func (UnimplementedUsersServer) EnableUserCommentsNotifications(context.Context, *APIUserPreferencesRequest) (*emptypb.Empty, error)

func (UnimplementedUsersServer) GetUser

func (UnimplementedUsersServer) GetUserPreferences added in v1.1.0

func (UnimplementedUsersServer) GetUsers added in v1.32.0

func (UnimplementedUsersServer) Me

type UnsafeArticlesServer added in v1.7.0

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

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

type UnsafeAttrsServer added in v1.43.0

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

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

type UnsafeAutowpServer

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

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

type UnsafeCommentsServer

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

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

type UnsafeContactsServer

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

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

type UnsafeDonationsServer

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

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

type UnsafeForumsServer added in v1.23.0

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

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

type UnsafeItemsServer

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

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

type UnsafeMapServer

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

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

type UnsafeMessagingServer

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

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

type UnsafePicturesServer

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

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

type UnsafeRatingServer added in v1.76.0

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

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

type UnsafeStatisticsServer

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

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

type UnsafeTextServer added in v1.30.0

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

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

type UnsafeTrafficServer

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

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

type UnsafeUsersServer

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

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

type UserExtractor added in v1.65.0

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

func NewUserExtractor added in v1.65.0

func NewUserExtractor(enforcer *casbin.Enforcer, imageStorage *storage.Storage) *UserExtractor

func (*UserExtractor) Extract added in v1.65.0

func (s *UserExtractor) Extract(ctx context.Context, row *users.DBUser) (*APIUser, error)

type UserRatingBrandsResponse added in v1.76.0

type UserRatingBrandsResponse struct {
	Brands []*APIUsersRatingUserBrand `protobuf:"bytes,1,rep,name=brands,proto3" json:"brands,omitempty"`
	// contains filtered or unexported fields
}

func (*UserRatingBrandsResponse) Descriptor deprecated added in v1.76.0

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

Deprecated: Use UserRatingBrandsResponse.ProtoReflect.Descriptor instead.

func (*UserRatingBrandsResponse) GetBrands added in v1.76.0

func (*UserRatingBrandsResponse) ProtoMessage added in v1.76.0

func (*UserRatingBrandsResponse) ProtoMessage()

func (*UserRatingBrandsResponse) ProtoReflect added in v1.76.0

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

func (*UserRatingBrandsResponse) Reset added in v1.76.0

func (x *UserRatingBrandsResponse) Reset()

func (*UserRatingBrandsResponse) String added in v1.76.0

func (x *UserRatingBrandsResponse) String() string

type UserRatingDetailsRequest added in v1.76.0

type UserRatingDetailsRequest struct {
	UserId   int64  `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"`
	// contains filtered or unexported fields
}

func (*UserRatingDetailsRequest) Descriptor deprecated added in v1.76.0

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

Deprecated: Use UserRatingDetailsRequest.ProtoReflect.Descriptor instead.

func (*UserRatingDetailsRequest) GetLanguage added in v1.77.2

func (x *UserRatingDetailsRequest) GetLanguage() string

func (*UserRatingDetailsRequest) GetUserId added in v1.76.0

func (x *UserRatingDetailsRequest) GetUserId() int64

func (*UserRatingDetailsRequest) ProtoMessage added in v1.76.0

func (*UserRatingDetailsRequest) ProtoMessage()

func (*UserRatingDetailsRequest) ProtoReflect added in v1.76.0

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

func (*UserRatingDetailsRequest) Reset added in v1.76.0

func (x *UserRatingDetailsRequest) Reset()

func (*UserRatingDetailsRequest) String added in v1.76.0

func (x *UserRatingDetailsRequest) String() string

type UsersClient

type UsersClient interface {
	DeleteUser(ctx context.Context, in *APIDeleteUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetUser(ctx context.Context, in *APIGetUserRequest, opts ...grpc.CallOption) (*APIUser, error)
	Me(ctx context.Context, in *APIMeRequest, opts ...grpc.CallOption) (*APIUser, error)
	GetUserPreferences(ctx context.Context, in *APIUserPreferencesRequest, opts ...grpc.CallOption) (*APIUserPreferencesResponse, error)
	DisableUserCommentsNotifications(ctx context.Context, in *APIUserPreferencesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	EnableUserCommentsNotifications(ctx context.Context, in *APIUserPreferencesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetUsers(ctx context.Context, in *APIUsersRequest, opts ...grpc.CallOption) (*APIUsersResponse, error)
}

UsersClient is the client API for Users 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 NewUsersClient

func NewUsersClient(cc grpc.ClientConnInterface) UsersClient

type UsersGRPCServer

type UsersGRPCServer struct {
	UnimplementedUsersServer
	// contains filtered or unexported fields
}

func NewUsersGRPCServer

func NewUsersGRPCServer(
	auth *Auth,
	enforcer *casbin.Enforcer,
	contactsRepository *ContactsRepository,
	userRepository *users.Repository,
	events *Events,
	languages map[string]config.LanguageConfig,
	captcha bool,
	userExtractor *UserExtractor,
) *UsersGRPCServer

func (*UsersGRPCServer) DeleteUser

func (*UsersGRPCServer) DisableUserCommentsNotifications added in v1.1.0

func (s *UsersGRPCServer) DisableUserCommentsNotifications(
	ctx context.Context,
	in *APIUserPreferencesRequest,
) (*emptypb.Empty, error)

func (*UsersGRPCServer) EnableUserCommentsNotifications added in v1.1.0

func (s *UsersGRPCServer) EnableUserCommentsNotifications(
	ctx context.Context,
	in *APIUserPreferencesRequest,
) (*emptypb.Empty, error)

func (*UsersGRPCServer) GetUser

func (s *UsersGRPCServer) GetUser(ctx context.Context, in *APIGetUserRequest) (*APIUser, error)

func (*UsersGRPCServer) GetUserPreferences added in v1.1.0

func (*UsersGRPCServer) GetUsers added in v1.32.0

func (*UsersGRPCServer) Me

type UsersServer

type UsersServer interface {
	DeleteUser(context.Context, *APIDeleteUserRequest) (*emptypb.Empty, error)
	GetUser(context.Context, *APIGetUserRequest) (*APIUser, error)
	Me(context.Context, *APIMeRequest) (*APIUser, error)
	GetUserPreferences(context.Context, *APIUserPreferencesRequest) (*APIUserPreferencesResponse, error)
	DisableUserCommentsNotifications(context.Context, *APIUserPreferencesRequest) (*emptypb.Empty, error)
	EnableUserCommentsNotifications(context.Context, *APIUserPreferencesRequest) (*emptypb.Empty, error)
	GetUsers(context.Context, *APIUsersRequest) (*APIUsersResponse, error)
	// contains filtered or unexported methods
}

UsersServer is the server API for Users service. All implementations must embed UnimplementedUsersServer for forward compatibility

type VODDataDate

type VODDataDate struct {
	Date *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
	Free bool                   `protobuf:"varint,2,opt,name=free,proto3" json:"free,omitempty"`
	// contains filtered or unexported fields
}

func (*VODDataDate) Descriptor deprecated

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

Deprecated: Use VODDataDate.ProtoReflect.Descriptor instead.

func (*VODDataDate) GetDate

func (x *VODDataDate) GetDate() *timestamppb.Timestamp

func (*VODDataDate) GetFree

func (x *VODDataDate) GetFree() bool

func (*VODDataDate) ProtoMessage

func (*VODDataDate) ProtoMessage()

func (*VODDataDate) ProtoReflect

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

func (*VODDataDate) Reset

func (x *VODDataDate) Reset()

func (*VODDataDate) String

func (x *VODDataDate) String() string

type VODDataResponse

type VODDataResponse struct {
	Dates []*VODDataDate `protobuf:"bytes,1,rep,name=dates,proto3" json:"dates,omitempty"`
	Sum   int32          `protobuf:"varint,2,opt,name=sum,proto3" json:"sum,omitempty"`
	// contains filtered or unexported fields
}

func (*VODDataResponse) Descriptor deprecated

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

Deprecated: Use VODDataResponse.ProtoReflect.Descriptor instead.

func (*VODDataResponse) GetDates

func (x *VODDataResponse) GetDates() []*VODDataDate

func (*VODDataResponse) GetSum

func (x *VODDataResponse) GetSum() int32

func (*VODDataResponse) ProtoMessage

func (*VODDataResponse) ProtoMessage()

func (*VODDataResponse) ProtoReflect

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

func (*VODDataResponse) Reset

func (x *VODDataResponse) Reset()

func (*VODDataResponse) String

func (x *VODDataResponse) String() string

type VehicleType

type VehicleType struct {
	Id     int32          `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name   string         `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Childs []*VehicleType `protobuf:"bytes,4,rep,name=childs,proto3" json:"childs,omitempty"`
	// contains filtered or unexported fields
}

func (*VehicleType) Descriptor deprecated

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

Deprecated: Use VehicleType.ProtoReflect.Descriptor instead.

func (*VehicleType) GetChilds

func (x *VehicleType) GetChilds() []*VehicleType

func (*VehicleType) GetId

func (x *VehicleType) GetId() int32

func (*VehicleType) GetName

func (x *VehicleType) GetName() string

func (*VehicleType) ProtoMessage

func (*VehicleType) ProtoMessage()

func (*VehicleType) ProtoReflect

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

func (*VehicleType) Reset

func (x *VehicleType) Reset()

func (*VehicleType) String

func (x *VehicleType) String() string

type VehicleTypeItems

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

func (*VehicleTypeItems) Descriptor deprecated

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

Deprecated: Use VehicleTypeItems.ProtoReflect.Descriptor instead.

func (*VehicleTypeItems) GetItems

func (x *VehicleTypeItems) GetItems() []*VehicleType

func (*VehicleTypeItems) ProtoMessage

func (*VehicleTypeItems) ProtoMessage()

func (*VehicleTypeItems) ProtoReflect

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

func (*VehicleTypeItems) Reset

func (x *VehicleTypeItems) Reset()

func (*VehicleTypeItems) String

func (x *VehicleTypeItems) String() string

type YoomoneyHandler added in v1.68.0

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

func NewYoomoneyHandler added in v1.68.0

func NewYoomoneyHandler(
	price string,
	notificationSecret string,
	itemOfDay *itemofday.Repository,
) (*YoomoneyHandler, error)

func (*YoomoneyHandler) Handle added in v1.68.0

func (s *YoomoneyHandler) Handle(ctx context.Context, fields YoomoneyWebhook) error

func (*YoomoneyHandler) Hash added in v1.68.0

func (s *YoomoneyHandler) Hash(fields YoomoneyWebhook) (string, error)

func (*YoomoneyHandler) SetupRouter added in v1.68.0

func (s *YoomoneyHandler) SetupRouter(_ context.Context, r *gin.Engine)

type YoomoneyWebhook added in v1.68.0

type YoomoneyWebhook struct {
	NotificationType string `binding:"required"       form:"notification_type" json:"notification_type"`
	OperationID      string `binding:"required"       form:"operation_id"      json:"operation_id"`
	Amount           string `binding:"required"       form:"amount"            json:"amount"`
	WithdrawAmount   string `form:"withdraw_amount"   json:"withdraw_amount"`
	Currency         string `binding:"required"       form:"currency"          json:"currency"`
	Datetime         string `binding:"required"       form:"datetime"          json:"datetime"`
	Sender           string `form:"sender"            json:"sender"`
	Codepro          string `binding:"required"       form:"codepro"           json:"codepro"`
	Label            string `form:"label"             json:"label"`
	SHA1Hash         string `binding:"required"       form:"sha1_hash"         json:"sha1_hash"`
	TestNotification bool   `form:"test_notification" json:"test_notification"`
	Unaccepted       bool   `form:"unaccepted"        json:"unaccepted"`
}

Jump to

Keyboard shortcuts

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