momentrpc

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2023 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CountMomentReq added in v1.2.0

type CountMomentReq = pb.CountMomentReq

type CountMomentResp added in v1.2.0

type CountMomentResp = pb.CountMomentResp

type CreateMomentReq

type CreateMomentReq = pb.CreateMomentReq

type CreateMomentResp

type CreateMomentResp = pb.CreateMomentResp

type DeleteMomentReq

type DeleteMomentReq = pb.DeleteMomentReq

type DeleteMomentResp

type DeleteMomentResp = pb.DeleteMomentResp

type FilterOptions added in v1.2.0

type FilterOptions = pb.FilterOptions

type ListMomentReq

type ListMomentReq = pb.ListMomentReq

type ListMomentResp

type ListMomentResp = pb.ListMomentResp

type Moment

type Moment = pb.Moment

type MomentRpc

type MomentRpc interface {
	ListMoment(ctx context.Context, in *ListMomentReq, opts ...grpc.CallOption) (*ListMomentResp, error)
	CountMoment(ctx context.Context, in *CountMomentReq, opts ...grpc.CallOption) (*CountMomentResp, error)
	RetrieveMoment(ctx context.Context, in *RetrieveMomentReq, opts ...grpc.CallOption) (*RetrieveMomentResp, error)
	CreateMoment(ctx context.Context, in *CreateMomentReq, opts ...grpc.CallOption) (*CreateMomentResp, error)
	UpdateMoment(ctx context.Context, in *UpdateMomentReq, opts ...grpc.CallOption) (*UpdateMomentResp, error)
	DeleteMoment(ctx context.Context, in *DeleteMomentReq, opts ...grpc.CallOption) (*DeleteMomentResp, error)
}

func NewMomentRpc

func NewMomentRpc(cli zrpc.Client) MomentRpc

type PaginationOptions added in v1.2.0

type PaginationOptions = pb.PaginationOptions

type RetrieveMomentReq

type RetrieveMomentReq = pb.RetrieveMomentReq

type RetrieveMomentResp

type RetrieveMomentResp = pb.RetrieveMomentResp

type SearchField added in v1.2.0

type SearchField = pb.SearchField

type SearchOptions added in v1.2.0

type SearchOptions = pb.SearchOptions

type UpdateMomentReq

type UpdateMomentReq = pb.UpdateMomentReq

type UpdateMomentResp

type UpdateMomentResp = pb.UpdateMomentResp

Jump to

Keyboard shortcuts

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