Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMarshalFailed = "failed to marshal: %w" ErrDecodeFailed = "failed to decode: %w" )
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { UserService talkie.UserService TokenService talkie.TokenService CommentService talkie.CommentService // contains filtered or unexported fields }
Server represents an HTTP server
func (*Server) Error ¶
func (s *Server) Error(fn appHandler) gin.HandlerFunc
Click to show internal directories.
Click to hide internal directories.