momentrpc

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2022 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 DeleteMomentReq

type DeleteMomentReq = pb.DeleteMomentReq

type DeleteMomentResp

type DeleteMomentResp = pb.DeleteMomentResp

type GetMomentReq

type GetMomentReq = pb.GetMomentReq

type GetMomentResp

type GetMomentResp = pb.GetMomentResp

type InsertMomentReq

type InsertMomentReq = pb.InsertMomentReq

type InsertMomentResp

type InsertMomentResp = pb.InsertMomentResp

type Moment

type Moment = pb.Moment

type MomentRpc

type MomentRpc interface {
	GetMoment(ctx context.Context, in *GetMomentReq, opts ...grpc.CallOption) (*GetMomentResp, error)
	QueryMoment(ctx context.Context, in *QueryMomentReq, opts ...grpc.CallOption) (*QueryMomentResp, error)
	InsertMoment(ctx context.Context, in *InsertMomentReq, opts ...grpc.CallOption) (*InsertMomentResp, 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 QueryMomentReq

type QueryMomentReq = pb.QueryMomentReq

type QueryMomentResp

type QueryMomentResp = pb.QueryMomentResp

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