This repository has been archived on 2024-05-18. You can view files and clone it, but cannot push or open issues or pull requests.
steamServer/steamServer.go

22 lines
483 B
Go
Raw Normal View History

2021-09-20 14:57:24 +02:00
package steamServer
import "github.com/google/uuid"
type Server struct {
ID uuid.UUID `db:"id"`
AppID int `json:"AppID"`
Name string `json:"Name"`
Map string `json:"Map"`
Players int `json:"Players"`
MaxPlayers int `json:"MaxPlayers"`
}
type ServerStore interface {
Server(id uuid.UUID) (Server, error)
CreateServer(ser *Server) err
}
type Store interface {
ServerStore
}