Documentation ¶ Index ¶ type Server func NewServer(d database.Database, l *log.Logger, cfg *domain.AppConfig) *Server func (s *Server) Close(ctx context.Context) error func (s *Server) IpInfo() func(http.ResponseWriter, *http.Request) func (s *Server) Run() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Server ¶ type Server struct { // contains filtered or unexported fields } func NewServer ¶ func NewServer(d database.Database, l *log.Logger, cfg *domain.AppConfig) *Server func (*Server) Close ¶ func (s *Server) Close(ctx context.Context) error func (*Server) IpInfo ¶ func (s *Server) IpInfo() func(http.ResponseWriter, *http.Request) func (*Server) Run ¶ func (s *Server) Run() Source Files ¶ View all Source files handler.go main.go Click to show internal directories. Click to hide internal directories.