Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func ValidateFollowers(who string, whom []string) error
- type Category
- type FixedGasParams
- func (*FixedGasParams) Descriptor() ([]byte, []int)
- func (m *FixedGasParams) GetCreatePost() uint64
- func (m *FixedGasParams) GetDeletePost() uint64
- func (m *FixedGasParams) GetFollow() uint64
- func (m *FixedGasParams) GetSetLike() uint64
- func (m *FixedGasParams) GetUnfollow() uint64
- func (m *FixedGasParams) Marshal() (dAtA []byte, err error)
- func (m *FixedGasParams) MarshalTo(dAtA []byte) (int, error)
- func (m *FixedGasParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FixedGasParams) ProtoMessage()
- func (m *FixedGasParams) Reset()
- func (m *FixedGasParams) Size() (n int)
- func (m *FixedGasParams) String() string
- func (m *FixedGasParams) Unmarshal(dAtA []byte) error
- func (m *FixedGasParams) XXX_DiscardUnknown()
- func (m *FixedGasParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FixedGasParams) XXX_Merge(src proto.Message)
- func (m *FixedGasParams) XXX_Size() int
- func (m *FixedGasParams) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetFollowing() map[string]GenesisState_AddressList
- func (m *GenesisState) GetLikes() []Like
- func (m *GenesisState) GetParams() *Params
- func (m *GenesisState) GetPosts() []Post
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type GenesisState_AddressList
- func (*GenesisState_AddressList) Descriptor() ([]byte, []int)
- func (m *GenesisState_AddressList) GetAddress() []string
- func (m *GenesisState_AddressList) Marshal() (dAtA []byte, err error)
- func (m *GenesisState_AddressList) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState_AddressList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState_AddressList) ProtoMessage()
- func (m *GenesisState_AddressList) Reset()
- func (m *GenesisState_AddressList) Size() (n int)
- func (m *GenesisState_AddressList) String() string
- func (m *GenesisState_AddressList) Unmarshal(dAtA []byte) error
- func (m *GenesisState_AddressList) XXX_DiscardUnknown()
- func (m *GenesisState_AddressList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState_AddressList) XXX_Merge(src proto.Message)
- func (m *GenesisState_AddressList) XXX_Size() int
- func (m *GenesisState_AddressList) XXX_Unmarshal(b []byte) error
- type GetPostRequest
- func (*GetPostRequest) Descriptor() ([]byte, []int)
- func (m *GetPostRequest) Marshal() (dAtA []byte, err error)
- func (m *GetPostRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetPostRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetPostRequest) ProtoMessage()
- func (m *GetPostRequest) Reset()
- func (m *GetPostRequest) Size() (n int)
- func (m *GetPostRequest) String() string
- func (m *GetPostRequest) Unmarshal(dAtA []byte) error
- func (m *GetPostRequest) XXX_DiscardUnknown()
- func (m *GetPostRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPostRequest) XXX_Merge(src proto.Message)
- func (m *GetPostRequest) XXX_Size() int
- func (m *GetPostRequest) XXX_Unmarshal(b []byte) error
- type GetPostResponse
- func (*GetPostResponse) Descriptor() ([]byte, []int)
- func (m *GetPostResponse) GetPost() Post
- func (m *GetPostResponse) Marshal() (dAtA []byte, err error)
- func (m *GetPostResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetPostResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetPostResponse) ProtoMessage()
- func (m *GetPostResponse) Reset()
- func (m *GetPostResponse) Size() (n int)
- func (m *GetPostResponse) String() string
- func (m *GetPostResponse) Unmarshal(dAtA []byte) error
- func (m *GetPostResponse) XXX_DiscardUnknown()
- func (m *GetPostResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPostResponse) XXX_Merge(src proto.Message)
- func (m *GetPostResponse) XXX_Size() int
- func (m *GetPostResponse) XXX_Unmarshal(b []byte) error
- type Like
- func (*Like) Descriptor() ([]byte, []int)
- func (m *Like) GetOwner() string
- func (m *Like) GetPostOwner() string
- func (m *Like) GetPostUuid() string
- func (m *Like) GetWeight() LikeWeight
- func (m *Like) Marshal() (dAtA []byte, err error)
- func (m *Like) MarshalTo(dAtA []byte) (int, error)
- func (m *Like) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Like) ProtoMessage()
- func (m *Like) Reset()
- func (m *Like) Size() (n int)
- func (m *Like) String() string
- func (m *Like) Unmarshal(dAtA []byte) error
- func (l Like) Validate() error
- func (m *Like) XXX_DiscardUnknown()
- func (m *Like) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Like) XXX_Merge(src proto.Message)
- func (m *Like) XXX_Size() int
- func (m *Like) XXX_Unmarshal(b []byte) error
- type LikeWeight
- type ListFollowedRequest
- func (*ListFollowedRequest) Descriptor() ([]byte, []int)
- func (m *ListFollowedRequest) Marshal() (dAtA []byte, err error)
- func (m *ListFollowedRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ListFollowedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListFollowedRequest) ProtoMessage()
- func (m *ListFollowedRequest) Reset()
- func (m *ListFollowedRequest) Size() (n int)
- func (m *ListFollowedRequest) String() string
- func (m *ListFollowedRequest) Unmarshal(dAtA []byte) error
- func (m *ListFollowedRequest) XXX_DiscardUnknown()
- func (m *ListFollowedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListFollowedRequest) XXX_Merge(src proto.Message)
- func (m *ListFollowedRequest) XXX_Size() int
- func (m *ListFollowedRequest) XXX_Unmarshal(b []byte) error
- type ListFollowedResponse
- func (*ListFollowedResponse) Descriptor() ([]byte, []int)
- func (m *ListFollowedResponse) GetFollowed() []string
- func (m *ListFollowedResponse) GetPagination() query.PageResponse
- func (m *ListFollowedResponse) Marshal() (dAtA []byte, err error)
- func (m *ListFollowedResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ListFollowedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListFollowedResponse) ProtoMessage()
- func (m *ListFollowedResponse) Reset()
- func (m *ListFollowedResponse) Size() (n int)
- func (m *ListFollowedResponse) String() string
- func (m *ListFollowedResponse) Unmarshal(dAtA []byte) error
- func (m *ListFollowedResponse) XXX_DiscardUnknown()
- func (m *ListFollowedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListFollowedResponse) XXX_Merge(src proto.Message)
- func (m *ListFollowedResponse) XXX_Size() int
- func (m *ListFollowedResponse) XXX_Unmarshal(b []byte) error
- type ListUserPostsRequest
- func (*ListUserPostsRequest) Descriptor() ([]byte, []int)
- func (m *ListUserPostsRequest) Marshal() (dAtA []byte, err error)
- func (m *ListUserPostsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ListUserPostsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListUserPostsRequest) ProtoMessage()
- func (m *ListUserPostsRequest) Reset()
- func (m *ListUserPostsRequest) Size() (n int)
- func (m *ListUserPostsRequest) String() string
- func (m *ListUserPostsRequest) Unmarshal(dAtA []byte) error
- func (m *ListUserPostsRequest) XXX_DiscardUnknown()
- func (m *ListUserPostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListUserPostsRequest) XXX_Merge(src proto.Message)
- func (m *ListUserPostsRequest) XXX_Size() int
- func (m *ListUserPostsRequest) XXX_Unmarshal(b []byte) error
- type ListUserPostsResponse
- func (*ListUserPostsResponse) Descriptor() ([]byte, []int)
- func (m *ListUserPostsResponse) GetPagination() query.PageResponse
- func (m *ListUserPostsResponse) GetPosts() []Post
- func (m *ListUserPostsResponse) Marshal() (dAtA []byte, err error)
- func (m *ListUserPostsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ListUserPostsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListUserPostsResponse) ProtoMessage()
- func (m *ListUserPostsResponse) Reset()
- func (m *ListUserPostsResponse) Size() (n int)
- func (m *ListUserPostsResponse) String() string
- func (m *ListUserPostsResponse) Unmarshal(dAtA []byte) error
- func (m *ListUserPostsResponse) XXX_DiscardUnknown()
- func (m *ListUserPostsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListUserPostsResponse) XXX_Merge(src proto.Message)
- func (m *ListUserPostsResponse) XXX_Size() int
- func (m *ListUserPostsResponse) XXX_Unmarshal(b []byte) error
- type ModeratorsRequest
- func (*ModeratorsRequest) Descriptor() ([]byte, []int)
- func (m *ModeratorsRequest) Marshal() (dAtA []byte, err error)
- func (m *ModeratorsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ModeratorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ModeratorsRequest) ProtoMessage()
- func (m *ModeratorsRequest) Reset()
- func (m *ModeratorsRequest) Size() (n int)
- func (m *ModeratorsRequest) String() string
- func (m *ModeratorsRequest) Unmarshal(dAtA []byte) error
- func (m *ModeratorsRequest) XXX_DiscardUnknown()
- func (m *ModeratorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModeratorsRequest) XXX_Merge(src proto.Message)
- func (m *ModeratorsRequest) XXX_Size() int
- func (m *ModeratorsRequest) XXX_Unmarshal(b []byte) error
- type ModeratorsResponse
- func (*ModeratorsResponse) Descriptor() ([]byte, []int)
- func (m *ModeratorsResponse) GetModerators() []string
- func (m *ModeratorsResponse) Marshal() (dAtA []byte, err error)
- func (m *ModeratorsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ModeratorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ModeratorsResponse) ProtoMessage()
- func (m *ModeratorsResponse) Reset()
- func (m *ModeratorsResponse) Size() (n int)
- func (m *ModeratorsResponse) String() string
- func (m *ModeratorsResponse) Unmarshal(dAtA []byte) error
- func (m *ModeratorsResponse) XXX_DiscardUnknown()
- func (m *ModeratorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModeratorsResponse) XXX_Merge(src proto.Message)
- func (m *ModeratorsResponse) XXX_Size() int
- func (m *ModeratorsResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreatePost
- func (*MsgCreatePost) Descriptor() ([]byte, []int)
- func (m MsgCreatePost) GetSignBytes() []byte
- func (m MsgCreatePost) GetSigners() []sdk.AccAddress
- func (m *MsgCreatePost) Marshal() (dAtA []byte, err error)
- func (m *MsgCreatePost) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreatePost) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreatePost) ProtoMessage()
- func (m *MsgCreatePost) Reset()
- func (m MsgCreatePost) Route() string
- func (m *MsgCreatePost) Size() (n int)
- func (m *MsgCreatePost) String() string
- func (m MsgCreatePost) Type() string
- func (m *MsgCreatePost) Unmarshal(dAtA []byte) error
- func (m MsgCreatePost) ValidateBasic() error
- func (m *MsgCreatePost) XXX_DiscardUnknown()
- func (m *MsgCreatePost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreatePost) XXX_Merge(src proto.Message)
- func (m *MsgCreatePost) XXX_Size() int
- func (m *MsgCreatePost) XXX_Unmarshal(b []byte) error
- type MsgCreatePostResponse
- func (*MsgCreatePostResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreatePostResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreatePostResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreatePostResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreatePostResponse) ProtoMessage()
- func (m *MsgCreatePostResponse) Reset()
- func (m *MsgCreatePostResponse) Size() (n int)
- func (m *MsgCreatePostResponse) String() string
- func (m *MsgCreatePostResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreatePostResponse) XXX_DiscardUnknown()
- func (m *MsgCreatePostResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreatePostResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreatePostResponse) XXX_Size() int
- func (m *MsgCreatePostResponse) XXX_Unmarshal(b []byte) error
- type MsgDeletePost
- func (*MsgDeletePost) Descriptor() ([]byte, []int)
- func (m MsgDeletePost) GetSignBytes() []byte
- func (m MsgDeletePost) GetSigners() []sdk.AccAddress
- func (m *MsgDeletePost) Marshal() (dAtA []byte, err error)
- func (m *MsgDeletePost) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeletePost) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeletePost) ProtoMessage()
- func (m *MsgDeletePost) Reset()
- func (m MsgDeletePost) Route() string
- func (m *MsgDeletePost) Size() (n int)
- func (m *MsgDeletePost) String() string
- func (m MsgDeletePost) Type() string
- func (m *MsgDeletePost) Unmarshal(dAtA []byte) error
- func (m MsgDeletePost) ValidateBasic() error
- func (m *MsgDeletePost) XXX_DiscardUnknown()
- func (m *MsgDeletePost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeletePost) XXX_Merge(src proto.Message)
- func (m *MsgDeletePost) XXX_Size() int
- func (m *MsgDeletePost) XXX_Unmarshal(b []byte) error
- type MsgDeletePostResponse
- func (*MsgDeletePostResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeletePostResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeletePostResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeletePostResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeletePostResponse) ProtoMessage()
- func (m *MsgDeletePostResponse) Reset()
- func (m *MsgDeletePostResponse) Size() (n int)
- func (m *MsgDeletePostResponse) String() string
- func (m *MsgDeletePostResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeletePostResponse) XXX_DiscardUnknown()
- func (m *MsgDeletePostResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeletePostResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeletePostResponse) XXX_Size() int
- func (m *MsgDeletePostResponse) XXX_Unmarshal(b []byte) error
- type MsgFollow
- func (*MsgFollow) Descriptor() ([]byte, []int)
- func (m MsgFollow) GetSignBytes() []byte
- func (m MsgFollow) GetSigners() []sdk.AccAddress
- func (m *MsgFollow) Marshal() (dAtA []byte, err error)
- func (m *MsgFollow) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgFollow) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgFollow) ProtoMessage()
- func (m *MsgFollow) Reset()
- func (m MsgFollow) Route() string
- func (m *MsgFollow) Size() (n int)
- func (m *MsgFollow) String() string
- func (m MsgFollow) Type() string
- func (m *MsgFollow) Unmarshal(dAtA []byte) error
- func (m MsgFollow) ValidateBasic() error
- func (m *MsgFollow) XXX_DiscardUnknown()
- func (m *MsgFollow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgFollow) XXX_Merge(src proto.Message)
- func (m *MsgFollow) XXX_Size() int
- func (m *MsgFollow) XXX_Unmarshal(b []byte) error
- type MsgFollowResponse
- func (*MsgFollowResponse) Descriptor() ([]byte, []int)
- func (m *MsgFollowResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgFollowResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgFollowResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgFollowResponse) ProtoMessage()
- func (m *MsgFollowResponse) Reset()
- func (m *MsgFollowResponse) Size() (n int)
- func (m *MsgFollowResponse) String() string
- func (m *MsgFollowResponse) Unmarshal(dAtA []byte) error
- func (m *MsgFollowResponse) XXX_DiscardUnknown()
- func (m *MsgFollowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgFollowResponse) XXX_Merge(src proto.Message)
- func (m *MsgFollowResponse) XXX_Size() int
- func (m *MsgFollowResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSetLike
- func (*MsgSetLike) Descriptor() ([]byte, []int)
- func (m MsgSetLike) GetSignBytes() []byte
- func (m MsgSetLike) GetSigners() []sdk.AccAddress
- func (m *MsgSetLike) Marshal() (dAtA []byte, err error)
- func (m *MsgSetLike) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetLike) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetLike) ProtoMessage()
- func (m *MsgSetLike) Reset()
- func (m MsgSetLike) Route() string
- func (m *MsgSetLike) Size() (n int)
- func (m *MsgSetLike) String() string
- func (m MsgSetLike) Type() string
- func (m *MsgSetLike) Unmarshal(dAtA []byte) error
- func (m MsgSetLike) ValidateBasic() error
- func (m *MsgSetLike) XXX_DiscardUnknown()
- func (m *MsgSetLike) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetLike) XXX_Merge(src proto.Message)
- func (m *MsgSetLike) XXX_Size() int
- func (m *MsgSetLike) XXX_Unmarshal(b []byte) error
- type MsgSetLikeResponse
- func (*MsgSetLikeResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetLikeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetLikeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetLikeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetLikeResponse) ProtoMessage()
- func (m *MsgSetLikeResponse) Reset()
- func (m *MsgSetLikeResponse) Size() (n int)
- func (m *MsgSetLikeResponse) String() string
- func (m *MsgSetLikeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetLikeResponse) XXX_DiscardUnknown()
- func (m *MsgSetLikeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetLikeResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetLikeResponse) XXX_Size() int
- func (m *MsgSetLikeResponse) XXX_Unmarshal(b []byte) error
- type MsgUnfollow
- func (*MsgUnfollow) Descriptor() ([]byte, []int)
- func (m MsgUnfollow) GetSignBytes() []byte
- func (m MsgUnfollow) GetSigners() []sdk.AccAddress
- func (m *MsgUnfollow) Marshal() (dAtA []byte, err error)
- func (m *MsgUnfollow) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnfollow) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnfollow) ProtoMessage()
- func (m *MsgUnfollow) Reset()
- func (m MsgUnfollow) Route() string
- func (m *MsgUnfollow) Size() (n int)
- func (m *MsgUnfollow) String() string
- func (m MsgUnfollow) Type() string
- func (m *MsgUnfollow) Unmarshal(dAtA []byte) error
- func (m MsgUnfollow) ValidateBasic() error
- func (m *MsgUnfollow) XXX_DiscardUnknown()
- func (m *MsgUnfollow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnfollow) XXX_Merge(src proto.Message)
- func (m *MsgUnfollow) XXX_Size() int
- func (m *MsgUnfollow) XXX_Unmarshal(b []byte) error
- type MsgUnfollowResponse
- func (*MsgUnfollowResponse) Descriptor() ([]byte, []int)
- func (m *MsgUnfollowResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUnfollowResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnfollowResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnfollowResponse) ProtoMessage()
- func (m *MsgUnfollowResponse) Reset()
- func (m *MsgUnfollowResponse) Size() (n int)
- func (m *MsgUnfollowResponse) String() string
- func (m *MsgUnfollowResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUnfollowResponse) XXX_DiscardUnknown()
- func (m *MsgUnfollowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnfollowResponse) XXX_Merge(src proto.Message)
- func (m *MsgUnfollowResponse) XXX_Size() int
- func (m *MsgUnfollowResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetFixedGas() FixedGasParams
- func (m *Params) GetModerators() []string
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type Post
- func (p Post) Address() string
- func (*Post) Descriptor() ([]byte, []int)
- func (m *Post) GetCategory() Category
- func (m *Post) GetOwner() string
- func (m *Post) GetPreviewImage() string
- func (m *Post) GetText() string
- func (m *Post) GetTitle() string
- func (m *Post) GetUuid() string
- func (m *Post) Marshal() (dAtA []byte, err error)
- func (m *Post) MarshalTo(dAtA []byte) (int, error)
- func (m *Post) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Post) ProtoMessage()
- func (m *Post) Reset()
- func (m *Post) Size() (n int)
- func (m *Post) String() string
- func (m *Post) Unmarshal(dAtA []byte) error
- func (p Post) Validate() error
- func (m *Post) XXX_DiscardUnknown()
- func (m *Post) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Post) XXX_Merge(src proto.Message)
- func (m *Post) XXX_Size() int
- func (m *Post) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryServer
- type TokenKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CreatePost(ctx context.Context, req *MsgCreatePost) (*MsgCreatePostResponse, error)
- func (*UnimplementedMsgServer) DeletePost(ctx context.Context, req *MsgDeletePost) (*MsgDeletePostResponse, error)
- func (*UnimplementedMsgServer) Follow(ctx context.Context, req *MsgFollow) (*MsgFollowResponse, error)
- func (*UnimplementedMsgServer) SetLike(ctx context.Context, req *MsgSetLike) (*MsgSetLikeResponse, error)
- func (*UnimplementedMsgServer) Unfollow(ctx context.Context, req *MsgUnfollow) (*MsgUnfollowResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) GetPost(ctx context.Context, req *GetPostRequest) (*GetPostResponse, error)
- func (*UnimplementedQueryServer) ListFollowed(ctx context.Context, req *ListFollowedRequest) (*ListFollowedResponse, error)
- func (*UnimplementedQueryServer) ListUserPosts(ctx context.Context, req *ListUserPostsRequest) (*ListUserPostsResponse, error)
- func (*UnimplementedQueryServer) Moderators(ctx context.Context, req *ModeratorsRequest) (*ModeratorsResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "community" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName )
const (
DefaultParamspace = ModuleName
)
Variables ¶
var ( ErrInvalidLengthCommunity = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCommunity = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCommunity = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( PostPrefix = []byte{0x01} // prefix for keys that store posts LikePrefix = []byte{0x02} // prefix for keys that store likes FollowingPrefix = []byte{0x03} // prefix for keys that store followings )
KVStore keys
var ( KeyModerators = []byte("Moderators") KeyFixedGas = []byte("FixedGas") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var Category_name = map[int32]string{
0: "CATEGORY_UNDEFINED",
1: "CATEGORY_WORLD_NEWS",
2: "CATEGORY_TRAVEL_AND_TOURISM",
3: "CATEGORY_SCIENCE_AND_TECHNOLOGY",
4: "CATEGORY_STRANGE_WORLD",
5: "CATEGORY_ARTS_AND_ENTERTAINMENT",
6: "CATEGORY_WRITERS_AND_WRITING",
7: "CATEGORY_HEALTH_AND_FITNESS",
8: "CATEGORY_CRYPTO_AND_BLOCKCHAIN",
9: "CATEGORY_SPORTS",
}
var Category_value = map[string]int32{
"CATEGORY_UNDEFINED": 0,
"CATEGORY_WORLD_NEWS": 1,
"CATEGORY_TRAVEL_AND_TOURISM": 2,
"CATEGORY_SCIENCE_AND_TECHNOLOGY": 3,
"CATEGORY_STRANGE_WORLD": 4,
"CATEGORY_ARTS_AND_ENTERTAINMENT": 5,
"CATEGORY_WRITERS_AND_WRITING": 6,
"CATEGORY_HEALTH_AND_FITNESS": 7,
"CATEGORY_CRYPTO_AND_BLOCKCHAIN": 8,
"CATEGORY_SPORTS": 9,
}
var (
DefaultModerators = []string(nil)
)
var LikeWeight_name = map[int32]string{
0: "LIKE_WEIGHT_ZERO",
1: "LIKE_WEIGHT_UP",
-1: "LIKE_WEIGHT_DOWN",
}
var LikeWeight_value = map[string]int32{
"LIKE_WEIGHT_ZERO": 0,
"LIKE_WEIGHT_UP": 1,
"LIKE_WEIGHT_DOWN": -1,
}
var ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry())
Functions ¶
func ParamKeyTable ¶ added in v1.0.0
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable for operations module
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶ added in v1.5.0
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶ added in v1.5.0
func RegisterQueryHandler ¶ added in v1.5.0
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶ added in v1.5.0
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶ added in v1.5.0
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶ added in v1.5.0
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer 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 RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶ added in v1.5.0
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func ValidateFollowers ¶ added in v1.5.0
Types ¶
type Category ¶
type Category int32
const ( Category_CATEGORY_UNDEFINED Category = 0 Category_CATEGORY_WORLD_NEWS Category = 1 Category_CATEGORY_TRAVEL_AND_TOURISM Category = 2 Category_CATEGORY_SCIENCE_AND_TECHNOLOGY Category = 3 Category_CATEGORY_STRANGE_WORLD Category = 4 Category_CATEGORY_ARTS_AND_ENTERTAINMENT Category = 5 Category_CATEGORY_WRITERS_AND_WRITING Category = 6 Category_CATEGORY_HEALTH_AND_FITNESS Category = 7 Category_CATEGORY_CRYPTO_AND_BLOCKCHAIN Category = 8 Category_CATEGORY_SPORTS Category = 9 )
func (Category) EnumDescriptor ¶ added in v1.5.0
type FixedGasParams ¶ added in v1.3.0
type FixedGasParams struct { CreatePost uint64 `protobuf:"varint,1,opt,name=create_post,json=createPost,proto3" json:"create_post,omitempty"` DeletePost uint64 `protobuf:"varint,2,opt,name=delete_post,json=deletePost,proto3" json:"delete_post,omitempty"` SetLike uint64 `protobuf:"varint,3,opt,name=set_like,json=setLike,proto3" json:"set_like,omitempty"` Follow uint64 `protobuf:"varint,4,opt,name=follow,proto3" json:"follow,omitempty"` Unfollow uint64 `protobuf:"varint,5,opt,name=unfollow,proto3" json:"unfollow,omitempty"` }
func DefaultFixedGasParams ¶ added in v1.3.0
func DefaultFixedGasParams() FixedGasParams
func NewFixedGasParams ¶ added in v1.5.0
func NewFixedGasParams(createPost, deletePost, setLike, follow, unfollow sdk.Gas) FixedGasParams
func (*FixedGasParams) Descriptor ¶ added in v1.5.0
func (*FixedGasParams) Descriptor() ([]byte, []int)
func (*FixedGasParams) GetCreatePost ¶ added in v1.5.0
func (m *FixedGasParams) GetCreatePost() uint64
func (*FixedGasParams) GetDeletePost ¶ added in v1.5.0
func (m *FixedGasParams) GetDeletePost() uint64
func (*FixedGasParams) GetFollow ¶ added in v1.5.0
func (m *FixedGasParams) GetFollow() uint64
func (*FixedGasParams) GetSetLike ¶ added in v1.5.0
func (m *FixedGasParams) GetSetLike() uint64
func (*FixedGasParams) GetUnfollow ¶ added in v1.5.0
func (m *FixedGasParams) GetUnfollow() uint64
func (*FixedGasParams) Marshal ¶ added in v1.5.0
func (m *FixedGasParams) Marshal() (dAtA []byte, err error)
func (*FixedGasParams) MarshalTo ¶ added in v1.5.0
func (m *FixedGasParams) MarshalTo(dAtA []byte) (int, error)
func (*FixedGasParams) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *FixedGasParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FixedGasParams) ProtoMessage ¶ added in v1.5.0
func (*FixedGasParams) ProtoMessage()
func (*FixedGasParams) Reset ¶ added in v1.5.0
func (m *FixedGasParams) Reset()
func (*FixedGasParams) Size ¶ added in v1.5.0
func (m *FixedGasParams) Size() (n int)
func (*FixedGasParams) String ¶ added in v1.5.0
func (m *FixedGasParams) String() string
func (*FixedGasParams) Unmarshal ¶ added in v1.5.0
func (m *FixedGasParams) Unmarshal(dAtA []byte) error
func (*FixedGasParams) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *FixedGasParams) XXX_DiscardUnknown()
func (*FixedGasParams) XXX_Marshal ¶ added in v1.5.0
func (m *FixedGasParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FixedGasParams) XXX_Merge ¶ added in v1.5.0
func (m *FixedGasParams) XXX_Merge(src proto.Message)
func (*FixedGasParams) XXX_Size ¶ added in v1.5.0
func (m *FixedGasParams) XXX_Size() int
func (*FixedGasParams) XXX_Unmarshal ¶ added in v1.5.0
func (m *FixedGasParams) XXX_Unmarshal(b []byte) error
type GenesisState ¶ added in v1.5.0
type GenesisState struct { // params defines all the paramaters of the module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` Posts []Post `protobuf:"bytes,2,rep,name=posts,proto3" json:"posts"` Likes []Like `protobuf:"bytes,3,rep,name=likes,proto3" json:"likes"` Following map[string]GenesisState_AddressList `` /* 149-byte string literal not displayed */ }
func DefaultGenesis ¶ added in v1.5.0
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state
func GetGenesisStateFromAppState ¶ added in v1.5.0
func GetGenesisStateFromAppState(cdc codec.Codec, appState map[string]json.RawMessage) GenesisState
func (*GenesisState) Descriptor ¶ added in v1.5.0
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetFollowing ¶ added in v1.5.0
func (m *GenesisState) GetFollowing() map[string]GenesisState_AddressList
func (*GenesisState) GetLikes ¶ added in v1.5.0
func (m *GenesisState) GetLikes() []Like
func (*GenesisState) GetParams ¶ added in v1.5.0
func (m *GenesisState) GetParams() *Params
func (*GenesisState) GetPosts ¶ added in v1.5.0
func (m *GenesisState) GetPosts() []Post
func (*GenesisState) Marshal ¶ added in v1.5.0
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalTo ¶ added in v1.5.0
func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
func (*GenesisState) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶ added in v1.5.0
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶ added in v1.5.0
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶ added in v1.5.0
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶ added in v1.5.0
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶ added in v1.5.0
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶ added in v1.5.0
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶ added in v1.5.0
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶ added in v1.5.0
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶ added in v1.5.0
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶ added in v1.5.0
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type GenesisState_AddressList ¶ added in v1.5.0
type GenesisState_AddressList struct {
Address []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"`
}
func (*GenesisState_AddressList) Descriptor ¶ added in v1.5.0
func (*GenesisState_AddressList) Descriptor() ([]byte, []int)
func (*GenesisState_AddressList) GetAddress ¶ added in v1.5.0
func (m *GenesisState_AddressList) GetAddress() []string
func (*GenesisState_AddressList) Marshal ¶ added in v1.5.0
func (m *GenesisState_AddressList) Marshal() (dAtA []byte, err error)
func (*GenesisState_AddressList) MarshalTo ¶ added in v1.5.0
func (m *GenesisState_AddressList) MarshalTo(dAtA []byte) (int, error)
func (*GenesisState_AddressList) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *GenesisState_AddressList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState_AddressList) ProtoMessage ¶ added in v1.5.0
func (*GenesisState_AddressList) ProtoMessage()
func (*GenesisState_AddressList) Reset ¶ added in v1.5.0
func (m *GenesisState_AddressList) Reset()
func (*GenesisState_AddressList) Size ¶ added in v1.5.0
func (m *GenesisState_AddressList) Size() (n int)
func (*GenesisState_AddressList) String ¶ added in v1.5.0
func (m *GenesisState_AddressList) String() string
func (*GenesisState_AddressList) Unmarshal ¶ added in v1.5.0
func (m *GenesisState_AddressList) Unmarshal(dAtA []byte) error
func (*GenesisState_AddressList) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *GenesisState_AddressList) XXX_DiscardUnknown()
func (*GenesisState_AddressList) XXX_Marshal ¶ added in v1.5.0
func (m *GenesisState_AddressList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState_AddressList) XXX_Merge ¶ added in v1.5.0
func (m *GenesisState_AddressList) XXX_Merge(src proto.Message)
func (*GenesisState_AddressList) XXX_Size ¶ added in v1.5.0
func (m *GenesisState_AddressList) XXX_Size() int
func (*GenesisState_AddressList) XXX_Unmarshal ¶ added in v1.5.0
func (m *GenesisState_AddressList) XXX_Unmarshal(b []byte) error
type GetPostRequest ¶ added in v1.5.0
type GetPostRequest struct { PostOwner string `protobuf:"bytes,1,opt,name=post_owner,json=postOwner,proto3" json:"post_owner,omitempty"` PostUuid string `protobuf:"bytes,2,opt,name=post_uuid,json=postUuid,proto3" json:"post_uuid,omitempty"` }
func (*GetPostRequest) Descriptor ¶ added in v1.5.0
func (*GetPostRequest) Descriptor() ([]byte, []int)
func (*GetPostRequest) Marshal ¶ added in v1.5.0
func (m *GetPostRequest) Marshal() (dAtA []byte, err error)
func (*GetPostRequest) MarshalTo ¶ added in v1.5.0
func (m *GetPostRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetPostRequest) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *GetPostRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetPostRequest) ProtoMessage ¶ added in v1.5.0
func (*GetPostRequest) ProtoMessage()
func (*GetPostRequest) Reset ¶ added in v1.5.0
func (m *GetPostRequest) Reset()
func (*GetPostRequest) Size ¶ added in v1.5.0
func (m *GetPostRequest) Size() (n int)
func (*GetPostRequest) String ¶ added in v1.5.0
func (m *GetPostRequest) String() string
func (*GetPostRequest) Unmarshal ¶ added in v1.5.0
func (m *GetPostRequest) Unmarshal(dAtA []byte) error
func (*GetPostRequest) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *GetPostRequest) XXX_DiscardUnknown()
func (*GetPostRequest) XXX_Marshal ¶ added in v1.5.0
func (m *GetPostRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPostRequest) XXX_Merge ¶ added in v1.5.0
func (m *GetPostRequest) XXX_Merge(src proto.Message)
func (*GetPostRequest) XXX_Size ¶ added in v1.5.0
func (m *GetPostRequest) XXX_Size() int
func (*GetPostRequest) XXX_Unmarshal ¶ added in v1.5.0
func (m *GetPostRequest) XXX_Unmarshal(b []byte) error
type GetPostResponse ¶ added in v1.5.0
type GetPostResponse struct {
Post Post `protobuf:"bytes,1,opt,name=post,proto3" json:"post"`
}
func (*GetPostResponse) Descriptor ¶ added in v1.5.0
func (*GetPostResponse) Descriptor() ([]byte, []int)
func (*GetPostResponse) GetPost ¶ added in v1.5.0
func (m *GetPostResponse) GetPost() Post
func (*GetPostResponse) Marshal ¶ added in v1.5.0
func (m *GetPostResponse) Marshal() (dAtA []byte, err error)
func (*GetPostResponse) MarshalTo ¶ added in v1.5.0
func (m *GetPostResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetPostResponse) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *GetPostResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetPostResponse) ProtoMessage ¶ added in v1.5.0
func (*GetPostResponse) ProtoMessage()
func (*GetPostResponse) Reset ¶ added in v1.5.0
func (m *GetPostResponse) Reset()
func (*GetPostResponse) Size ¶ added in v1.5.0
func (m *GetPostResponse) Size() (n int)
func (*GetPostResponse) String ¶ added in v1.5.0
func (m *GetPostResponse) String() string
func (*GetPostResponse) Unmarshal ¶ added in v1.5.0
func (m *GetPostResponse) Unmarshal(dAtA []byte) error
func (*GetPostResponse) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *GetPostResponse) XXX_DiscardUnknown()
func (*GetPostResponse) XXX_Marshal ¶ added in v1.5.0
func (m *GetPostResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPostResponse) XXX_Merge ¶ added in v1.5.0
func (m *GetPostResponse) XXX_Merge(src proto.Message)
func (*GetPostResponse) XXX_Size ¶ added in v1.5.0
func (m *GetPostResponse) XXX_Size() int
func (*GetPostResponse) XXX_Unmarshal ¶ added in v1.5.0
func (m *GetPostResponse) XXX_Unmarshal(b []byte) error
type Like ¶
type Like struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` PostOwner string `protobuf:"bytes,2,opt,name=post_owner,json=postOwner,proto3" json:"post_owner,omitempty"` PostUuid string `protobuf:"bytes,3,opt,name=post_uuid,json=postUuid,proto3" json:"post_uuid,omitempty"` Weight LikeWeight `protobuf:"varint,4,opt,name=weight,proto3,enum=community.LikeWeight" json:"weight,omitempty"` }
func (*Like) Descriptor ¶ added in v1.5.0
func (*Like) GetPostOwner ¶ added in v1.5.0
func (*Like) GetPostUuid ¶ added in v1.5.0
func (*Like) GetWeight ¶ added in v1.5.0
func (m *Like) GetWeight() LikeWeight
func (*Like) MarshalToSizedBuffer ¶ added in v1.5.0
func (*Like) ProtoMessage ¶ added in v1.5.0
func (*Like) ProtoMessage()
func (*Like) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *Like) XXX_DiscardUnknown()
func (*Like) XXX_Marshal ¶ added in v1.5.0
func (*Like) XXX_Unmarshal ¶ added in v1.5.0
type LikeWeight ¶
type LikeWeight int32
const ( LikeWeight_LIKE_WEIGHT_ZERO LikeWeight = 0 LikeWeight_LIKE_WEIGHT_UP LikeWeight = 1 LikeWeight_LIKE_WEIGHT_DOWN LikeWeight = -1 )
func (LikeWeight) EnumDescriptor ¶ added in v1.5.0
func (LikeWeight) EnumDescriptor() ([]byte, []int)
func (LikeWeight) String ¶ added in v1.5.0
func (x LikeWeight) String() string
type ListFollowedRequest ¶ added in v1.5.0
type ListFollowedRequest struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Pagination query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination"` }
func (*ListFollowedRequest) Descriptor ¶ added in v1.5.0
func (*ListFollowedRequest) Descriptor() ([]byte, []int)
func (*ListFollowedRequest) Marshal ¶ added in v1.5.0
func (m *ListFollowedRequest) Marshal() (dAtA []byte, err error)
func (*ListFollowedRequest) MarshalTo ¶ added in v1.5.0
func (m *ListFollowedRequest) MarshalTo(dAtA []byte) (int, error)
func (*ListFollowedRequest) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *ListFollowedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListFollowedRequest) ProtoMessage ¶ added in v1.5.0
func (*ListFollowedRequest) ProtoMessage()
func (*ListFollowedRequest) Reset ¶ added in v1.5.0
func (m *ListFollowedRequest) Reset()
func (*ListFollowedRequest) Size ¶ added in v1.5.0
func (m *ListFollowedRequest) Size() (n int)
func (*ListFollowedRequest) String ¶ added in v1.5.0
func (m *ListFollowedRequest) String() string
func (*ListFollowedRequest) Unmarshal ¶ added in v1.5.0
func (m *ListFollowedRequest) Unmarshal(dAtA []byte) error
func (*ListFollowedRequest) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *ListFollowedRequest) XXX_DiscardUnknown()
func (*ListFollowedRequest) XXX_Marshal ¶ added in v1.5.0
func (m *ListFollowedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListFollowedRequest) XXX_Merge ¶ added in v1.5.0
func (m *ListFollowedRequest) XXX_Merge(src proto.Message)
func (*ListFollowedRequest) XXX_Size ¶ added in v1.5.0
func (m *ListFollowedRequest) XXX_Size() int
func (*ListFollowedRequest) XXX_Unmarshal ¶ added in v1.5.0
func (m *ListFollowedRequest) XXX_Unmarshal(b []byte) error
type ListFollowedResponse ¶ added in v1.5.0
type ListFollowedResponse struct { Followed []string `protobuf:"bytes,1,rep,name=followed,proto3" json:"followed,omitempty"` Pagination query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination"` }
func (*ListFollowedResponse) Descriptor ¶ added in v1.5.0
func (*ListFollowedResponse) Descriptor() ([]byte, []int)
func (*ListFollowedResponse) GetFollowed ¶ added in v1.5.0
func (m *ListFollowedResponse) GetFollowed() []string
func (*ListFollowedResponse) GetPagination ¶ added in v1.5.0
func (m *ListFollowedResponse) GetPagination() query.PageResponse
func (*ListFollowedResponse) Marshal ¶ added in v1.5.0
func (m *ListFollowedResponse) Marshal() (dAtA []byte, err error)
func (*ListFollowedResponse) MarshalTo ¶ added in v1.5.0
func (m *ListFollowedResponse) MarshalTo(dAtA []byte) (int, error)
func (*ListFollowedResponse) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *ListFollowedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListFollowedResponse) ProtoMessage ¶ added in v1.5.0
func (*ListFollowedResponse) ProtoMessage()
func (*ListFollowedResponse) Reset ¶ added in v1.5.0
func (m *ListFollowedResponse) Reset()
func (*ListFollowedResponse) Size ¶ added in v1.5.0
func (m *ListFollowedResponse) Size() (n int)
func (*ListFollowedResponse) String ¶ added in v1.5.0
func (m *ListFollowedResponse) String() string
func (*ListFollowedResponse) Unmarshal ¶ added in v1.5.0
func (m *ListFollowedResponse) Unmarshal(dAtA []byte) error
func (*ListFollowedResponse) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *ListFollowedResponse) XXX_DiscardUnknown()
func (*ListFollowedResponse) XXX_Marshal ¶ added in v1.5.0
func (m *ListFollowedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListFollowedResponse) XXX_Merge ¶ added in v1.5.0
func (m *ListFollowedResponse) XXX_Merge(src proto.Message)
func (*ListFollowedResponse) XXX_Size ¶ added in v1.5.0
func (m *ListFollowedResponse) XXX_Size() int
func (*ListFollowedResponse) XXX_Unmarshal ¶ added in v1.5.0
func (m *ListFollowedResponse) XXX_Unmarshal(b []byte) error
type ListUserPostsRequest ¶ added in v1.5.0
type ListUserPostsRequest struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Pagination query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination"` }
func (*ListUserPostsRequest) Descriptor ¶ added in v1.5.0
func (*ListUserPostsRequest) Descriptor() ([]byte, []int)
func (*ListUserPostsRequest) Marshal ¶ added in v1.5.0
func (m *ListUserPostsRequest) Marshal() (dAtA []byte, err error)
func (*ListUserPostsRequest) MarshalTo ¶ added in v1.5.0
func (m *ListUserPostsRequest) MarshalTo(dAtA []byte) (int, error)
func (*ListUserPostsRequest) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *ListUserPostsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListUserPostsRequest) ProtoMessage ¶ added in v1.5.0
func (*ListUserPostsRequest) ProtoMessage()
func (*ListUserPostsRequest) Reset ¶ added in v1.5.0
func (m *ListUserPostsRequest) Reset()
func (*ListUserPostsRequest) Size ¶ added in v1.5.0
func (m *ListUserPostsRequest) Size() (n int)
func (*ListUserPostsRequest) String ¶ added in v1.5.0
func (m *ListUserPostsRequest) String() string
func (*ListUserPostsRequest) Unmarshal ¶ added in v1.5.0
func (m *ListUserPostsRequest) Unmarshal(dAtA []byte) error
func (*ListUserPostsRequest) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *ListUserPostsRequest) XXX_DiscardUnknown()
func (*ListUserPostsRequest) XXX_Marshal ¶ added in v1.5.0
func (m *ListUserPostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUserPostsRequest) XXX_Merge ¶ added in v1.5.0
func (m *ListUserPostsRequest) XXX_Merge(src proto.Message)
func (*ListUserPostsRequest) XXX_Size ¶ added in v1.5.0
func (m *ListUserPostsRequest) XXX_Size() int
func (*ListUserPostsRequest) XXX_Unmarshal ¶ added in v1.5.0
func (m *ListUserPostsRequest) XXX_Unmarshal(b []byte) error
type ListUserPostsResponse ¶ added in v1.5.0
type ListUserPostsResponse struct { Posts []Post `protobuf:"bytes,1,rep,name=posts,proto3" json:"posts"` Pagination query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination"` }
func (*ListUserPostsResponse) Descriptor ¶ added in v1.5.0
func (*ListUserPostsResponse) Descriptor() ([]byte, []int)
func (*ListUserPostsResponse) GetPagination ¶ added in v1.5.0
func (m *ListUserPostsResponse) GetPagination() query.PageResponse
func (*ListUserPostsResponse) GetPosts ¶ added in v1.5.0
func (m *ListUserPostsResponse) GetPosts() []Post
func (*ListUserPostsResponse) Marshal ¶ added in v1.5.0
func (m *ListUserPostsResponse) Marshal() (dAtA []byte, err error)
func (*ListUserPostsResponse) MarshalTo ¶ added in v1.5.0
func (m *ListUserPostsResponse) MarshalTo(dAtA []byte) (int, error)
func (*ListUserPostsResponse) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *ListUserPostsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListUserPostsResponse) ProtoMessage ¶ added in v1.5.0
func (*ListUserPostsResponse) ProtoMessage()
func (*ListUserPostsResponse) Reset ¶ added in v1.5.0
func (m *ListUserPostsResponse) Reset()
func (*ListUserPostsResponse) Size ¶ added in v1.5.0
func (m *ListUserPostsResponse) Size() (n int)
func (*ListUserPostsResponse) String ¶ added in v1.5.0
func (m *ListUserPostsResponse) String() string
func (*ListUserPostsResponse) Unmarshal ¶ added in v1.5.0
func (m *ListUserPostsResponse) Unmarshal(dAtA []byte) error
func (*ListUserPostsResponse) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *ListUserPostsResponse) XXX_DiscardUnknown()
func (*ListUserPostsResponse) XXX_Marshal ¶ added in v1.5.0
func (m *ListUserPostsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUserPostsResponse) XXX_Merge ¶ added in v1.5.0
func (m *ListUserPostsResponse) XXX_Merge(src proto.Message)
func (*ListUserPostsResponse) XXX_Size ¶ added in v1.5.0
func (m *ListUserPostsResponse) XXX_Size() int
func (*ListUserPostsResponse) XXX_Unmarshal ¶ added in v1.5.0
func (m *ListUserPostsResponse) XXX_Unmarshal(b []byte) error
type ModeratorsRequest ¶ added in v1.5.0
type ModeratorsRequest struct { }
func (*ModeratorsRequest) Descriptor ¶ added in v1.5.0
func (*ModeratorsRequest) Descriptor() ([]byte, []int)
func (*ModeratorsRequest) Marshal ¶ added in v1.5.0
func (m *ModeratorsRequest) Marshal() (dAtA []byte, err error)
func (*ModeratorsRequest) MarshalTo ¶ added in v1.5.0
func (m *ModeratorsRequest) MarshalTo(dAtA []byte) (int, error)
func (*ModeratorsRequest) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *ModeratorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ModeratorsRequest) ProtoMessage ¶ added in v1.5.0
func (*ModeratorsRequest) ProtoMessage()
func (*ModeratorsRequest) Reset ¶ added in v1.5.0
func (m *ModeratorsRequest) Reset()
func (*ModeratorsRequest) Size ¶ added in v1.5.0
func (m *ModeratorsRequest) Size() (n int)
func (*ModeratorsRequest) String ¶ added in v1.5.0
func (m *ModeratorsRequest) String() string
func (*ModeratorsRequest) Unmarshal ¶ added in v1.5.0
func (m *ModeratorsRequest) Unmarshal(dAtA []byte) error
func (*ModeratorsRequest) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *ModeratorsRequest) XXX_DiscardUnknown()
func (*ModeratorsRequest) XXX_Marshal ¶ added in v1.5.0
func (m *ModeratorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModeratorsRequest) XXX_Merge ¶ added in v1.5.0
func (m *ModeratorsRequest) XXX_Merge(src proto.Message)
func (*ModeratorsRequest) XXX_Size ¶ added in v1.5.0
func (m *ModeratorsRequest) XXX_Size() int
func (*ModeratorsRequest) XXX_Unmarshal ¶ added in v1.5.0
func (m *ModeratorsRequest) XXX_Unmarshal(b []byte) error
type ModeratorsResponse ¶ added in v1.5.0
type ModeratorsResponse struct {
Moderators []string `protobuf:"bytes,1,rep,name=moderators,proto3" json:"moderators,omitempty"`
}
func (*ModeratorsResponse) Descriptor ¶ added in v1.5.0
func (*ModeratorsResponse) Descriptor() ([]byte, []int)
func (*ModeratorsResponse) GetModerators ¶ added in v1.5.0
func (m *ModeratorsResponse) GetModerators() []string
func (*ModeratorsResponse) Marshal ¶ added in v1.5.0
func (m *ModeratorsResponse) Marshal() (dAtA []byte, err error)
func (*ModeratorsResponse) MarshalTo ¶ added in v1.5.0
func (m *ModeratorsResponse) MarshalTo(dAtA []byte) (int, error)
func (*ModeratorsResponse) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *ModeratorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ModeratorsResponse) ProtoMessage ¶ added in v1.5.0
func (*ModeratorsResponse) ProtoMessage()
func (*ModeratorsResponse) Reset ¶ added in v1.5.0
func (m *ModeratorsResponse) Reset()
func (*ModeratorsResponse) Size ¶ added in v1.5.0
func (m *ModeratorsResponse) Size() (n int)
func (*ModeratorsResponse) String ¶ added in v1.5.0
func (m *ModeratorsResponse) String() string
func (*ModeratorsResponse) Unmarshal ¶ added in v1.5.0
func (m *ModeratorsResponse) Unmarshal(dAtA []byte) error
func (*ModeratorsResponse) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *ModeratorsResponse) XXX_DiscardUnknown()
func (*ModeratorsResponse) XXX_Marshal ¶ added in v1.5.0
func (m *ModeratorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModeratorsResponse) XXX_Merge ¶ added in v1.5.0
func (m *ModeratorsResponse) XXX_Merge(src proto.Message)
func (*ModeratorsResponse) XXX_Size ¶ added in v1.5.0
func (m *ModeratorsResponse) XXX_Size() int
func (*ModeratorsResponse) XXX_Unmarshal ¶ added in v1.5.0
func (m *ModeratorsResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶ added in v1.5.0
type MsgClient interface { CreatePost(ctx context.Context, in *MsgCreatePost, opts ...grpc.CallOption) (*MsgCreatePostResponse, error) DeletePost(ctx context.Context, in *MsgDeletePost, opts ...grpc.CallOption) (*MsgDeletePostResponse, error) SetLike(ctx context.Context, in *MsgSetLike, opts ...grpc.CallOption) (*MsgSetLikeResponse, error) Follow(ctx context.Context, in *MsgFollow, opts ...grpc.CallOption) (*MsgFollowResponse, error) Unfollow(ctx context.Context, in *MsgUnfollow, opts ...grpc.CallOption) (*MsgUnfollowResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶ added in v1.5.0
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgCreatePost ¶
type MsgCreatePost struct {
Post Post `protobuf:"bytes,1,opt,name=post,proto3" json:"post"`
}
func NewMsgCreatePost ¶
func NewMsgCreatePost( title string, category Category, previewImage string, text string, owner sdk.AccAddress, ) MsgCreatePost
NewMsgCreatePost is a constructor function for MsgCreatePost
func (*MsgCreatePost) Descriptor ¶ added in v1.5.0
func (*MsgCreatePost) Descriptor() ([]byte, []int)
func (MsgCreatePost) GetSignBytes ¶
func (m MsgCreatePost) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgCreatePost) GetSigners ¶
func (m MsgCreatePost) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgCreatePost) Marshal ¶ added in v1.5.0
func (m *MsgCreatePost) Marshal() (dAtA []byte, err error)
func (*MsgCreatePost) MarshalTo ¶ added in v1.5.0
func (m *MsgCreatePost) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreatePost) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *MsgCreatePost) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreatePost) ProtoMessage ¶ added in v1.5.0
func (*MsgCreatePost) ProtoMessage()
func (*MsgCreatePost) Reset ¶ added in v1.5.0
func (m *MsgCreatePost) Reset()
func (MsgCreatePost) Route ¶
func (m MsgCreatePost) Route() string
Route should return the name of the module
func (*MsgCreatePost) Size ¶ added in v1.5.0
func (m *MsgCreatePost) Size() (n int)
func (*MsgCreatePost) String ¶ added in v1.5.0
func (m *MsgCreatePost) String() string
func (*MsgCreatePost) Unmarshal ¶ added in v1.5.0
func (m *MsgCreatePost) Unmarshal(dAtA []byte) error
func (MsgCreatePost) ValidateBasic ¶
func (m MsgCreatePost) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgCreatePost) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *MsgCreatePost) XXX_DiscardUnknown()
func (*MsgCreatePost) XXX_Marshal ¶ added in v1.5.0
func (m *MsgCreatePost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreatePost) XXX_Merge ¶ added in v1.5.0
func (m *MsgCreatePost) XXX_Merge(src proto.Message)
func (*MsgCreatePost) XXX_Size ¶ added in v1.5.0
func (m *MsgCreatePost) XXX_Size() int
func (*MsgCreatePost) XXX_Unmarshal ¶ added in v1.5.0
func (m *MsgCreatePost) XXX_Unmarshal(b []byte) error
type MsgCreatePostResponse ¶ added in v1.5.0
type MsgCreatePostResponse struct { }
func (*MsgCreatePostResponse) Descriptor ¶ added in v1.5.0
func (*MsgCreatePostResponse) Descriptor() ([]byte, []int)
func (*MsgCreatePostResponse) Marshal ¶ added in v1.5.0
func (m *MsgCreatePostResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreatePostResponse) MarshalTo ¶ added in v1.5.0
func (m *MsgCreatePostResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreatePostResponse) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *MsgCreatePostResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreatePostResponse) ProtoMessage ¶ added in v1.5.0
func (*MsgCreatePostResponse) ProtoMessage()
func (*MsgCreatePostResponse) Reset ¶ added in v1.5.0
func (m *MsgCreatePostResponse) Reset()
func (*MsgCreatePostResponse) Size ¶ added in v1.5.0
func (m *MsgCreatePostResponse) Size() (n int)
func (*MsgCreatePostResponse) String ¶ added in v1.5.0
func (m *MsgCreatePostResponse) String() string
func (*MsgCreatePostResponse) Unmarshal ¶ added in v1.5.0
func (m *MsgCreatePostResponse) Unmarshal(dAtA []byte) error
func (*MsgCreatePostResponse) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *MsgCreatePostResponse) XXX_DiscardUnknown()
func (*MsgCreatePostResponse) XXX_Marshal ¶ added in v1.5.0
func (m *MsgCreatePostResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreatePostResponse) XXX_Merge ¶ added in v1.5.0
func (m *MsgCreatePostResponse) XXX_Merge(src proto.Message)
func (*MsgCreatePostResponse) XXX_Size ¶ added in v1.5.0
func (m *MsgCreatePostResponse) XXX_Size() int
func (*MsgCreatePostResponse) XXX_Unmarshal ¶ added in v1.5.0
func (m *MsgCreatePostResponse) XXX_Unmarshal(b []byte) error
type MsgDeletePost ¶
type MsgDeletePost struct { PostOwner string `protobuf:"bytes,1,opt,name=post_owner,json=postOwner,proto3" json:"post_owner,omitempty"` PostUuid string `protobuf:"bytes,2,opt,name=post_uuid,json=postUuid,proto3" json:"post_uuid,omitempty"` Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` }
func NewMsgDeletePost ¶
func NewMsgDeletePost(owner, postOwner sdk.AccAddress, postUUID uuid.UUID) MsgDeletePost
NewMsgDeletePost is a constructor function for MsgDeletePost
func (*MsgDeletePost) Descriptor ¶ added in v1.5.0
func (*MsgDeletePost) Descriptor() ([]byte, []int)
func (MsgDeletePost) GetSignBytes ¶
func (m MsgDeletePost) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgDeletePost) GetSigners ¶
func (m MsgDeletePost) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgDeletePost) Marshal ¶ added in v1.5.0
func (m *MsgDeletePost) Marshal() (dAtA []byte, err error)
func (*MsgDeletePost) MarshalTo ¶ added in v1.5.0
func (m *MsgDeletePost) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeletePost) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *MsgDeletePost) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeletePost) ProtoMessage ¶ added in v1.5.0
func (*MsgDeletePost) ProtoMessage()
func (*MsgDeletePost) Reset ¶ added in v1.5.0
func (m *MsgDeletePost) Reset()
func (MsgDeletePost) Route ¶
func (m MsgDeletePost) Route() string
Route should return the name of the module
func (*MsgDeletePost) Size ¶ added in v1.5.0
func (m *MsgDeletePost) Size() (n int)
func (*MsgDeletePost) String ¶ added in v1.5.0
func (m *MsgDeletePost) String() string
func (*MsgDeletePost) Unmarshal ¶ added in v1.5.0
func (m *MsgDeletePost) Unmarshal(dAtA []byte) error
func (MsgDeletePost) ValidateBasic ¶
func (m MsgDeletePost) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgDeletePost) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *MsgDeletePost) XXX_DiscardUnknown()
func (*MsgDeletePost) XXX_Marshal ¶ added in v1.5.0
func (m *MsgDeletePost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeletePost) XXX_Merge ¶ added in v1.5.0
func (m *MsgDeletePost) XXX_Merge(src proto.Message)
func (*MsgDeletePost) XXX_Size ¶ added in v1.5.0
func (m *MsgDeletePost) XXX_Size() int
func (*MsgDeletePost) XXX_Unmarshal ¶ added in v1.5.0
func (m *MsgDeletePost) XXX_Unmarshal(b []byte) error
type MsgDeletePostResponse ¶ added in v1.5.0
type MsgDeletePostResponse struct { }
func (*MsgDeletePostResponse) Descriptor ¶ added in v1.5.0
func (*MsgDeletePostResponse) Descriptor() ([]byte, []int)
func (*MsgDeletePostResponse) Marshal ¶ added in v1.5.0
func (m *MsgDeletePostResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeletePostResponse) MarshalTo ¶ added in v1.5.0
func (m *MsgDeletePostResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeletePostResponse) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *MsgDeletePostResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeletePostResponse) ProtoMessage ¶ added in v1.5.0
func (*MsgDeletePostResponse) ProtoMessage()
func (*MsgDeletePostResponse) Reset ¶ added in v1.5.0
func (m *MsgDeletePostResponse) Reset()
func (*MsgDeletePostResponse) Size ¶ added in v1.5.0
func (m *MsgDeletePostResponse) Size() (n int)
func (*MsgDeletePostResponse) String ¶ added in v1.5.0
func (m *MsgDeletePostResponse) String() string
func (*MsgDeletePostResponse) Unmarshal ¶ added in v1.5.0
func (m *MsgDeletePostResponse) Unmarshal(dAtA []byte) error
func (*MsgDeletePostResponse) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *MsgDeletePostResponse) XXX_DiscardUnknown()
func (*MsgDeletePostResponse) XXX_Marshal ¶ added in v1.5.0
func (m *MsgDeletePostResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeletePostResponse) XXX_Merge ¶ added in v1.5.0
func (m *MsgDeletePostResponse) XXX_Merge(src proto.Message)
func (*MsgDeletePostResponse) XXX_Size ¶ added in v1.5.0
func (m *MsgDeletePostResponse) XXX_Size() int
func (*MsgDeletePostResponse) XXX_Unmarshal ¶ added in v1.5.0
func (m *MsgDeletePostResponse) XXX_Unmarshal(b []byte) error
type MsgFollow ¶ added in v1.0.3
type MsgFollow struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Whom string `protobuf:"bytes,2,opt,name=whom,proto3" json:"whom,omitempty"` }
func NewMsgFollow ¶ added in v1.0.3
func NewMsgFollow(owner, whom sdk.AccAddress) MsgFollow
NewMsgFollow is a constructor function for MsgFollow
func (*MsgFollow) Descriptor ¶ added in v1.5.0
func (MsgFollow) GetSignBytes ¶ added in v1.0.3
GetSignBytes encodes the message for signing
func (MsgFollow) GetSigners ¶ added in v1.0.3
func (m MsgFollow) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgFollow) MarshalToSizedBuffer ¶ added in v1.5.0
func (*MsgFollow) ProtoMessage ¶ added in v1.5.0
func (*MsgFollow) ProtoMessage()
func (MsgFollow) ValidateBasic ¶ added in v1.0.3
ValidateBasic runs stateless checks on the message
func (*MsgFollow) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *MsgFollow) XXX_DiscardUnknown()
func (*MsgFollow) XXX_Marshal ¶ added in v1.5.0
func (*MsgFollow) XXX_Unmarshal ¶ added in v1.5.0
type MsgFollowResponse ¶ added in v1.5.0
type MsgFollowResponse struct { }
func (*MsgFollowResponse) Descriptor ¶ added in v1.5.0
func (*MsgFollowResponse) Descriptor() ([]byte, []int)
func (*MsgFollowResponse) Marshal ¶ added in v1.5.0
func (m *MsgFollowResponse) Marshal() (dAtA []byte, err error)
func (*MsgFollowResponse) MarshalTo ¶ added in v1.5.0
func (m *MsgFollowResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgFollowResponse) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *MsgFollowResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgFollowResponse) ProtoMessage ¶ added in v1.5.0
func (*MsgFollowResponse) ProtoMessage()
func (*MsgFollowResponse) Reset ¶ added in v1.5.0
func (m *MsgFollowResponse) Reset()
func (*MsgFollowResponse) Size ¶ added in v1.5.0
func (m *MsgFollowResponse) Size() (n int)
func (*MsgFollowResponse) String ¶ added in v1.5.0
func (m *MsgFollowResponse) String() string
func (*MsgFollowResponse) Unmarshal ¶ added in v1.5.0
func (m *MsgFollowResponse) Unmarshal(dAtA []byte) error
func (*MsgFollowResponse) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *MsgFollowResponse) XXX_DiscardUnknown()
func (*MsgFollowResponse) XXX_Marshal ¶ added in v1.5.0
func (m *MsgFollowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgFollowResponse) XXX_Merge ¶ added in v1.5.0
func (m *MsgFollowResponse) XXX_Merge(src proto.Message)
func (*MsgFollowResponse) XXX_Size ¶ added in v1.5.0
func (m *MsgFollowResponse) XXX_Size() int
func (*MsgFollowResponse) XXX_Unmarshal ¶ added in v1.5.0
func (m *MsgFollowResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶ added in v1.5.0
type MsgServer interface { CreatePost(context.Context, *MsgCreatePost) (*MsgCreatePostResponse, error) DeletePost(context.Context, *MsgDeletePost) (*MsgDeletePostResponse, error) SetLike(context.Context, *MsgSetLike) (*MsgSetLikeResponse, error) Follow(context.Context, *MsgFollow) (*MsgFollowResponse, error) Unfollow(context.Context, *MsgUnfollow) (*MsgUnfollowResponse, error) }
MsgServer is the server API for Msg service.
type MsgSetLike ¶
type MsgSetLike struct {
Like Like `protobuf:"bytes,1,opt,name=like,proto3" json:"like"`
}
func NewMsgSetLike ¶
func NewMsgSetLike(postOwner sdk.AccAddress, postUUID uuid.UUID, owner sdk.AccAddress, weight LikeWeight) MsgSetLike
NewMsgSetLike is a constructor function for MsgSetLike
func (*MsgSetLike) Descriptor ¶ added in v1.5.0
func (*MsgSetLike) Descriptor() ([]byte, []int)
func (MsgSetLike) GetSignBytes ¶
func (m MsgSetLike) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgSetLike) GetSigners ¶
func (m MsgSetLike) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgSetLike) Marshal ¶ added in v1.5.0
func (m *MsgSetLike) Marshal() (dAtA []byte, err error)
func (*MsgSetLike) MarshalTo ¶ added in v1.5.0
func (m *MsgSetLike) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetLike) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *MsgSetLike) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetLike) ProtoMessage ¶ added in v1.5.0
func (*MsgSetLike) ProtoMessage()
func (*MsgSetLike) Reset ¶ added in v1.5.0
func (m *MsgSetLike) Reset()
func (MsgSetLike) Route ¶
func (m MsgSetLike) Route() string
Route should return the name of the module
func (*MsgSetLike) Size ¶ added in v1.5.0
func (m *MsgSetLike) Size() (n int)
func (*MsgSetLike) String ¶ added in v1.5.0
func (m *MsgSetLike) String() string
func (*MsgSetLike) Unmarshal ¶ added in v1.5.0
func (m *MsgSetLike) Unmarshal(dAtA []byte) error
func (MsgSetLike) ValidateBasic ¶
func (m MsgSetLike) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgSetLike) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *MsgSetLike) XXX_DiscardUnknown()
func (*MsgSetLike) XXX_Marshal ¶ added in v1.5.0
func (m *MsgSetLike) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetLike) XXX_Merge ¶ added in v1.5.0
func (m *MsgSetLike) XXX_Merge(src proto.Message)
func (*MsgSetLike) XXX_Size ¶ added in v1.5.0
func (m *MsgSetLike) XXX_Size() int
func (*MsgSetLike) XXX_Unmarshal ¶ added in v1.5.0
func (m *MsgSetLike) XXX_Unmarshal(b []byte) error
type MsgSetLikeResponse ¶ added in v1.5.0
type MsgSetLikeResponse struct { }
func (*MsgSetLikeResponse) Descriptor ¶ added in v1.5.0
func (*MsgSetLikeResponse) Descriptor() ([]byte, []int)
func (*MsgSetLikeResponse) Marshal ¶ added in v1.5.0
func (m *MsgSetLikeResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetLikeResponse) MarshalTo ¶ added in v1.5.0
func (m *MsgSetLikeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetLikeResponse) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *MsgSetLikeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetLikeResponse) ProtoMessage ¶ added in v1.5.0
func (*MsgSetLikeResponse) ProtoMessage()
func (*MsgSetLikeResponse) Reset ¶ added in v1.5.0
func (m *MsgSetLikeResponse) Reset()
func (*MsgSetLikeResponse) Size ¶ added in v1.5.0
func (m *MsgSetLikeResponse) Size() (n int)
func (*MsgSetLikeResponse) String ¶ added in v1.5.0
func (m *MsgSetLikeResponse) String() string
func (*MsgSetLikeResponse) Unmarshal ¶ added in v1.5.0
func (m *MsgSetLikeResponse) Unmarshal(dAtA []byte) error
func (*MsgSetLikeResponse) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *MsgSetLikeResponse) XXX_DiscardUnknown()
func (*MsgSetLikeResponse) XXX_Marshal ¶ added in v1.5.0
func (m *MsgSetLikeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetLikeResponse) XXX_Merge ¶ added in v1.5.0
func (m *MsgSetLikeResponse) XXX_Merge(src proto.Message)
func (*MsgSetLikeResponse) XXX_Size ¶ added in v1.5.0
func (m *MsgSetLikeResponse) XXX_Size() int
func (*MsgSetLikeResponse) XXX_Unmarshal ¶ added in v1.5.0
func (m *MsgSetLikeResponse) XXX_Unmarshal(b []byte) error
type MsgUnfollow ¶ added in v1.0.3
type MsgUnfollow struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Whom string `protobuf:"bytes,2,opt,name=whom,proto3" json:"whom,omitempty"` }
func NewMsgUnfollow ¶ added in v1.0.3
func NewMsgUnfollow(owner, whom sdk.AccAddress) MsgUnfollow
NewMsgUnfollow is a constructor function for MsgUnfollow
func (*MsgUnfollow) Descriptor ¶ added in v1.5.0
func (*MsgUnfollow) Descriptor() ([]byte, []int)
func (MsgUnfollow) GetSignBytes ¶ added in v1.0.3
func (m MsgUnfollow) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgUnfollow) GetSigners ¶ added in v1.0.3
func (m MsgUnfollow) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgUnfollow) Marshal ¶ added in v1.5.0
func (m *MsgUnfollow) Marshal() (dAtA []byte, err error)
func (*MsgUnfollow) MarshalTo ¶ added in v1.5.0
func (m *MsgUnfollow) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnfollow) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *MsgUnfollow) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnfollow) ProtoMessage ¶ added in v1.5.0
func (*MsgUnfollow) ProtoMessage()
func (*MsgUnfollow) Reset ¶ added in v1.5.0
func (m *MsgUnfollow) Reset()
func (MsgUnfollow) Route ¶ added in v1.0.3
func (m MsgUnfollow) Route() string
Route should return the name of the module
func (*MsgUnfollow) Size ¶ added in v1.5.0
func (m *MsgUnfollow) Size() (n int)
func (*MsgUnfollow) String ¶ added in v1.5.0
func (m *MsgUnfollow) String() string
func (MsgUnfollow) Type ¶ added in v1.0.3
func (m MsgUnfollow) Type() string
Type should return the action
func (*MsgUnfollow) Unmarshal ¶ added in v1.5.0
func (m *MsgUnfollow) Unmarshal(dAtA []byte) error
func (MsgUnfollow) ValidateBasic ¶ added in v1.0.3
func (m MsgUnfollow) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgUnfollow) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *MsgUnfollow) XXX_DiscardUnknown()
func (*MsgUnfollow) XXX_Marshal ¶ added in v1.5.0
func (m *MsgUnfollow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnfollow) XXX_Merge ¶ added in v1.5.0
func (m *MsgUnfollow) XXX_Merge(src proto.Message)
func (*MsgUnfollow) XXX_Size ¶ added in v1.5.0
func (m *MsgUnfollow) XXX_Size() int
func (*MsgUnfollow) XXX_Unmarshal ¶ added in v1.5.0
func (m *MsgUnfollow) XXX_Unmarshal(b []byte) error
type MsgUnfollowResponse ¶ added in v1.5.0
type MsgUnfollowResponse struct { }
func (*MsgUnfollowResponse) Descriptor ¶ added in v1.5.0
func (*MsgUnfollowResponse) Descriptor() ([]byte, []int)
func (*MsgUnfollowResponse) Marshal ¶ added in v1.5.0
func (m *MsgUnfollowResponse) Marshal() (dAtA []byte, err error)
func (*MsgUnfollowResponse) MarshalTo ¶ added in v1.5.0
func (m *MsgUnfollowResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnfollowResponse) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *MsgUnfollowResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnfollowResponse) ProtoMessage ¶ added in v1.5.0
func (*MsgUnfollowResponse) ProtoMessage()
func (*MsgUnfollowResponse) Reset ¶ added in v1.5.0
func (m *MsgUnfollowResponse) Reset()
func (*MsgUnfollowResponse) Size ¶ added in v1.5.0
func (m *MsgUnfollowResponse) Size() (n int)
func (*MsgUnfollowResponse) String ¶ added in v1.5.0
func (m *MsgUnfollowResponse) String() string
func (*MsgUnfollowResponse) Unmarshal ¶ added in v1.5.0
func (m *MsgUnfollowResponse) Unmarshal(dAtA []byte) error
func (*MsgUnfollowResponse) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *MsgUnfollowResponse) XXX_DiscardUnknown()
func (*MsgUnfollowResponse) XXX_Marshal ¶ added in v1.5.0
func (m *MsgUnfollowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnfollowResponse) XXX_Merge ¶ added in v1.5.0
func (m *MsgUnfollowResponse) XXX_Merge(src proto.Message)
func (*MsgUnfollowResponse) XXX_Size ¶ added in v1.5.0
func (m *MsgUnfollowResponse) XXX_Size() int
func (*MsgUnfollowResponse) XXX_Unmarshal ¶ added in v1.5.0
func (m *MsgUnfollowResponse) XXX_Unmarshal(b []byte) error
type Params ¶ added in v1.4.0
type Params struct { Moderators []string `protobuf:"bytes,1,rep,name=moderators,proto3" json:"moderators,omitempty"` FixedGas FixedGasParams `protobuf:"bytes,2,opt,name=fixed_gas,json=fixedGas,proto3" json:"fixed_gas"` }
func DefaultParams ¶ added in v1.4.0
func DefaultParams() Params
DefaultParams returns a default set of parameters.
func (*Params) Descriptor ¶ added in v1.5.0
func (*Params) GetFixedGas ¶ added in v1.5.0
func (m *Params) GetFixedGas() FixedGasParams
func (*Params) GetModerators ¶ added in v1.5.0
func (*Params) MarshalToSizedBuffer ¶ added in v1.5.0
func (*Params) ParamSetPairs ¶ added in v1.4.0
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
func (*Params) ProtoMessage ¶ added in v1.5.0
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶ added in v1.5.0
func (*Params) XXX_Unmarshal ¶ added in v1.5.0
type Post ¶
type Post struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` PreviewImage string `protobuf:"bytes,4,opt,name=preview_image,json=previewImage,proto3" json:"preview_image,omitempty"` Category Category `protobuf:"varint,5,opt,name=category,proto3,enum=community.Category" json:"category,omitempty"` Text string `protobuf:"bytes,6,opt,name=text,proto3" json:"text,omitempty"` }
func (*Post) Descriptor ¶ added in v1.5.0
func (*Post) GetCategory ¶ added in v1.5.0
func (*Post) GetPreviewImage ¶ added in v1.5.0
func (*Post) MarshalToSizedBuffer ¶ added in v1.5.0
func (*Post) ProtoMessage ¶ added in v1.5.0
func (*Post) ProtoMessage()
func (*Post) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *Post) XXX_DiscardUnknown()
func (*Post) XXX_Marshal ¶ added in v1.5.0
func (*Post) XXX_Unmarshal ¶ added in v1.5.0
type QueryClient ¶ added in v1.5.0
type QueryClient interface { GetPost(ctx context.Context, in *GetPostRequest, opts ...grpc.CallOption) (*GetPostResponse, error) ListUserPosts(ctx context.Context, in *ListUserPostsRequest, opts ...grpc.CallOption) (*ListUserPostsResponse, error) Moderators(ctx context.Context, in *ModeratorsRequest, opts ...grpc.CallOption) (*ModeratorsResponse, error) ListFollowed(ctx context.Context, in *ListFollowedRequest, opts ...grpc.CallOption) (*ListFollowedResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶ added in v1.5.0
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryServer ¶ added in v1.5.0
type QueryServer interface { GetPost(context.Context, *GetPostRequest) (*GetPostResponse, error) ListUserPosts(context.Context, *ListUserPostsRequest) (*ListUserPostsResponse, error) Moderators(context.Context, *ModeratorsRequest) (*ModeratorsResponse, error) ListFollowed(context.Context, *ListFollowedRequest) (*ListFollowedResponse, error) }
QueryServer is the server API for Query service.
type TokenKeeper ¶ added in v1.5.0
type UnimplementedMsgServer ¶ added in v1.5.0
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreatePost ¶ added in v1.5.0
func (*UnimplementedMsgServer) CreatePost(ctx context.Context, req *MsgCreatePost) (*MsgCreatePostResponse, error)
func (*UnimplementedMsgServer) DeletePost ¶ added in v1.5.0
func (*UnimplementedMsgServer) DeletePost(ctx context.Context, req *MsgDeletePost) (*MsgDeletePostResponse, error)
func (*UnimplementedMsgServer) Follow ¶ added in v1.5.0
func (*UnimplementedMsgServer) Follow(ctx context.Context, req *MsgFollow) (*MsgFollowResponse, error)
func (*UnimplementedMsgServer) SetLike ¶ added in v1.5.0
func (*UnimplementedMsgServer) SetLike(ctx context.Context, req *MsgSetLike) (*MsgSetLikeResponse, error)
func (*UnimplementedMsgServer) Unfollow ¶ added in v1.5.0
func (*UnimplementedMsgServer) Unfollow(ctx context.Context, req *MsgUnfollow) (*MsgUnfollowResponse, error)
type UnimplementedQueryServer ¶ added in v1.5.0
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) GetPost ¶ added in v1.5.0
func (*UnimplementedQueryServer) GetPost(ctx context.Context, req *GetPostRequest) (*GetPostResponse, error)
func (*UnimplementedQueryServer) ListFollowed ¶ added in v1.5.0
func (*UnimplementedQueryServer) ListFollowed(ctx context.Context, req *ListFollowedRequest) (*ListFollowedResponse, error)
func (*UnimplementedQueryServer) ListUserPosts ¶ added in v1.5.0
func (*UnimplementedQueryServer) ListUserPosts(ctx context.Context, req *ListUserPostsRequest) (*ListUserPostsResponse, error)
func (*UnimplementedQueryServer) Moderators ¶ added in v1.5.0
func (*UnimplementedQueryServer) Moderators(ctx context.Context, req *ModeratorsRequest) (*ModeratorsResponse, error)