Documentation ¶
Index ¶
- type Client
- func (cli *Client) Create(ctx context.Context, in *pb.CreateRequest, opts ...grpc.CallOption) (*pb.CreateResponse, error)
- func (cli *Client) CreateMany(ctx context.Context, in *pb.CreateManyRequest, opts ...grpc.CallOption) (*pb.CreateManyResponse, error)
- func (cli *Client) Delete(ctx context.Context, in *pb.DeleteRequest, opts ...grpc.CallOption) (*pb.DeleteResponse, error)
- func (cli *Client) Get(ctx context.Context, in *pb.GetRequest, opts ...grpc.CallOption) (*pb.GetResponse, error)
- func (cli *Client) GetAll(ctx context.Context, in *pb.GetAllRequest, opts ...grpc.CallOption) (*pb.GetAllResponse, error)
- func (cli *Client) Stop(_ context.Context) error
- func (cli *Client) Update(ctx context.Context, in *pb.UpdateRequest, opts ...grpc.CallOption) (*pb.UpdateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Create ¶
func (cli *Client) Create(ctx context.Context, in *pb.CreateRequest, opts ...grpc.CallOption) (*pb.CreateResponse, error)
func (*Client) CreateMany ¶
func (cli *Client) CreateMany(ctx context.Context, in *pb.CreateManyRequest, opts ...grpc.CallOption) (*pb.CreateManyResponse, error)
func (*Client) Delete ¶
func (cli *Client) Delete(ctx context.Context, in *pb.DeleteRequest, opts ...grpc.CallOption) (*pb.DeleteResponse, error)
func (*Client) Get ¶
func (cli *Client) Get(ctx context.Context, in *pb.GetRequest, opts ...grpc.CallOption) (*pb.GetResponse, error)
func (*Client) GetAll ¶
func (cli *Client) GetAll(ctx context.Context, in *pb.GetAllRequest, opts ...grpc.CallOption) (*pb.GetAllResponse, error)
func (*Client) Update ¶
func (cli *Client) Update(ctx context.Context, in *pb.UpdateRequest, opts ...grpc.CallOption) (*pb.UpdateResponse, error)
Click to show internal directories.
Click to hide internal directories.