Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // 检查ROC调用的函数名称,并且返回一个最终的名称以及是否使用它 CheckFuncName func(method string) (string, bool) // 在ROC被调用前,会执行该函数,你可以在这里完成一些保证同步的操作,如加锁 OnBeforeROCCall func(obj interface{}, callpath *roc.Path, arg []byte) // 在ROC被调用后,会执行该函数,你可以在这里完成一些保证同步的操作,如加锁 OnAfterROCCall func(obj interface{}, callpath *roc.Path, arg []byte) }
Options options
Click to show internal directories.
Click to hide internal directories.