Documentation ¶ Index ¶ type Node func (n *Node) Init(ctx context.Context, configFilename string) func (n *Node) Notify(ctx context.Context) error func (n *Node) NotifyOne(ctx context.Context, r types.TransferRecord) (success bool, err error) func (n *Node) UpdateNotify(ctx context.Context, r types.TransferRecord) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Node ¶ type Node struct { Addr string Engine *gin.Engine // contains filtered or unexported fields } func (*Node) Init ¶ func (n *Node) Init(ctx context.Context, configFilename string) func (*Node) Notify ¶ func (n *Node) Notify(ctx context.Context) error func (*Node) NotifyOne ¶ func (n *Node) NotifyOne(ctx context.Context, r types.TransferRecord) (success bool, err error) func (*Node) UpdateNotify ¶ func (n *Node) UpdateNotify(ctx context.Context, r types.TransferRecord) error Source Files ¶ View all Source files node.go Click to show internal directories. Click to hide internal directories.