17 lines
413 B
Go
17 lines
413 B
Go
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
|
|
}
|