postServicePb

package
v0.0.0-...-4d1b151 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package postServicePb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	PostService_GetPost_FullMethodName        = "/IdeYarAPI.PostService/GetPost"
	PostService_SearchPost_FullMethodName     = "/IdeYarAPI.PostService/SearchPost"
	PostService_LandingPosts_FullMethodName   = "/IdeYarAPI.PostService/LandingPosts"
	PostService_FundPost_FullMethodName       = "/IdeYarAPI.PostService/FundPost"
	PostService_UserFunds_FullMethodName      = "/IdeYarAPI.PostService/UserFunds"
	PostService_UserProjects_FullMethodName   = "/IdeYarAPI.PostService/UserProjects"
	PostService_UserIDProjects_FullMethodName = "/IdeYarAPI.PostService/UserIDProjects"
	PostService_BookmarkPost_FullMethodName   = "/IdeYarAPI.PostService/BookmarkPost"
	PostService_UserBookmarks_FullMethodName  = "/IdeYarAPI.PostService/UserBookmarks"
)

Variables

View Source
var (
	SearchPostRequest_Filters_SortBy_name = map[int32]string{
		0: "SORT_BY_UNSPECIFIED",
		1: "CREATED_TIME",
		2: "DEADLINE",
	}
	SearchPostRequest_Filters_SortBy_value = map[string]int32{
		"SORT_BY_UNSPECIFIED": 0,
		"CREATED_TIME":        1,
		"DEADLINE":            2,
	}
)

Enum value maps for SearchPostRequest_Filters_SortBy.

View Source
var File_api_post_proto protoreflect.FileDescriptor
View Source
var PostService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "IdeYarAPI.PostService",
	HandlerType: (*PostServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetPost",
			Handler:    _PostService_GetPost_Handler,
		},
		{
			MethodName: "SearchPost",
			Handler:    _PostService_SearchPost_Handler,
		},
		{
			MethodName: "LandingPosts",
			Handler:    _PostService_LandingPosts_Handler,
		},
		{
			MethodName: "FundPost",
			Handler:    _PostService_FundPost_Handler,
		},
		{
			MethodName: "UserFunds",
			Handler:    _PostService_UserFunds_Handler,
		},
		{
			MethodName: "UserProjects",
			Handler:    _PostService_UserProjects_Handler,
		},
		{
			MethodName: "UserIDProjects",
			Handler:    _PostService_UserIDProjects_Handler,
		},
		{
			MethodName: "BookmarkPost",
			Handler:    _PostService_BookmarkPost_Handler,
		},
		{
			MethodName: "UserBookmarks",
			Handler:    _PostService_UserBookmarks_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/post.proto",
}

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

Functions

func RegisterPostServiceHandler

func RegisterPostServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterPostServiceHandler registers the http handlers for service PostService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterPostServiceHandlerClient

func RegisterPostServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PostServiceClient) error

RegisterPostServiceHandlerClient registers the http handlers for service PostService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PostServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PostServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PostServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterPostServiceHandlerFromEndpoint

func RegisterPostServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterPostServiceHandlerFromEndpoint is same as RegisterPostServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterPostServiceHandlerServer

func RegisterPostServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PostServiceServer) error

RegisterPostServiceHandlerServer registers the http handlers for service PostService to "mux". UnaryRPC :call PostServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterPostServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterPostServiceServer

func RegisterPostServiceServer(s grpc.ServiceRegistrar, srv PostServiceServer)

Types

type BookmarkPostRequest

type BookmarkPostRequest struct {
	PostId int64 `protobuf:"varint,2,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BookmarkPostRequest) Descriptor deprecated

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

Deprecated: Use BookmarkPostRequest.ProtoReflect.Descriptor instead.

func (*BookmarkPostRequest) GetPostId

func (x *BookmarkPostRequest) GetPostId() int64

func (*BookmarkPostRequest) ProtoMessage

func (*BookmarkPostRequest) ProtoMessage()

func (*BookmarkPostRequest) ProtoReflect

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

func (*BookmarkPostRequest) Reset

func (x *BookmarkPostRequest) Reset()

func (*BookmarkPostRequest) String

func (x *BookmarkPostRequest) String() string

type FundOverview

type FundOverview struct {
	Post   *Post  `protobuf:"bytes,1,opt,name=post,proto3" json:"post,omitempty"`
	Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*FundOverview) Descriptor deprecated

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

Deprecated: Use FundOverview.ProtoReflect.Descriptor instead.

func (*FundOverview) GetAmount

func (x *FundOverview) GetAmount() string

func (*FundOverview) GetPost

func (x *FundOverview) GetPost() *Post

func (*FundOverview) ProtoMessage

func (*FundOverview) ProtoMessage()

func (*FundOverview) ProtoReflect

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

func (*FundOverview) Reset

func (x *FundOverview) Reset()

func (*FundOverview) String

func (x *FundOverview) String() string

type FundPostRequest

type FundPostRequest struct {
	PostId int64  `protobuf:"varint,1,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"`
	Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*FundPostRequest) Descriptor deprecated

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

Deprecated: Use FundPostRequest.ProtoReflect.Descriptor instead.

func (*FundPostRequest) GetAmount

func (x *FundPostRequest) GetAmount() string

func (*FundPostRequest) GetPostId

func (x *FundPostRequest) GetPostId() int64

func (*FundPostRequest) ProtoMessage

func (*FundPostRequest) ProtoMessage()

func (*FundPostRequest) ProtoReflect

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

func (*FundPostRequest) Reset

func (x *FundPostRequest) Reset()

func (*FundPostRequest) String

func (x *FundPostRequest) String() string

type GetPostRequest

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

func (*GetPostRequest) Descriptor deprecated

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

Deprecated: Use GetPostRequest.ProtoReflect.Descriptor instead.

func (*GetPostRequest) GetId

func (x *GetPostRequest) GetId() int64

func (*GetPostRequest) ProtoMessage

func (*GetPostRequest) ProtoMessage()

func (*GetPostRequest) ProtoReflect

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

func (*GetPostRequest) Reset

func (x *GetPostRequest) Reset()

func (*GetPostRequest) String

func (x *GetPostRequest) String() string

type GetPostResponse

type GetPostResponse struct {
	Post        *Post         `protobuf:"bytes,1,opt,name=post,proto3" json:"post,omitempty"`
	PostDetails []*PostDetail `protobuf:"bytes,2,rep,name=post_details,json=postDetails,proto3" json:"post_details,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPostResponse) Descriptor deprecated

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

Deprecated: Use GetPostResponse.ProtoReflect.Descriptor instead.

func (*GetPostResponse) GetPost

func (x *GetPostResponse) GetPost() *Post

func (*GetPostResponse) GetPostDetails

func (x *GetPostResponse) GetPostDetails() []*PostDetail

func (*GetPostResponse) ProtoMessage

func (*GetPostResponse) ProtoMessage()

func (*GetPostResponse) ProtoReflect

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

func (*GetPostResponse) Reset

func (x *GetPostResponse) Reset()

func (*GetPostResponse) String

func (x *GetPostResponse) String() string

type LandingPost

type LandingPost struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Title       string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Image       string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"`
	FundRaised  string `protobuf:"bytes,4,opt,name=fund_raised,json=fundRaised,proto3" json:"fund_raised,omitempty"`
	MinimumFund string `protobuf:"bytes,5,opt,name=minimum_fund,json=minimumFund,proto3" json:"minimum_fund,omitempty"`
	// contains filtered or unexported fields
}

func (*LandingPost) Descriptor deprecated

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

Deprecated: Use LandingPost.ProtoReflect.Descriptor instead.

func (*LandingPost) GetFundRaised

func (x *LandingPost) GetFundRaised() string

func (*LandingPost) GetId

func (x *LandingPost) GetId() int64

func (*LandingPost) GetImage

func (x *LandingPost) GetImage() string

func (*LandingPost) GetMinimumFund

func (x *LandingPost) GetMinimumFund() string

func (*LandingPost) GetTitle

func (x *LandingPost) GetTitle() string

func (*LandingPost) ProtoMessage

func (*LandingPost) ProtoMessage()

func (*LandingPost) ProtoReflect

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

func (*LandingPost) Reset

func (x *LandingPost) Reset()

func (*LandingPost) String

func (x *LandingPost) String() string

type LandingPostsResponse

type LandingPostsResponse struct {
	Posts []*Post `protobuf:"bytes,1,rep,name=posts,proto3" json:"posts,omitempty"`
	// contains filtered or unexported fields
}

func (*LandingPostsResponse) Descriptor deprecated

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

Deprecated: Use LandingPostsResponse.ProtoReflect.Descriptor instead.

func (*LandingPostsResponse) GetPosts

func (x *LandingPostsResponse) GetPosts() []*Post

func (*LandingPostsResponse) ProtoMessage

func (*LandingPostsResponse) ProtoMessage()

func (*LandingPostsResponse) ProtoReflect

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

func (*LandingPostsResponse) Reset

func (x *LandingPostsResponse) Reset()

func (*LandingPostsResponse) String

func (x *LandingPostsResponse) String() string

type Post

type Post 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"`
	Username        string                 `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	ProfileImageUrl string                 `protobuf:"bytes,4,opt,name=profile_image_url,json=profileImageUrl,proto3" json:"profile_image_url,omitempty"`
	Title           string                 `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
	Description     string                 `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	MinimumFund     string                 `protobuf:"bytes,7,opt,name=minimum_fund,json=minimumFund,proto3" json:"minimum_fund,omitempty"`
	FundRaised      string                 `protobuf:"bytes,8,opt,name=fund_raised,json=fundRaised,proto3" json:"fund_raised,omitempty"`
	DeadlineDate    string                 `protobuf:"bytes,9,opt,name=deadline_date,json=deadlineDate,proto3" json:"deadline_date,omitempty"`
	Image           string                 `protobuf:"bytes,10,opt,name=image,proto3" json:"image,omitempty"`
	CreatedAt       *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	IsBookmarked    bool                   `protobuf:"varint,12,opt,name=is_bookmarked,json=isBookmarked,proto3" json:"is_bookmarked,omitempty"`
	// contains filtered or unexported fields
}

func (*Post) Descriptor deprecated

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

Deprecated: Use Post.ProtoReflect.Descriptor instead.

func (*Post) GetCreatedAt

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

func (*Post) GetDeadlineDate

func (x *Post) GetDeadlineDate() string

func (*Post) GetDescription

func (x *Post) GetDescription() string

func (*Post) GetFundRaised

func (x *Post) GetFundRaised() string

func (*Post) GetId

func (x *Post) GetId() int64

func (*Post) GetImage

func (x *Post) GetImage() string

func (*Post) GetIsBookmarked

func (x *Post) GetIsBookmarked() bool

func (*Post) GetMinimumFund

func (x *Post) GetMinimumFund() string

func (*Post) GetProfileImageUrl

func (x *Post) GetProfileImageUrl() string

func (*Post) GetTitle

func (x *Post) GetTitle() string

func (*Post) GetUserId

func (x *Post) GetUserId() int64

func (*Post) GetUsername

func (x *Post) GetUsername() string

func (*Post) ProtoMessage

func (*Post) ProtoMessage()

func (*Post) ProtoReflect

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

func (*Post) Reset

func (x *Post) Reset()

func (*Post) String

func (x *Post) String() string

type PostDetail

type PostDetail struct {
	Title       string  `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string  `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Order       int32   `protobuf:"varint,3,opt,name=order,proto3" json:"order,omitempty"`
	Image       *string `protobuf:"bytes,4,opt,name=image,proto3,oneof" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*PostDetail) Descriptor deprecated

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

Deprecated: Use PostDetail.ProtoReflect.Descriptor instead.

func (*PostDetail) GetDescription

func (x *PostDetail) GetDescription() string

func (*PostDetail) GetImage

func (x *PostDetail) GetImage() string

func (*PostDetail) GetOrder

func (x *PostDetail) GetOrder() int32

func (*PostDetail) GetTitle

func (x *PostDetail) GetTitle() string

func (*PostDetail) ProtoMessage

func (*PostDetail) ProtoMessage()

func (*PostDetail) ProtoReflect

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

func (*PostDetail) Reset

func (x *PostDetail) Reset()

func (*PostDetail) String

func (x *PostDetail) String() string

type PostServiceClient

type PostServiceClient interface {
	GetPost(ctx context.Context, in *GetPostRequest, opts ...grpc.CallOption) (*GetPostResponse, error)
	SearchPost(ctx context.Context, in *SearchPostRequest, opts ...grpc.CallOption) (*SearchPostResponse, error)
	LandingPosts(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*LandingPostsResponse, error)
	FundPost(ctx context.Context, in *FundPostRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	UserFunds(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserFundsResponse, error)
	UserProjects(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserProjectsResponse, error)
	UserIDProjects(ctx context.Context, in *UserIDProjectsRequest, opts ...grpc.CallOption) (*UserProjectsResponse, error)
	BookmarkPost(ctx context.Context, in *BookmarkPostRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	UserBookmarks(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserBookmarksResponse, error)
}

PostServiceClient is the client API for PostService service.

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

type PostServiceServer

PostServiceServer is the server API for PostService service. All implementations must embed UnimplementedPostServiceServer for forward compatibility.

type SearchPostRequest

type SearchPostRequest struct {
	Title  string                     `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Page   int32                      `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	Filter *SearchPostRequest_Filters `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchPostRequest) Descriptor deprecated

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

Deprecated: Use SearchPostRequest.ProtoReflect.Descriptor instead.

func (*SearchPostRequest) GetFilter

func (*SearchPostRequest) GetPage

func (x *SearchPostRequest) GetPage() int32

func (*SearchPostRequest) GetTitle

func (x *SearchPostRequest) GetTitle() string

func (*SearchPostRequest) ProtoMessage

func (*SearchPostRequest) ProtoMessage()

func (*SearchPostRequest) ProtoReflect

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

func (*SearchPostRequest) Reset

func (x *SearchPostRequest) Reset()

func (*SearchPostRequest) String

func (x *SearchPostRequest) String() string

type SearchPostRequest_Filters

type SearchPostRequest_Filters struct {
	Categories []string                         `protobuf:"bytes,1,rep,name=categories,proto3" json:"categories,omitempty"`
	Ascending  bool                             `protobuf:"varint,2,opt,name=ascending,proto3" json:"ascending,omitempty"`
	SortBy     SearchPostRequest_Filters_SortBy `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SearchPostRequest_Filters) Descriptor deprecated

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

Deprecated: Use SearchPostRequest_Filters.ProtoReflect.Descriptor instead.

func (*SearchPostRequest_Filters) GetAscending

func (x *SearchPostRequest_Filters) GetAscending() bool

func (*SearchPostRequest_Filters) GetCategories

func (x *SearchPostRequest_Filters) GetCategories() []string

func (*SearchPostRequest_Filters) GetSortBy

func (*SearchPostRequest_Filters) ProtoMessage

func (*SearchPostRequest_Filters) ProtoMessage()

func (*SearchPostRequest_Filters) ProtoReflect

func (*SearchPostRequest_Filters) Reset

func (x *SearchPostRequest_Filters) Reset()

func (*SearchPostRequest_Filters) String

func (x *SearchPostRequest_Filters) String() string

type SearchPostRequest_Filters_SortBy

type SearchPostRequest_Filters_SortBy int32
const (
	SearchPostRequest_Filters_SORT_BY_UNSPECIFIED SearchPostRequest_Filters_SortBy = 0
	SearchPostRequest_Filters_CREATED_TIME        SearchPostRequest_Filters_SortBy = 1
	SearchPostRequest_Filters_DEADLINE            SearchPostRequest_Filters_SortBy = 2
)

func (SearchPostRequest_Filters_SortBy) Descriptor

func (SearchPostRequest_Filters_SortBy) Enum

func (SearchPostRequest_Filters_SortBy) EnumDescriptor deprecated

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

Deprecated: Use SearchPostRequest_Filters_SortBy.Descriptor instead.

func (SearchPostRequest_Filters_SortBy) Number

func (SearchPostRequest_Filters_SortBy) String

func (SearchPostRequest_Filters_SortBy) Type

type SearchPostResponse

type SearchPostResponse struct {
	Posts []*Post `protobuf:"bytes,1,rep,name=posts,proto3" json:"posts,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchPostResponse) Descriptor deprecated

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

Deprecated: Use SearchPostResponse.ProtoReflect.Descriptor instead.

func (*SearchPostResponse) GetPosts

func (x *SearchPostResponse) GetPosts() []*Post

func (*SearchPostResponse) ProtoMessage

func (*SearchPostResponse) ProtoMessage()

func (*SearchPostResponse) ProtoReflect

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

func (*SearchPostResponse) Reset

func (x *SearchPostResponse) Reset()

func (*SearchPostResponse) String

func (x *SearchPostResponse) String() string

type UnimplementedPostServiceServer

type UnimplementedPostServiceServer struct{}

UnimplementedPostServiceServer must be embedded to have forward compatible implementations.

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

func (UnimplementedPostServiceServer) BookmarkPost

func (UnimplementedPostServiceServer) FundPost

func (UnimplementedPostServiceServer) GetPost

func (UnimplementedPostServiceServer) LandingPosts

func (UnimplementedPostServiceServer) SearchPost

func (UnimplementedPostServiceServer) UserBookmarks

func (UnimplementedPostServiceServer) UserFunds

func (UnimplementedPostServiceServer) UserIDProjects

func (UnimplementedPostServiceServer) UserProjects

type UnsafePostServiceServer

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

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

type UserBookmarksResponse

type UserBookmarksResponse struct {
	Posts []*Post `protobuf:"bytes,1,rep,name=posts,proto3" json:"posts,omitempty"`
	// contains filtered or unexported fields
}

func (*UserBookmarksResponse) Descriptor deprecated

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

Deprecated: Use UserBookmarksResponse.ProtoReflect.Descriptor instead.

func (*UserBookmarksResponse) GetPosts

func (x *UserBookmarksResponse) GetPosts() []*Post

func (*UserBookmarksResponse) ProtoMessage

func (*UserBookmarksResponse) ProtoMessage()

func (*UserBookmarksResponse) ProtoReflect

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

func (*UserBookmarksResponse) Reset

func (x *UserBookmarksResponse) Reset()

func (*UserBookmarksResponse) String

func (x *UserBookmarksResponse) String() string

type UserFundsResponse

type UserFundsResponse struct {
	FundOverviews []*FundOverview `protobuf:"bytes,1,rep,name=fund_overviews,json=fundOverviews,proto3" json:"fund_overviews,omitempty"`
	// contains filtered or unexported fields
}

func (*UserFundsResponse) Descriptor deprecated

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

Deprecated: Use UserFundsResponse.ProtoReflect.Descriptor instead.

func (*UserFundsResponse) GetFundOverviews

func (x *UserFundsResponse) GetFundOverviews() []*FundOverview

func (*UserFundsResponse) ProtoMessage

func (*UserFundsResponse) ProtoMessage()

func (*UserFundsResponse) ProtoReflect

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

func (*UserFundsResponse) Reset

func (x *UserFundsResponse) Reset()

func (*UserFundsResponse) String

func (x *UserFundsResponse) String() string

type UserIDProjectsRequest

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

func (*UserIDProjectsRequest) Descriptor deprecated

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

Deprecated: Use UserIDProjectsRequest.ProtoReflect.Descriptor instead.

func (*UserIDProjectsRequest) GetId

func (x *UserIDProjectsRequest) GetId() int64

func (*UserIDProjectsRequest) ProtoMessage

func (*UserIDProjectsRequest) ProtoMessage()

func (*UserIDProjectsRequest) ProtoReflect

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

func (*UserIDProjectsRequest) Reset

func (x *UserIDProjectsRequest) Reset()

func (*UserIDProjectsRequest) String

func (x *UserIDProjectsRequest) String() string

type UserProjectsResponse

type UserProjectsResponse struct {
	Posts []*Post `protobuf:"bytes,1,rep,name=posts,proto3" json:"posts,omitempty"`
	// contains filtered or unexported fields
}

func (*UserProjectsResponse) Descriptor deprecated

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

Deprecated: Use UserProjectsResponse.ProtoReflect.Descriptor instead.

func (*UserProjectsResponse) GetPosts

func (x *UserProjectsResponse) GetPosts() []*Post

func (*UserProjectsResponse) ProtoMessage

func (*UserProjectsResponse) ProtoMessage()

func (*UserProjectsResponse) ProtoReflect

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

func (*UserProjectsResponse) Reset

func (x *UserProjectsResponse) Reset()

func (*UserProjectsResponse) String

func (x *UserProjectsResponse) String() string

Jump to

Keyboard shortcuts

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