Documentation
¶
Index ¶
- type RPC
- func (r *RPC) CreateConversation(ctx context.Context, req *conversation.CreateConversationRequest) (*conversation.CreateConversationResponse, error)
- func (r *RPC) CreateConversationMessage(ctx context.Context, req *conversation.CreateConversationMessageRequest) (*conversation.CreateConversationMessageResponse, error)
- func (r *RPC) DeleteConversations(ctx context.Context, req *conversation.DeleteConversationsRequest) error
- func (r *RPC) DeleteInteractions(ctx context.Context, req *conversation.DeleteInteractionsRequest) error
- func (r *RPC) GetConversationWithInteractions(ctx context.Context, req *conversation.GetConversationWithInteractionsRequest) (*conversation.GetConversationWithInteractionsResponse, error)
- func (r *RPC) GetInteraction(ctx context.Context, req *conversation.GetInteractionRequest) (*conversation.GetInteractionResponse, error)
- func (r *RPC) ListConversationsWithInteractions(ctx context.Context, ...) (*conversation.ListConversationsWithInteractionsResponse, error)
- func (r *RPC) Run(ctx context.Context, cfg config.Server) (err error)
- func (r *RPC) UpdateInteractionExcludedState(ctx context.Context, req *conversation.UpdateInteractionExcludedStateRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RPC ¶
type RPC struct {
// contains filtered or unexported fields
}
func (*RPC) CreateConversation ¶
func (r *RPC) CreateConversation(ctx context.Context, req *conversation.CreateConversationRequest) (*conversation.CreateConversationResponse, error)
func (*RPC) CreateConversationMessage ¶
func (r *RPC) CreateConversationMessage(ctx context.Context, req *conversation.CreateConversationMessageRequest) (*conversation.CreateConversationMessageResponse, error)
func (*RPC) DeleteConversations ¶
func (r *RPC) DeleteConversations(ctx context.Context, req *conversation.DeleteConversationsRequest) error
func (*RPC) DeleteInteractions ¶
func (r *RPC) DeleteInteractions(ctx context.Context, req *conversation.DeleteInteractionsRequest) error
func (*RPC) GetConversationWithInteractions ¶
func (r *RPC) GetConversationWithInteractions(ctx context.Context, req *conversation.GetConversationWithInteractionsRequest) (*conversation.GetConversationWithInteractionsResponse, error)
func (*RPC) GetInteraction ¶
func (r *RPC) GetInteraction(ctx context.Context, req *conversation.GetInteractionRequest) (*conversation.GetInteractionResponse, error)
func (*RPC) ListConversationsWithInteractions ¶
func (r *RPC) ListConversationsWithInteractions(ctx context.Context, req *conversation.ListConversationsWithInteractionsRequest) (*conversation.ListConversationsWithInteractionsResponse, error)
func (*RPC) UpdateInteractionExcludedState ¶
func (r *RPC) UpdateInteractionExcludedState(ctx context.Context, req *conversation.UpdateInteractionExcludedStateRequest) error
Click to show internal directories.
Click to hide internal directories.