Documentation ¶
Index ¶
- type PromptHandler
- func (h *PromptHandler) Create(ctx context.Context, req *pb.PromptCreateRequest) (*pb.Prompt, error)
- func (h *PromptHandler) Delete(ctx context.Context, req *pb.PromptDeleteRequest) (*commonpb.VoidResponse, error)
- func (h *PromptHandler) Get(ctx context.Context, req *pb.PromptGetRequest) (*pb.Prompt, error)
- func (h *PromptHandler) Paging(ctx context.Context, req *pb.PromptPagingRequest) (*pb.PromptPagingResponse, error)
- func (h *PromptHandler) Update(ctx context.Context, req *pb.PromptUpdateRequest) (*pb.Prompt, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PromptHandler ¶
func (*PromptHandler) Create ¶
func (h *PromptHandler) Create(ctx context.Context, req *pb.PromptCreateRequest) (*pb.Prompt, error)
func (*PromptHandler) Delete ¶
func (h *PromptHandler) Delete(ctx context.Context, req *pb.PromptDeleteRequest) (*commonpb.VoidResponse, error)
func (*PromptHandler) Get ¶
func (h *PromptHandler) Get(ctx context.Context, req *pb.PromptGetRequest) (*pb.Prompt, error)
func (*PromptHandler) Paging ¶
func (h *PromptHandler) Paging(ctx context.Context, req *pb.PromptPagingRequest) (*pb.PromptPagingResponse, error)
func (*PromptHandler) Update ¶
func (h *PromptHandler) Update(ctx context.Context, req *pb.PromptUpdateRequest) (*pb.Prompt, error)
Click to show internal directories.
Click to hide internal directories.