run dep-prune (remove some readmes and fixtures from vendor dir)
This commit is contained in:
parent
7dfea92749
commit
9bab40e4c6
101
vendor/code.ivysaur.me/libnmdc/__dist/README.txt
generated
vendored
101
vendor/code.ivysaur.me/libnmdc/__dist/README.txt
generated
vendored
@ -1,101 +0,0 @@
|
|||||||
An NMDC / ADC client protocol library for Golang.
|
|
||||||
|
|
||||||
Written in golang
|
|
||||||
Tags: nmdc
|
|
||||||
|
|
||||||
=FEATURES=
|
|
||||||
|
|
||||||
- Connect to NMDC and ADC hubs
|
|
||||||
- SSL (NMDCS/ADCS) with option to ignore certificate validity
|
|
||||||
- Autodetect NMDC/ADC protocol by timeout
|
|
||||||
- Send public and private chat messages, UserCommand support
|
|
||||||
- Protocol keepalives
|
|
||||||
- Parse user details (including UserIP2 for NMDC)
|
|
||||||
- Fast NMDC login via NoHello and QuickList
|
|
||||||
- Both synchronous (callback) and asynchronous (channel) -based APIs, including example
|
|
||||||
|
|
||||||
=GO GET=
|
|
||||||
|
|
||||||
This package can be installed via go get: `go get code.ivysaur.me/libnmdc`
|
|
||||||
[go-get]code.ivysaur.me/libnmdc git https://git.ivysaur.me/code.ivysaur.me/libnmdc.git[/go-get]
|
|
||||||
|
|
||||||
=CHANGELOG=
|
|
||||||
|
|
||||||
2018-03-24 0.17
|
|
||||||
- Feature: Re-add sayInfo() function for reannouncing MyINFO changes
|
|
||||||
|
|
||||||
2017-11-26 0.16
|
|
||||||
- Feature: Support connecting to ADC hubs
|
|
||||||
- BREAKING: Simplify connection API
|
|
||||||
- Vendor new dependency on github.com/cxmcc/tiger (MIT license)
|
|
||||||
|
|
||||||
2017-11-14 0.15
|
|
||||||
- Feature: Fallback reconnection if no data (not even keepalives) are recieved from the hub in 24 hours
|
|
||||||
- Fix an issue with detecting protocol messages inside multi-line chat messages
|
|
||||||
- Update examples and the default client version number
|
|
||||||
|
|
||||||
2017-02-09 0.14
|
|
||||||
- Fix an issue with crashing on malformed IP addresses supplied by the hub
|
|
||||||
|
|
||||||
2017-02-09 0.13
|
|
||||||
- Feature: Implement UserIP2 extension, to retrieve IP addresses of other users
|
|
||||||
- Enhancement: Implement QuickList extension (reduce one network roundtrip during initial connection)
|
|
||||||
- Enhancement: Implement NoHello extension (faster connection performance)
|
|
||||||
- Enhancement: Implement ChatOnly extension
|
|
||||||
- Fix an issue with not notifying client on all MyINFO updates
|
|
||||||
|
|
||||||
2017-02-05 0.12
|
|
||||||
- Fix an issue with mutex deadlock when accessing user information from a callback
|
|
||||||
- Fix an issue with silent disconnection if a password was required but not present
|
|
||||||
|
|
||||||
2016-11-29 0.11
|
|
||||||
- BREAKING: Remove some exported methods
|
|
||||||
- BREAKING: Fix an issue with missing sufficient parameters in the synchronous API
|
|
||||||
- Enhancement: Improve output under godoc
|
|
||||||
- Fix an issue with special characters appearing in recieved private messages
|
|
||||||
- Fix an issue with parsing active/passive connection modes
|
|
||||||
- Fix an issue with errors appearing on stdout
|
|
||||||
|
|
||||||
2016-10-08 r10
|
|
||||||
- Feature: Support `$UserCommand`
|
|
||||||
|
|
||||||
2016-08-27 r9
|
|
||||||
- Fix an issue with parsing MyINFO strings with zero-length speed descriptions
|
|
||||||
- Fix an issue with not storing updated profile information
|
|
||||||
|
|
||||||
2016-05-10 r8
|
|
||||||
- Enhancement: Separate `ClientTag` and `ClientVersion` in `UserInfo` structs
|
|
||||||
|
|
||||||
2016-05-08 r7
|
|
||||||
- BREAKING: Remove direct access to `HubConnection.Users` map
|
|
||||||
- Feature: Threadsafe user map accessor
|
|
||||||
- Feature: Option to disable auto-reconnection
|
|
||||||
- Feature: New `Disconnect()`, `UserCount()`, `UserExists()` functions
|
|
||||||
- Enhancement: Support `$OpList`, add `IsOperator` member to `UserInfo` structs
|
|
||||||
- Refactor into multiple files
|
|
||||||
|
|
||||||
2016-04-16 r6
|
|
||||||
- Fix an issue with calling `panic()` on certain types of abnormal network failure
|
|
||||||
|
|
||||||
2016-04-04 r5
|
|
||||||
- Enhancement: Support protocol keepalives
|
|
||||||
- Enhancement: Support hub redirects (`$ForceMove`)
|
|
||||||
|
|
||||||
2016-04-03 r4
|
|
||||||
- Feature: Add synchronous API
|
|
||||||
- Fix an issue with reading HubConnection's state parameter
|
|
||||||
- Fix an issue with buffered protocol commands
|
|
||||||
|
|
||||||
2016-04-03 r3
|
|
||||||
- Feature: Add `SkipVerifyTLS` option
|
|
||||||
- Fix an issue with calling `panic()` if connection failed
|
|
||||||
|
|
||||||
2016-04-02 r2
|
|
||||||
- Enhancement: Support NMDC-over-TLS (NMDCS)
|
|
||||||
- Fix an issue recieving private messages
|
|
||||||
- Fix an issue with calling `panic()` if connection failed
|
|
||||||
- Fix an issue parsing URIs without a specified port
|
|
||||||
- Move sample content into directory with excluded build
|
|
||||||
|
|
||||||
2016-02-12 r1
|
|
||||||
- Initial public release
|
|
BIN
vendor/github.com/go-telegram-bot-api/telegram-bot-api/tests/audio.mp3
generated
vendored
BIN
vendor/github.com/go-telegram-bot-api/telegram-bot-api/tests/audio.mp3
generated
vendored
Binary file not shown.
18
vendor/github.com/go-telegram-bot-api/telegram-bot-api/tests/cert.pem
generated
vendored
18
vendor/github.com/go-telegram-bot-api/telegram-bot-api/tests/cert.pem
generated
vendored
@ -1,18 +0,0 @@
|
|||||||
-----BEGIN CERTIFICATE-----
|
|
||||||
MIIC0zCCAbugAwIBAgIJAPYfllX657axMA0GCSqGSIb3DQEBCwUAMAAwHhcNMTUx
|
|
||||||
MTIxMTExMDQxWhcNMjUwODIwMTExMDQxWjAAMIIBIjANBgkqhkiG9w0BAQEFAAOC
|
|
||||||
AQ8AMIIBCgKCAQEAoMMSIIgYx8pT8Kz1O8Ukd/JVyqBQYRSo0enqEzo7295VROXq
|
|
||||||
TUthbEbdi0OczUfl4IsAWppOSRrDwEguJZ0cJ/r6IxGsbrCdQr2MjgiomYtAXKKQ
|
|
||||||
GAGL5Wls+AzcRNV0OszVJzkDNFYZzgNejyitGJSNEQMyU8r2gyPyIWP9MQKQst8y
|
|
||||||
Mg91R/7l9jwf6AWwNxykZlYZurtsQ6XsBPZpF9YOFL7vZYPhKUFiNEm+74RpojC7
|
|
||||||
Gt6nztYAUI2V/F+1uoXAr8nLpbj9SD0VSwyZLRG1uIVLBzhb0lfOIzAvJ45EKki9
|
|
||||||
nejyoXfH1U5+iMzdSAdcy3MCBhpEZwJPqhDqeQIDAQABo1AwTjAdBgNVHQ4EFgQU
|
|
||||||
JE0RLM+ohLnlDz0Qk0McCxtDK2MwHwYDVR0jBBgwFoAUJE0RLM+ohLnlDz0Qk0Mc
|
|
||||||
CxtDK2MwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAEmgME00JYuYZ
|
|
||||||
4wNaGrJskZ05ZnP+TXJusmBui9ToQ4UoykuyY5rsdGQ3SdzXPLdmd2nfMsw63iK2
|
|
||||||
D7rjcH/rmn6fRccZqN0o0SXd/EuHeIoeW1Xnnivbt71b6mcOAeNg1UsMYxnMAVl0
|
|
||||||
ywdkta8gURltagSfXoUbqlnSxn/zCwqaxxcQXA/CnunvRsFtQrwWjDBPg/BPULHX
|
|
||||||
DEh2AactGtnGqEZ5iap/VCOVnmL6iPdJ1x5UIF/gS6U96wL+GHfcs1jCvPg+GEwR
|
|
||||||
3inh9oTXG9L21ge4lbGiPUIMBjtVcB3bXuQbOfec9Cr3ZhcQeZj680BIRxD/pNpA
|
|
||||||
O/XeCfjfkw==
|
|
||||||
-----END CERTIFICATE-----
|
|
BIN
vendor/github.com/go-telegram-bot-api/telegram-bot-api/tests/image.jpg
generated
vendored
BIN
vendor/github.com/go-telegram-bot-api/telegram-bot-api/tests/image.jpg
generated
vendored
Binary file not shown.
Before Width: | Height: | Size: 84 KiB |
28
vendor/github.com/go-telegram-bot-api/telegram-bot-api/tests/key.pem
generated
vendored
28
vendor/github.com/go-telegram-bot-api/telegram-bot-api/tests/key.pem
generated
vendored
@ -1,28 +0,0 @@
|
|||||||
-----BEGIN PRIVATE KEY-----
|
|
||||||
MIIEwAIBADANBgkqhkiG9w0BAQEFAAS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
B/vinLK0PemQWrh32iBcd+vhSilOSQtUm1nko1jLK8C4s8X2vZYua4m5tcK9VqCt
|
|
||||||
maCCq/ffxzsoW/GN8japnduz+qA+hKWJzW/aYR8tsOeqzjVqj4iIqPI4HuokrDi/
|
|
||||||
UD/QLgq5UTcCgYEAk2ZC0Kx15dXB7AtDq63xOTcUoAtXXRkSgohV58npEKXVGWkQ
|
|
||||||
Kk0SjG7Fvc35XWlY0z3qZk6/AuOIqfOxcHUMEPatAtgwlH5RNo+T1EQNF/U6wotq
|
|
||||||
e9q6vp026XgEyJwt29Y+giy2ZrDaRywgiFs1d0H3t0bKyXMUopQmPJFXdesCgYEA
|
|
||||||
psCxXcDpZjxGX/zPsGZrbOdxtRtisTlg0k0rp93pO8tV90HtDHeDMT54g2ItzJPr
|
|
||||||
TMev6XOpJNPZyf6+8GhpOuO2EQkT85u2VYoCeslz95gBabvFfIzZrUZYcnw76bm8
|
|
||||||
YjAP5DN+CEfq2PyG0Df+W1ojPSvlKSCSJQMOG1vr81cCgYEAkjPY5WR99uJxYBNI
|
|
||||||
OTFMSkETgDUbPXBu/E/h5Dtn79v8Moj9FvC7+q6sg9qXhrGhfK2xDev3/sTrbS/E
|
|
||||||
Gcf8UNIne3AXsoAS8MtkOwJXHkYaTIboIYgDX4LlDmbGQlIRaWgyh2POI6VtjLBT
|
|
||||||
ms6AdsdpIB6As9xNUBUwj/RnTZQ=
|
|
||||||
-----END PRIVATE KEY-----
|
|
BIN
vendor/github.com/go-telegram-bot-api/telegram-bot-api/tests/video.mp4
generated
vendored
BIN
vendor/github.com/go-telegram-bot-api/telegram-bot-api/tests/video.mp4
generated
vendored
Binary file not shown.
BIN
vendor/github.com/go-telegram-bot-api/telegram-bot-api/tests/videonote.mp4
generated
vendored
BIN
vendor/github.com/go-telegram-bot-api/telegram-bot-api/tests/videonote.mp4
generated
vendored
Binary file not shown.
BIN
vendor/github.com/go-telegram-bot-api/telegram-bot-api/tests/voice.ogg
generated
vendored
BIN
vendor/github.com/go-telegram-bot-api/telegram-bot-api/tests/voice.ogg
generated
vendored
Binary file not shown.
31
vendor/github.com/technoweenie/multipartstreamer/examples/multipart.go
generated
vendored
31
vendor/github.com/technoweenie/multipartstreamer/examples/multipart.go
generated
vendored
@ -1,31 +0,0 @@
|
|||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"bytes"
|
|
||||||
"flag"
|
|
||||||
"fmt"
|
|
||||||
"io"
|
|
||||||
"mime/multipart"
|
|
||||||
"os"
|
|
||||||
"path/filepath"
|
|
||||||
)
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
defaultPath, _ := os.Getwd()
|
|
||||||
defaultFile := filepath.Join(defaultPath, "streamer.go")
|
|
||||||
fullpath := flag.String("path", defaultFile, "Path to the include in the multipart data.")
|
|
||||||
flag.Parse()
|
|
||||||
|
|
||||||
buffer := bytes.NewBufferString("")
|
|
||||||
writer := multipart.NewWriter(buffer)
|
|
||||||
|
|
||||||
fmt.Println("Adding the file to the multipart writer")
|
|
||||||
fileWriter, _ := writer.CreateFormFile("file", *fullpath)
|
|
||||||
fileData, _ := os.Open(*fullpath)
|
|
||||||
io.Copy(fileWriter, fileData)
|
|
||||||
writer.Close()
|
|
||||||
|
|
||||||
fmt.Println("Writing the multipart data to a file")
|
|
||||||
output, _ := os.Create("multiparttest")
|
|
||||||
io.Copy(output, buffer)
|
|
||||||
}
|
|
27
vendor/github.com/technoweenie/multipartstreamer/examples/streamer.go
generated
vendored
27
vendor/github.com/technoweenie/multipartstreamer/examples/streamer.go
generated
vendored
@ -1,27 +0,0 @@
|
|||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"flag"
|
|
||||||
"fmt"
|
|
||||||
"github.com/technoweenie/multipartstreamer"
|
|
||||||
"io"
|
|
||||||
"os"
|
|
||||||
"path/filepath"
|
|
||||||
)
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
defaultPath, _ := os.Getwd()
|
|
||||||
defaultFile := filepath.Join(defaultPath, "streamer.go")
|
|
||||||
fullpath := flag.String("path", defaultFile, "Path to the include in the multipart data.")
|
|
||||||
flag.Parse()
|
|
||||||
|
|
||||||
ms := multipartstreamer.New()
|
|
||||||
|
|
||||||
fmt.Println("Adding the file to the multipart writer")
|
|
||||||
ms.WriteFile("file", *fullpath)
|
|
||||||
reader := ms.GetReader()
|
|
||||||
|
|
||||||
fmt.Println("Writing the multipart data to a file")
|
|
||||||
file, _ := os.Create("streamtest")
|
|
||||||
io.Copy(file, reader)
|
|
||||||
}
|
|
2
vendor/github.com/technoweenie/multipartstreamer/script/test
generated
vendored
2
vendor/github.com/technoweenie/multipartstreamer/script/test
generated
vendored
@ -1,2 +0,0 @@
|
|||||||
gofmt -l -w .
|
|
||||||
go test
|
|
Loading…
Reference in New Issue
Block a user