This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.ComponentModel; | |
| using Microsoft.Xna.Framework; | |
| using Microsoft.Xna.Framework.Graphics; | |
| using Microsoft.Xna.Framework.Graphics.PackedVector; | |
| using Microsoft.Xna.Framework.Content.Pipeline; | |
| using Microsoft.Xna.Framework.Content.Pipeline.Graphics; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SIGQUIT: quit | |
| pc: 0x9e09a | |
| syscall.Syscall6() | |
| /Users/jamesgray/go/src/pkg/syscall/asm_darwin_amd64.s:48 +0x30 | |
| syscall.kevent(0x6, 0x0, 0x0, 0xf8400bb008, 0xf80000000a, ...) | |
| /Users/jamesgray/go/src/pkg/syscall/zsyscall_darwin_amd64.go:199 +0x88 | |
| syscall.Kevent(0xf800000006, 0x0, 0x0, 0xf8400bb008, 0xa0000000a, ...) | |
| /Users/jamesgray/go/src/pkg/syscall/syscall_bsd.go:538 +0xa4 | |
| net.(*pollster).WaitFD(0xf8400bb000, 0xf8400a68c0, 0x0, 0x0, 0x0, ...) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| === RUN TestSimple | |
| *wsevents_test.SimpleHandler has 4 methods | |
| reflect.Method{Name:"OnClose", PkgPath:"", Type:(*reflect.commonType)(0x161020), Func:reflect.Value{typ:(*reflect.commonType)(0x161020), val:(unsafe.Pointer)(0x26b02), flag:0x130}, Index:0} | |
| reflect.Method{Name:"OnError", PkgPath:"", Type:(*reflect.commonType)(0x161020), Func:reflect.Value{typ:(*reflect.commonType)(0x161020), val:(unsafe.Pointer)(0x26a76), flag:0x130}, Index:1} | |
| reflect.Method{Name:"OnOpen", PkgPath:"", Type:(*reflect.commonType)(0x160fa8), Func:reflect.Value{typ:(*reflect.commonType)(0x160fa8), val:(unsafe.Pointer)(0x26a55), flag:0x130}, Index:2} | |
| reflect.Method{Name:"OnTestMsg", PkgPath:"", Type:(*reflect.commonType)(0x161098), Func:reflect.Value{typ:(*reflect.commonType)(0x161098), val:(unsafe.Pointer)(0x26b8e), flag:0x130}, Index:3} | |
| read | |
| selecting | |
| firing wsevents.jsonObj{"name":"testmsg", "args":[]interface {}{"test 123![]{}@"}} | |
| before msg send |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| func mail(msg ...interface{}) { | |
| str := "Subject: " + Config.GMail.Subject + "\r\n\r\n" + fmt.Sprint(msg) | |
| smtp.SendMail("smtp.gmail.com:587", | |
| smtp.PlainAuth("", Config.GMail.User, Config.GMail.Password, "smtp.gmail.com"), | |
| Config.GMail.From, | |
| []string{Config.GMail.To}, | |
| []byte(str)) | |
| } |
NewerOlder