controllers

package
v0.0.0-...-f436a4a Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chats

type Chats struct {
	// contains filtered or unexported fields
}

func NewChats

func NewChats(cs models.ChatService) *Chats

func (*Chats) ByUserID

func (c *Chats) ByUserID(w http.ResponseWriter, r *http.Request)

func (*Chats) Create

func (c *Chats) Create(w http.ResponseWriter, r *http.Request)

type Message

type Message struct {
	// contains filtered or unexported fields
}

func NewMessages

func NewMessages(ms models.MessageService) *Message

func (*Message) ByChatID

func (m *Message) ByChatID(w http.ResponseWriter, r *http.Request)

func (*Message) Create

func (m *Message) Create(w http.ResponseWriter, r *http.Request)

type Users

type Users struct {
	// contains filtered or unexported fields
}

func NewUsers

func NewUsers(us models.UserService) *Users

func (*Users) Create

func (u *Users) Create(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL