ppforge/cop/cop.go

17 lines
413 B
Go
Raw Normal View History

package cop
import "gitea.mmo.to/ppForge/ppforge/protocol"
// COP represents a Collection of Protocols
type COP struct {
Type string
Protocols map[string]ProtocolCollectionEntry
closed bool
}
// ProtocolCollectionEntry is a single entry in the file database, additionally to the meta data the path is required
type ProtocolCollectionEntry struct {
Path string
Protocol protocol.ProtocolMeta
}