Documentation
¶
Index ¶
- Constants
- func EmptyHandler(c echo.Context) error
- type InputPassword
- type Message
- type Server
- func (s *Server) CreateMessage(c echo.Context) error
- func (s *Server) DeleteMessage(c echo.Context) error
- func (s *Server) GetPrivateMessage(c echo.Context) error
- func (s *Server) GetPublicMessage(c echo.Context) error
- func (s *Server) GetPublicMessagesList(c echo.Context) error
- func (s *Server) GetUserMessagesList(c echo.Context) error
- func (s *Server) Init() error
- func (s *Server) Run() error
- func (s *Server) Shutdown(ctx context.Context) error
- func (s *Server) SignIn(c echo.Context) error
- func (s *Server) SignUp(c echo.Context) error
- func (s *Server) UpdateMessage(c echo.Context) error
- func (s *Server) VerifySignUp(c echo.Context) error
Constants ¶
View Source
const ( MIN_CONTENT_SIZE = 16 MIN_PASSWORD_SIZE = 8 MAX_CONTENT_SIZE = 2000 )
Variables ¶
This section is empty.
Functions ¶
func EmptyHandler ¶
func EmptyHandler(c echo.Context) error
Types ¶
type InputPassword ¶
type InputPassword struct {
Password string `json:"password"`
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) CreateMessage ¶
func (*Server) DeleteMessage ¶
func (*Server) GetPrivateMessage ¶
func (*Server) GetPublicMessage ¶
func (*Server) GetPublicMessagesList ¶
func (*Server) GetUserMessagesList ¶
func (*Server) UpdateMessage ¶
func (*Server) VerifySignUp ¶
Click to show internal directories.
Click to hide internal directories.