Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
Server represents the API server
func (Server) EncodeHandler ¶
func (s Server) EncodeHandler(w http.ResponseWriter, r *http.Request)
EncodeHandler takes JSON input and encodes it into amino
func (*Server) VersionHandler ¶
func (s *Server) VersionHandler(w http.ResponseWriter, r *http.Request)
VersionHandler handles the /version route
Click to show internal directories.
Click to hide internal directories.