Git Product home page Git Product logo

nglite's Issues

lprey/main.go commit

func Sender(srcid string, dst string, acc *nkn.Account, msg interface{}) (string, error) {

控制端 有问题

控制端 是我姿势有问题吗?

1627725156(1)

starting...

panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
main.main()
/home/user/go/src/NGLiteV1.01/lhunter/main.go:109 +0x845

build lprey/main.go

lprey/main.go:122:2: syntax error: non-declaration statement outside function body
image

问题

为什么我这边一直通信timeout
image

这是不是不小心删了个函数名啊?

Listener, err := nkn.NewMultiClient(acc, dst, conf.TransThreads, false, nil)

func AesDecode(str string) string {
	plaintext, err := cipher.AesCbcDecrypt([]byte(str), []byte(conf.AesKey))
	if err != nil {
		fmt.Println(err)
		return "mayAttack"
	} else {
		return string(plaintext)

	}

}


	Listener, err := nkn.NewMultiClient(acc, dst, conf.TransThreads, false, nil)
	if err != nil {
		return "error", err
	}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.