Documentation
¶
Index ¶
- type Controller
- func (c *Controller) Close() error
- func (c *Controller) CreateConversation(ctx context.Context, w http.ResponseWriter, r *http.Request)
- func (c *Controller) CreateLine(ctx context.Context, w http.ResponseWriter, r *http.Request)
- func (c *Controller) DeleteConversation(ctx context.Context, w http.ResponseWriter, r *http.Request)
- func (c *Controller) DeleteLine(ctx context.Context, w http.ResponseWriter, r *http.Request)
- func (c *Controller) DeleteMood(ctx context.Context, w http.ResponseWriter, r *http.Request)
- func (c *Controller) GetAnimals(ctx context.Context, w http.ResponseWriter, r *http.Request)
- func (c *Controller) GetConversation(ctx context.Context, w http.ResponseWriter, r *http.Request)
- func (c *Controller) GetLine(ctx context.Context, w http.ResponseWriter, r *http.Request)
- func (c *Controller) GetMood(ctx context.Context, w http.ResponseWriter, r *http.Request)
- func (c *Controller) ListConversations(ctx context.Context, w http.ResponseWriter, r *http.Request)
- func (c *Controller) ListMoods(ctx context.Context, w http.ResponseWriter, r *http.Request)
- func (c *Controller) SetMood(ctx context.Context, w http.ResponseWriter, r *http.Request)
- type Conversation
- type Line
- type Mood
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func (*Controller) Close ¶
func (c *Controller) Close() error
func (*Controller) CreateConversation ¶
func (c *Controller) CreateConversation(ctx context.Context, w http.ResponseWriter, r *http.Request)
func (*Controller) CreateLine ¶
func (c *Controller) CreateLine(ctx context.Context, w http.ResponseWriter, r *http.Request)
TODO: use gorilla schema here
func (*Controller) DeleteConversation ¶
func (c *Controller) DeleteConversation(ctx context.Context, w http.ResponseWriter, r *http.Request)
func (*Controller) DeleteLine ¶
func (c *Controller) DeleteLine(ctx context.Context, w http.ResponseWriter, r *http.Request)
func (*Controller) DeleteMood ¶
func (c *Controller) DeleteMood(ctx context.Context, w http.ResponseWriter, r *http.Request)
func (*Controller) GetAnimals ¶
func (c *Controller) GetAnimals(ctx context.Context, w http.ResponseWriter, r *http.Request)
func (*Controller) GetConversation ¶
func (c *Controller) GetConversation(ctx context.Context, w http.ResponseWriter, r *http.Request)
func (*Controller) GetLine ¶
func (c *Controller) GetLine(ctx context.Context, w http.ResponseWriter, r *http.Request)
func (*Controller) GetMood ¶
func (c *Controller) GetMood(ctx context.Context, w http.ResponseWriter, r *http.Request)
func (*Controller) ListConversations ¶
func (c *Controller) ListConversations(ctx context.Context, w http.ResponseWriter, r *http.Request)
func (*Controller) ListMoods ¶
func (c *Controller) ListMoods(ctx context.Context, w http.ResponseWriter, r *http.Request)
func (*Controller) SetMood ¶
func (c *Controller) SetMood(ctx context.Context, w http.ResponseWriter, r *http.Request)
type Conversation ¶
Click to show internal directories.
Click to hide internal directories.