MCPcopy
hub / github.com/davyxu/tabtoy / RegisterPostEntry

Method RegisterPostEntry

v3/example/golang/table_gen.go:89–96  ·  view source on GitHub ↗

注册加载后回调(用于构建数据)

(h func(*Table) error)

Source from the content-addressed store, hash-verified

87
88// 注册加载后回调(用于构建数据)
89func (self *Table) RegisterPostEntry(h func(*Table) error) {
90
91 if h == nil {
92 panic("empty postload handler")
93 }
94
95 self.postHandlers = append(self.postHandlers, h)
96}
97
98// 注册加载前回调(用于清除数据)
99func (self *Table) RegisterPreEntry(h func(*Table) error) {

Callers 1

LoadAllTableFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected