Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeIdBizRepo ¶
type NodeIdBizRepo interface {
GetConfig() *bo.NodeIDConfig
GetNodeId(ctx context.Context, param *bo.GetNodeIdParam) (*po.NodeId, error)
GenerateNextID(serialModel *po.NodeSerial, param *bo.GetNodeIdParam) (*po.NodeId, error)
RenewalNodeId(ctx context.Context, param *bo.RenewalNodeIdParam) (*bo.RenewalNodeIDReply, error)
ReleaseNodeId(ctx context.Context, param *bo.ReleaseNodeIdParam) (*po.NodeId, error)
}
type RenewNodeIDEventRepo ¶ added in v0.0.14
type RenewNodeIDHandler ¶ added in v0.0.14
type RenewNodeIDHandler func(ctx context.Context, param *bo.RenewalNodeIdParam) (*bo.RenewalNodeIDReply, error)
Click to show internal directories.
Click to hide internal directories.