Versions in this module Expand all Collapse all v1 v1.0.11 Jun 28, 2026 v1.0.10 Jun 26, 2026 v1.0.9 Jun 25, 2026 v1.0.8 Jun 24, 2026 v1.0.7 Jun 23, 2026 Changes in this version + const AdsService_CreateAds_FullMethodName + const AdsService_DeleteAds_FullMethodName + const AdsService_GetAdsList_FullMethodName + const AdsService_GetAds_FullMethodName + const AdsService_UpdateAds_FullMethodName + const OperationAdsServiceCreateAds + const OperationAdsServiceDeleteAds + const OperationAdsServiceGetAds + const OperationAdsServiceGetAdsList + const OperationAdsServiceUpdateAds + var AdsService_ServiceDesc = grpc.ServiceDesc + var File_admin_ads_v1_ads_proto protoreflect.FileDescriptor + func RegisterAdsServiceHTTPServer(s *http.Server, srv AdsServiceHTTPServer) + func RegisterAdsServiceServer(s grpc.ServiceRegistrar, srv AdsServiceServer) + type Ads struct + Content string + CreatedAt int64 + Description string + EndTime int64 + Id int64 + StartTime int64 + Status int32 + TargetUrl string + Title string + Type string + UpdatedAt int64 + func (*Ads) Descriptor() ([]byte, []int) + func (*Ads) ProtoMessage() + func (m *Ads) Validate() error + func (m *Ads) ValidateAll() error + func (x *Ads) GetContent() string + func (x *Ads) GetCreatedAt() int64 + func (x *Ads) GetDescription() string + func (x *Ads) GetEndTime() int64 + func (x *Ads) GetId() int64 + func (x *Ads) GetStartTime() int64 + func (x *Ads) GetStatus() int32 + func (x *Ads) GetTargetUrl() string + func (x *Ads) GetTitle() string + func (x *Ads) GetType() string + func (x *Ads) GetUpdatedAt() int64 + func (x *Ads) ProtoReflect() protoreflect.Message + func (x *Ads) Reset() + func (x *Ads) String() string + type AdsMultiError []error + func (m AdsMultiError) AllErrors() []error + func (m AdsMultiError) Error() string + type AdsServiceClient interface + CreateAds func(ctx context.Context, in *CreateAdsRequest, opts ...grpc.CallOption) (*CreateAdsReply, error) + DeleteAds func(ctx context.Context, in *DeleteAdsRequest, opts ...grpc.CallOption) (*DeleteAdsReply, error) + GetAds func(ctx context.Context, in *GetAdsRequest, opts ...grpc.CallOption) (*GetAdsReply, error) + GetAdsList func(ctx context.Context, in *GetAdsListRequest, opts ...grpc.CallOption) (*GetAdsListReply, error) + UpdateAds func(ctx context.Context, in *UpdateAdsRequest, opts ...grpc.CallOption) (*UpdateAdsReply, error) + func NewAdsServiceClient(cc grpc.ClientConnInterface) AdsServiceClient + type AdsServiceHTTPClient interface + CreateAds func(ctx context.Context, req *CreateAdsRequest, opts ...http.CallOption) (rsp *CreateAdsReply, err error) + DeleteAds func(ctx context.Context, req *DeleteAdsRequest, opts ...http.CallOption) (rsp *DeleteAdsReply, err error) + GetAds func(ctx context.Context, req *GetAdsRequest, opts ...http.CallOption) (rsp *GetAdsReply, err error) + GetAdsList func(ctx context.Context, req *GetAdsListRequest, opts ...http.CallOption) (rsp *GetAdsListReply, err error) + UpdateAds func(ctx context.Context, req *UpdateAdsRequest, opts ...http.CallOption) (rsp *UpdateAdsReply, err error) + func NewAdsServiceHTTPClient(client *http.Client) AdsServiceHTTPClient + type AdsServiceHTTPClientImpl struct + func (c *AdsServiceHTTPClientImpl) CreateAds(ctx context.Context, in *CreateAdsRequest, opts ...http.CallOption) (*CreateAdsReply, error) + func (c *AdsServiceHTTPClientImpl) DeleteAds(ctx context.Context, in *DeleteAdsRequest, opts ...http.CallOption) (*DeleteAdsReply, error) + func (c *AdsServiceHTTPClientImpl) GetAds(ctx context.Context, in *GetAdsRequest, opts ...http.CallOption) (*GetAdsReply, error) + func (c *AdsServiceHTTPClientImpl) GetAdsList(ctx context.Context, in *GetAdsListRequest, opts ...http.CallOption) (*GetAdsListReply, error) + func (c *AdsServiceHTTPClientImpl) UpdateAds(ctx context.Context, in *UpdateAdsRequest, opts ...http.CallOption) (*UpdateAdsReply, error) + type AdsServiceHTTPServer interface + CreateAds func(context.Context, *CreateAdsRequest) (*CreateAdsReply, error) + DeleteAds func(context.Context, *DeleteAdsRequest) (*DeleteAdsReply, error) + GetAds func(context.Context, *GetAdsRequest) (*GetAdsReply, error) + GetAdsList func(context.Context, *GetAdsListRequest) (*GetAdsListReply, error) + UpdateAds func(context.Context, *UpdateAdsRequest) (*UpdateAdsReply, error) + type AdsServiceServer interface + CreateAds func(context.Context, *CreateAdsRequest) (*CreateAdsReply, error) + DeleteAds func(context.Context, *DeleteAdsRequest) (*DeleteAdsReply, error) + GetAds func(context.Context, *GetAdsRequest) (*GetAdsReply, error) + GetAdsList func(context.Context, *GetAdsListRequest) (*GetAdsListReply, error) + UpdateAds func(context.Context, *UpdateAdsRequest) (*UpdateAdsReply, error) + type AdsValidationError struct + func (e AdsValidationError) Cause() error + func (e AdsValidationError) Error() string + func (e AdsValidationError) ErrorName() string + func (e AdsValidationError) Field() string + func (e AdsValidationError) Key() bool + func (e AdsValidationError) Reason() string + type CreateAdsData struct + Ads *Ads + func (*CreateAdsData) Descriptor() ([]byte, []int) + func (*CreateAdsData) ProtoMessage() + func (m *CreateAdsData) Validate() error + func (m *CreateAdsData) ValidateAll() error + func (x *CreateAdsData) GetAds() *Ads + func (x *CreateAdsData) ProtoReflect() protoreflect.Message + func (x *CreateAdsData) Reset() + func (x *CreateAdsData) String() string + type CreateAdsDataMultiError []error + func (m CreateAdsDataMultiError) AllErrors() []error + func (m CreateAdsDataMultiError) Error() string + type CreateAdsDataValidationError struct + func (e CreateAdsDataValidationError) Cause() error + func (e CreateAdsDataValidationError) Error() string + func (e CreateAdsDataValidationError) ErrorName() string + func (e CreateAdsDataValidationError) Field() string + func (e CreateAdsDataValidationError) Key() bool + func (e CreateAdsDataValidationError) Reason() string + type CreateAdsReply struct + Code int32 + Data *CreateAdsData + Message string + func (*CreateAdsReply) Descriptor() ([]byte, []int) + func (*CreateAdsReply) ProtoMessage() + func (m *CreateAdsReply) Validate() error + func (m *CreateAdsReply) ValidateAll() error + func (x *CreateAdsReply) GetCode() int32 + func (x *CreateAdsReply) GetData() *CreateAdsData + func (x *CreateAdsReply) GetMessage() string + func (x *CreateAdsReply) ProtoReflect() protoreflect.Message + func (x *CreateAdsReply) Reset() + func (x *CreateAdsReply) String() string + type CreateAdsReplyMultiError []error + func (m CreateAdsReplyMultiError) AllErrors() []error + func (m CreateAdsReplyMultiError) Error() string + type CreateAdsReplyValidationError struct + func (e CreateAdsReplyValidationError) Cause() error + func (e CreateAdsReplyValidationError) Error() string + func (e CreateAdsReplyValidationError) ErrorName() string + func (e CreateAdsReplyValidationError) Field() string + func (e CreateAdsReplyValidationError) Key() bool + func (e CreateAdsReplyValidationError) Reason() string + type CreateAdsRequest struct + Content string + Description string + EndTime int64 + StartTime int64 + Status int32 + TargetUrl string + Title string + Type string + func (*CreateAdsRequest) Descriptor() ([]byte, []int) + func (*CreateAdsRequest) ProtoMessage() + func (m *CreateAdsRequest) Validate() error + func (m *CreateAdsRequest) ValidateAll() error + func (x *CreateAdsRequest) GetContent() string + func (x *CreateAdsRequest) GetDescription() string + func (x *CreateAdsRequest) GetEndTime() int64 + func (x *CreateAdsRequest) GetStartTime() int64 + func (x *CreateAdsRequest) GetStatus() int32 + func (x *CreateAdsRequest) GetTargetUrl() string + func (x *CreateAdsRequest) GetTitle() string + func (x *CreateAdsRequest) GetType() string + func (x *CreateAdsRequest) ProtoReflect() protoreflect.Message + func (x *CreateAdsRequest) Reset() + func (x *CreateAdsRequest) String() string + type CreateAdsRequestMultiError []error + func (m CreateAdsRequestMultiError) AllErrors() []error + func (m CreateAdsRequestMultiError) Error() string + type CreateAdsRequestValidationError struct + func (e CreateAdsRequestValidationError) Cause() error + func (e CreateAdsRequestValidationError) Error() string + func (e CreateAdsRequestValidationError) ErrorName() string + func (e CreateAdsRequestValidationError) Field() string + func (e CreateAdsRequestValidationError) Key() bool + func (e CreateAdsRequestValidationError) Reason() string + type DeleteAdsData struct + Success bool + func (*DeleteAdsData) Descriptor() ([]byte, []int) + func (*DeleteAdsData) ProtoMessage() + func (m *DeleteAdsData) Validate() error + func (m *DeleteAdsData) ValidateAll() error + func (x *DeleteAdsData) GetSuccess() bool + func (x *DeleteAdsData) ProtoReflect() protoreflect.Message + func (x *DeleteAdsData) Reset() + func (x *DeleteAdsData) String() string + type DeleteAdsDataMultiError []error + func (m DeleteAdsDataMultiError) AllErrors() []error + func (m DeleteAdsDataMultiError) Error() string + type DeleteAdsDataValidationError struct + func (e DeleteAdsDataValidationError) Cause() error + func (e DeleteAdsDataValidationError) Error() string + func (e DeleteAdsDataValidationError) ErrorName() string + func (e DeleteAdsDataValidationError) Field() string + func (e DeleteAdsDataValidationError) Key() bool + func (e DeleteAdsDataValidationError) Reason() string + type DeleteAdsReply struct + Code int32 + Data *DeleteAdsData + Message string + func (*DeleteAdsReply) Descriptor() ([]byte, []int) + func (*DeleteAdsReply) ProtoMessage() + func (m *DeleteAdsReply) Validate() error + func (m *DeleteAdsReply) ValidateAll() error + func (x *DeleteAdsReply) GetCode() int32 + func (x *DeleteAdsReply) GetData() *DeleteAdsData + func (x *DeleteAdsReply) GetMessage() string + func (x *DeleteAdsReply) ProtoReflect() protoreflect.Message + func (x *DeleteAdsReply) Reset() + func (x *DeleteAdsReply) String() string + type DeleteAdsReplyMultiError []error + func (m DeleteAdsReplyMultiError) AllErrors() []error + func (m DeleteAdsReplyMultiError) Error() string + type DeleteAdsReplyValidationError struct + func (e DeleteAdsReplyValidationError) Cause() error + func (e DeleteAdsReplyValidationError) Error() string + func (e DeleteAdsReplyValidationError) ErrorName() string + func (e DeleteAdsReplyValidationError) Field() string + func (e DeleteAdsReplyValidationError) Key() bool + func (e DeleteAdsReplyValidationError) Reason() string + type DeleteAdsRequest struct + Id int64 + func (*DeleteAdsRequest) Descriptor() ([]byte, []int) + func (*DeleteAdsRequest) ProtoMessage() + func (m *DeleteAdsRequest) Validate() error + func (m *DeleteAdsRequest) ValidateAll() error + func (x *DeleteAdsRequest) GetId() int64 + func (x *DeleteAdsRequest) ProtoReflect() protoreflect.Message + func (x *DeleteAdsRequest) Reset() + func (x *DeleteAdsRequest) String() string + type DeleteAdsRequestMultiError []error + func (m DeleteAdsRequestMultiError) AllErrors() []error + func (m DeleteAdsRequestMultiError) Error() string + type DeleteAdsRequestValidationError struct + func (e DeleteAdsRequestValidationError) Cause() error + func (e DeleteAdsRequestValidationError) Error() string + func (e DeleteAdsRequestValidationError) ErrorName() string + func (e DeleteAdsRequestValidationError) Field() string + func (e DeleteAdsRequestValidationError) Key() bool + func (e DeleteAdsRequestValidationError) Reason() string + type GetAdsData struct + Ads *Ads + func (*GetAdsData) Descriptor() ([]byte, []int) + func (*GetAdsData) ProtoMessage() + func (m *GetAdsData) Validate() error + func (m *GetAdsData) ValidateAll() error + func (x *GetAdsData) GetAds() *Ads + func (x *GetAdsData) ProtoReflect() protoreflect.Message + func (x *GetAdsData) Reset() + func (x *GetAdsData) String() string + type GetAdsDataMultiError []error + func (m GetAdsDataMultiError) AllErrors() []error + func (m GetAdsDataMultiError) Error() string + type GetAdsDataValidationError struct + func (e GetAdsDataValidationError) Cause() error + func (e GetAdsDataValidationError) Error() string + func (e GetAdsDataValidationError) ErrorName() string + func (e GetAdsDataValidationError) Field() string + func (e GetAdsDataValidationError) Key() bool + func (e GetAdsDataValidationError) Reason() string + type GetAdsListData struct + List []*Ads + Total int32 + func (*GetAdsListData) Descriptor() ([]byte, []int) + func (*GetAdsListData) ProtoMessage() + func (m *GetAdsListData) Validate() error + func (m *GetAdsListData) ValidateAll() error + func (x *GetAdsListData) GetList() []*Ads + func (x *GetAdsListData) GetTotal() int32 + func (x *GetAdsListData) ProtoReflect() protoreflect.Message + func (x *GetAdsListData) Reset() + func (x *GetAdsListData) String() string + type GetAdsListDataMultiError []error + func (m GetAdsListDataMultiError) AllErrors() []error + func (m GetAdsListDataMultiError) Error() string + type GetAdsListDataValidationError struct + func (e GetAdsListDataValidationError) Cause() error + func (e GetAdsListDataValidationError) Error() string + func (e GetAdsListDataValidationError) ErrorName() string + func (e GetAdsListDataValidationError) Field() string + func (e GetAdsListDataValidationError) Key() bool + func (e GetAdsListDataValidationError) Reason() string + type GetAdsListReply struct + Code int32 + Data *GetAdsListData + Message string + func (*GetAdsListReply) Descriptor() ([]byte, []int) + func (*GetAdsListReply) ProtoMessage() + func (m *GetAdsListReply) Validate() error + func (m *GetAdsListReply) ValidateAll() error + func (x *GetAdsListReply) GetCode() int32 + func (x *GetAdsListReply) GetData() *GetAdsListData + func (x *GetAdsListReply) GetMessage() string + func (x *GetAdsListReply) ProtoReflect() protoreflect.Message + func (x *GetAdsListReply) Reset() + func (x *GetAdsListReply) String() string + type GetAdsListReplyMultiError []error + func (m GetAdsListReplyMultiError) AllErrors() []error + func (m GetAdsListReplyMultiError) Error() string + type GetAdsListReplyValidationError struct + func (e GetAdsListReplyValidationError) Cause() error + func (e GetAdsListReplyValidationError) Error() string + func (e GetAdsListReplyValidationError) ErrorName() string + func (e GetAdsListReplyValidationError) Field() string + func (e GetAdsListReplyValidationError) Key() bool + func (e GetAdsListReplyValidationError) Reason() string + type GetAdsListRequest struct + Page int32 + Search string + Size int32 + Status *int32 + func (*GetAdsListRequest) Descriptor() ([]byte, []int) + func (*GetAdsListRequest) ProtoMessage() + func (m *GetAdsListRequest) Validate() error + func (m *GetAdsListRequest) ValidateAll() error + func (x *GetAdsListRequest) GetPage() int32 + func (x *GetAdsListRequest) GetSearch() string + func (x *GetAdsListRequest) GetSize() int32 + func (x *GetAdsListRequest) GetStatus() int32 + func (x *GetAdsListRequest) ProtoReflect() protoreflect.Message + func (x *GetAdsListRequest) Reset() + func (x *GetAdsListRequest) String() string + type GetAdsListRequestMultiError []error + func (m GetAdsListRequestMultiError) AllErrors() []error + func (m GetAdsListRequestMultiError) Error() string + type GetAdsListRequestValidationError struct + func (e GetAdsListRequestValidationError) Cause() error + func (e GetAdsListRequestValidationError) Error() string + func (e GetAdsListRequestValidationError) ErrorName() string + func (e GetAdsListRequestValidationError) Field() string + func (e GetAdsListRequestValidationError) Key() bool + func (e GetAdsListRequestValidationError) Reason() string + type GetAdsReply struct + Code int32 + Data *GetAdsData + Message string + func (*GetAdsReply) Descriptor() ([]byte, []int) + func (*GetAdsReply) ProtoMessage() + func (m *GetAdsReply) Validate() error + func (m *GetAdsReply) ValidateAll() error + func (x *GetAdsReply) GetCode() int32 + func (x *GetAdsReply) GetData() *GetAdsData + func (x *GetAdsReply) GetMessage() string + func (x *GetAdsReply) ProtoReflect() protoreflect.Message + func (x *GetAdsReply) Reset() + func (x *GetAdsReply) String() string + type GetAdsReplyMultiError []error + func (m GetAdsReplyMultiError) AllErrors() []error + func (m GetAdsReplyMultiError) Error() string + type GetAdsReplyValidationError struct + func (e GetAdsReplyValidationError) Cause() error + func (e GetAdsReplyValidationError) Error() string + func (e GetAdsReplyValidationError) ErrorName() string + func (e GetAdsReplyValidationError) Field() string + func (e GetAdsReplyValidationError) Key() bool + func (e GetAdsReplyValidationError) Reason() string + type GetAdsRequest struct + Id int64 + func (*GetAdsRequest) Descriptor() ([]byte, []int) + func (*GetAdsRequest) ProtoMessage() + func (m *GetAdsRequest) Validate() error + func (m *GetAdsRequest) ValidateAll() error + func (x *GetAdsRequest) GetId() int64 + func (x *GetAdsRequest) ProtoReflect() protoreflect.Message + func (x *GetAdsRequest) Reset() + func (x *GetAdsRequest) String() string + type GetAdsRequestMultiError []error + func (m GetAdsRequestMultiError) AllErrors() []error + func (m GetAdsRequestMultiError) Error() string + type GetAdsRequestValidationError struct + func (e GetAdsRequestValidationError) Cause() error + func (e GetAdsRequestValidationError) Error() string + func (e GetAdsRequestValidationError) ErrorName() string + func (e GetAdsRequestValidationError) Field() string + func (e GetAdsRequestValidationError) Key() bool + func (e GetAdsRequestValidationError) Reason() string + type UnimplementedAdsServiceServer struct + func (UnimplementedAdsServiceServer) CreateAds(context.Context, *CreateAdsRequest) (*CreateAdsReply, error) + func (UnimplementedAdsServiceServer) DeleteAds(context.Context, *DeleteAdsRequest) (*DeleteAdsReply, error) + func (UnimplementedAdsServiceServer) GetAds(context.Context, *GetAdsRequest) (*GetAdsReply, error) + func (UnimplementedAdsServiceServer) GetAdsList(context.Context, *GetAdsListRequest) (*GetAdsListReply, error) + func (UnimplementedAdsServiceServer) UpdateAds(context.Context, *UpdateAdsRequest) (*UpdateAdsReply, error) + type UnsafeAdsServiceServer interface + type UpdateAdsData struct + Ads *Ads + func (*UpdateAdsData) Descriptor() ([]byte, []int) + func (*UpdateAdsData) ProtoMessage() + func (m *UpdateAdsData) Validate() error + func (m *UpdateAdsData) ValidateAll() error + func (x *UpdateAdsData) GetAds() *Ads + func (x *UpdateAdsData) ProtoReflect() protoreflect.Message + func (x *UpdateAdsData) Reset() + func (x *UpdateAdsData) String() string + type UpdateAdsDataMultiError []error + func (m UpdateAdsDataMultiError) AllErrors() []error + func (m UpdateAdsDataMultiError) Error() string + type UpdateAdsDataValidationError struct + func (e UpdateAdsDataValidationError) Cause() error + func (e UpdateAdsDataValidationError) Error() string + func (e UpdateAdsDataValidationError) ErrorName() string + func (e UpdateAdsDataValidationError) Field() string + func (e UpdateAdsDataValidationError) Key() bool + func (e UpdateAdsDataValidationError) Reason() string + type UpdateAdsReply struct + Code int32 + Data *UpdateAdsData + Message string + func (*UpdateAdsReply) Descriptor() ([]byte, []int) + func (*UpdateAdsReply) ProtoMessage() + func (m *UpdateAdsReply) Validate() error + func (m *UpdateAdsReply) ValidateAll() error + func (x *UpdateAdsReply) GetCode() int32 + func (x *UpdateAdsReply) GetData() *UpdateAdsData + func (x *UpdateAdsReply) GetMessage() string + func (x *UpdateAdsReply) ProtoReflect() protoreflect.Message + func (x *UpdateAdsReply) Reset() + func (x *UpdateAdsReply) String() string + type UpdateAdsReplyMultiError []error + func (m UpdateAdsReplyMultiError) AllErrors() []error + func (m UpdateAdsReplyMultiError) Error() string + type UpdateAdsReplyValidationError struct + func (e UpdateAdsReplyValidationError) Cause() error + func (e UpdateAdsReplyValidationError) Error() string + func (e UpdateAdsReplyValidationError) ErrorName() string + func (e UpdateAdsReplyValidationError) Field() string + func (e UpdateAdsReplyValidationError) Key() bool + func (e UpdateAdsReplyValidationError) Reason() string + type UpdateAdsRequest struct + Content string + Description string + EndTime int64 + Id int64 + StartTime int64 + Status int32 + TargetUrl string + Title string + Type string + func (*UpdateAdsRequest) Descriptor() ([]byte, []int) + func (*UpdateAdsRequest) ProtoMessage() + func (m *UpdateAdsRequest) Validate() error + func (m *UpdateAdsRequest) ValidateAll() error + func (x *UpdateAdsRequest) GetContent() string + func (x *UpdateAdsRequest) GetDescription() string + func (x *UpdateAdsRequest) GetEndTime() int64 + func (x *UpdateAdsRequest) GetId() int64 + func (x *UpdateAdsRequest) GetStartTime() int64 + func (x *UpdateAdsRequest) GetStatus() int32 + func (x *UpdateAdsRequest) GetTargetUrl() string + func (x *UpdateAdsRequest) GetTitle() string + func (x *UpdateAdsRequest) GetType() string + func (x *UpdateAdsRequest) ProtoReflect() protoreflect.Message + func (x *UpdateAdsRequest) Reset() + func (x *UpdateAdsRequest) String() string + type UpdateAdsRequestMultiError []error + func (m UpdateAdsRequestMultiError) AllErrors() []error + func (m UpdateAdsRequestMultiError) Error() string + type UpdateAdsRequestValidationError struct + func (e UpdateAdsRequestValidationError) Cause() error + func (e UpdateAdsRequestValidationError) Error() string + func (e UpdateAdsRequestValidationError) ErrorName() string + func (e UpdateAdsRequestValidationError) Field() string + func (e UpdateAdsRequestValidationError) Key() bool + func (e UpdateAdsRequestValidationError) Reason() string