1
0
Fork 0
mirror of https://github.com/Luzifer/sii.git synced 2024-10-18 05:14:19 +00:00
sii/block_ferry_log.go

20 lines
313 B
Go
Raw Normal View History

package sii
func init() {
RegisterBlock(&FerryLog{})
}
type FerryLog struct {
Entries []Ptr `sii:"entries"`
blockName string
}
func (FerryLog) Class() string { return "ferry_log" }
func (f *FerryLog) Init(class, name string) {
f.blockName = name
}
func (f FerryLog) Name() string { return f.blockName }