chirpy_server/internal/handler/config.go

16 lines
260 B
Go
Raw Permalink Normal View History

package handler
import (
"sync/atomic"
"github.com/finchrelia/chirpy-server/internal/database"
)
type APIConfig struct {
FileserverHits atomic.Int32
DB *database.Queries
Platform string
JWT string
PolkaKey string
}