test plonk
@did:plc:5kyjezfqbn76fgbs6boocjnq · 1mo ago · go · 24 loc · raw · 4 comments
1package main23import (4 "context"5 "os"6 "os/signal"78 "kapycluster.com/magicnode/log"9 "kapycluster.com/magicnode/node"10)1112func main() {13 ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt)14 defer stop()1516 log.NewContext(ctx, "magicnode")1718 err := node.Start(ctx)19 if err != nil {20 log.FromContext(ctx).Error("magicnode failed", "error", err)21 os.Exit(-1)22 }23}24
comments
login to post a comment
@oppi.li · 1mo ago
@did:plc:5kyjezfqbn76fgbs6boocjnq · 1mo ago
@did:plc:5kyjezfqbn76fgbs6boocjnq · 1mo ago
@oppi.li · 1mo ago