github.com/ergo-services/ergo@v1.999.224/apps/erlang/global_name_server.go (about) 1 package erlang 2 3 import ( 4 "github.com/ergo-services/ergo/etf" 5 "github.com/ergo-services/ergo/gen" 6 ) 7 8 // TODO: https://github.com/erlang/otp/blob/master/lib/kernel/src/global.erl 9 10 type globalNameServer struct { 11 gen.Server 12 } 13 14 // HandleCast 15 func (gns *globalNameServer) HandleCast(process *gen.ServerProcess, message etf.Term) gen.ServerStatus { 16 return gen.ServerStatusOK 17 }