Documentation
¶
Index ¶
- func NewConfig(configPath string) (*config, error)
- type Server
- func (s *Server) AddMoney(w http.ResponseWriter, r *http.Request)
- func (s *Server) AllowTransaction(w http.ResponseWriter, r *http.Request)
- func (s *Server) GenerateReport(w http.ResponseWriter, r *http.Request)
- func (s *Server) GetAddres() string
- func (s *Server) GetClientBalance(w http.ResponseWriter, r *http.Request)
- func (s *Server) GetReport(w http.ResponseWriter, r *http.Request)
- func (s *Server) ReserveMoney(w http.ResponseWriter, r *http.Request)
- func (s *Server) UnreserveMoney(w http.ResponseWriter, r *http.Request)
- func (s *Server) Up()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) AllowTransaction ¶
func (s *Server) AllowTransaction(w http.ResponseWriter, r *http.Request)
func (*Server) GenerateReport ¶
func (s *Server) GenerateReport(w http.ResponseWriter, r *http.Request)
func (*Server) GetClientBalance ¶
func (s *Server) GetClientBalance(w http.ResponseWriter, r *http.Request)
func (*Server) ReserveMoney ¶
func (s *Server) ReserveMoney(w http.ResponseWriter, r *http.Request)
func (*Server) UnreserveMoney ¶
func (s *Server) UnreserveMoney(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.