Licensed Apache 2.0 > GPL 3.0

This commit is contained in:
杨红岩 2022-10-04 16:38:43 +08:00
parent 19bab7154d
commit ed52b7e7bd
86 changed files with 120 additions and 99 deletions

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -1,3 +1,11 @@
//----------------------------------------
//
// Copyright © yanghy. All Rights Reserved.
//
// Licensed under GNU General Public License v3.0
//
//----------------------------------------
package cef package cef
var ( var (

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------
@ -270,17 +270,10 @@ func removeMemory() {
os.Remove(ipcSock) os.Remove(ipcSock)
} }
var (
//ipcWriteBuf = new(bytes.Buffer)
//ipcWriteLock = new(sync.Mutex)
)
func ipcWrite(triggerMode triggerMode, channelId int64, eventId int32, eventName, data []byte, conn net.Conn) (n int, err error) { func ipcWrite(triggerMode triggerMode, channelId int64, eventId int32, eventName, data []byte, conn net.Conn) (n int, err error) {
defer func() { defer func() {
data = nil data = nil
}() }()
//ipcWriteLock.Lock()
//defer ipcWriteLock.Unlock()
if conn == nil { if conn == nil {
return 0, errors.New("链接未建立成功") return 0, errors.New("链接未建立成功")
} }
@ -299,8 +292,6 @@ func ipcWrite(triggerMode triggerMode, channelId int64, eventId int32, eventName
binary.Write(ipcWriteBuf, binary.BigEndian, int32(dataByteLen)) //数据长度 binary.Write(ipcWriteBuf, binary.BigEndian, int32(dataByteLen)) //数据长度
binary.Write(ipcWriteBuf, binary.BigEndian, eventName) //监听事件名 binary.Write(ipcWriteBuf, binary.BigEndian, eventName) //监听事件名
binary.Write(ipcWriteBuf, binary.BigEndian, data) //数据 binary.Write(ipcWriteBuf, binary.BigEndian, data) //数据
//Logger.Println("IPC Write 事件长度:", eventByteLen, " 数据长度:", dataByteLen, " 发送的数据:", buf.Bytes())
//Logger.Println("IPC Write Null判断:", conn == nil)
n, err = conn.Write(ipcWriteBuf.Bytes()) n, err = conn.Write(ipcWriteBuf.Bytes())
ipcWriteBuf.Reset() ipcWriteBuf.Reset()
return n, err return n, err
@ -351,7 +342,6 @@ func ipcRead(handler *ipcReadHandler) {
low = protocolHeaderLength low = protocolHeaderLength
high = protocolHeaderLength + triggerModeByteLength high = protocolHeaderLength + triggerModeByteLength
err = binary.Read(bytes.NewReader(header[low:high]), binary.BigEndian, &triggerMode) err = binary.Read(bytes.NewReader(header[low:high]), binary.BigEndian, &triggerMode)
//Logger.Debug("IPC Read triggerMode:", triggerMode)
if err != nil { if err != nil {
Logger.Debug("binary.Read.triggerMode: ", err) Logger.Debug("binary.Read.triggerMode: ", err)
return return
@ -359,7 +349,6 @@ func ipcRead(handler *ipcReadHandler) {
low = high low = high
high = high + renderChannelIdByteLength high = high + renderChannelIdByteLength
err = binary.Read(bytes.NewReader(header[low:high]), binary.BigEndian, &channelId) err = binary.Read(bytes.NewReader(header[low:high]), binary.BigEndian, &channelId)
//Logger.Debug("IPC Read channelId:", channelId)
if err != nil { if err != nil {
Logger.Debug("binary.Read.channelId: ", err) Logger.Debug("binary.Read.channelId: ", err)
return return
@ -367,7 +356,6 @@ func ipcRead(handler *ipcReadHandler) {
low = high low = high
high = high + eventIdByteLength high = high + eventIdByteLength
err = binary.Read(bytes.NewReader(header[low:high]), binary.BigEndian, &eventId) err = binary.Read(bytes.NewReader(header[low:high]), binary.BigEndian, &eventId)
//Logger.Debug("IPC Read eventId:", eventId)
if err != nil { if err != nil {
Logger.Debug("binary.Read.eventIdByteLength: ", err) Logger.Debug("binary.Read.eventIdByteLength: ", err)
return return
@ -375,14 +363,12 @@ func ipcRead(handler *ipcReadHandler) {
low = high low = high
high = high + eventNameByteLength high = high + eventNameByteLength
err = binary.Read(bytes.NewReader(header[low:high]), binary.BigEndian, &eventLen) err = binary.Read(bytes.NewReader(header[low:high]), binary.BigEndian, &eventLen)
//Logger.Debug("IPC Read eventLen:", eventLen)
if err != nil { if err != nil {
Logger.Debug("binary.Read.eventLen: ", err) Logger.Debug("binary.Read.eventLen: ", err)
return return
} }
low = high low = high
err = binary.Read(bytes.NewReader(header[low:headerLength]), binary.BigEndian, &dataLen) err = binary.Read(bytes.NewReader(header[low:headerLength]), binary.BigEndian, &dataLen)
//Logger.Debug("IPC Read dataLen:", dataLen, header[low:headerLength])
if err != nil { if err != nil {
Logger.Debug("binary.Read.dataLen: ", err) Logger.Debug("binary.Read.dataLen: ", err)
return return
@ -390,7 +376,6 @@ func ipcRead(handler *ipcReadHandler) {
eventNameByte := make([]byte, eventLen) eventNameByte := make([]byte, eventLen)
size, err = handler.Read(eventNameByte) size, err = handler.Read(eventNameByte)
//Logger.Debug("IPC Read eventNameByte:", eventNameByte)
if err != nil { if err != nil {
Logger.Debug("binary.Read.eventNameByte: ", err) Logger.Debug("binary.Read.eventNameByte: ", err)
return return
@ -401,13 +386,10 @@ func ipcRead(handler *ipcReadHandler) {
if dataLen > 0 { if dataLen > 0 {
size, err = handler.Read(dataByte) size, err = handler.Read(dataByte)
} }
//Logger.Debug("IPC Read dataByteLen:", len(dataByte), "dataByte:", dataByte)
//Logger.Debug("----------------------------------------")
if err != nil { if err != nil {
Logger.Debug("binary.Read.data: ", err) Logger.Debug("binary.Read.data: ", err)
return return
} }
//Logger.Debug("eventName:", eventName, "data:", string(dataByte[:size]), " dataSize:", size, len(dataByte), dataByte, " error:", err)
ctx := &IPCContext{ ctx := &IPCContext{
ipcType: handler.ipcType, ipcType: handler.ipcType,
triggerMode: triggerMode, triggerMode: triggerMode,

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -1 +0,0 @@
package cef

View File

@ -1,3 +1,11 @@
//----------------------------------------
//
// Copyright © yanghy. All Rights Reserved.
//
// Licensed under GNU General Public License v3.0
//
//----------------------------------------
package cef package cef
import ( import (

View File

@ -1,3 +1,11 @@
//----------------------------------------
//
// Copyright © yanghy. All Rights Reserved.
//
// Licensed under GNU General Public License v3.0
//
//----------------------------------------
package cef package cef
import "github.com/energye/golcl/lcl/api" import "github.com/energye/golcl/lcl/api"

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -1,3 +1,11 @@
//----------------------------------------
//
// Copyright © yanghy. All Rights Reserved.
//
// Licensed under GNU General Public License v3.0
//
//----------------------------------------
package cef package cef
import ( import (

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -1,3 +1,11 @@
//----------------------------------------
//
// Copyright © yanghy. All Rights Reserved.
//
// Licensed under GNU General Public License v3.0
//
//----------------------------------------
//go:build darwin //go:build darwin
// +build darwin // +build darwin

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------

View File

@ -2,7 +2,7 @@
// //
// Copyright © yanghy. All Rights Reserved. // Copyright © yanghy. All Rights Reserved.
// //
// Licensed under Apache License 2.0 // Licensed under GNU General Public License v3.0
// //
//---------------------------------------- //----------------------------------------