├── grpcservice ├── db │ ├── dbserver │ │ ├── lvdb │ │ │ ├── LOCK │ │ │ ├── 000040.log │ │ │ ├── CURRENT │ │ │ ├── CURRENT.bak │ │ │ └── MANIFEST-000041 │ │ └── dblog.log │ └── server │ │ └── lvdb │ │ ├── LOCK │ │ ├── 000038.log │ │ ├── CURRENT │ │ ├── CURRENT.bak │ │ └── MANIFEST-000039 ├── servicecmd │ └── lvdb │ │ ├── LOCK │ │ ├── 000003.log │ │ ├── CURRENT │ │ ├── CURRENT.bak │ │ ├── 000002.ldb │ │ └── MANIFEST-000004 ├── login │ └── loginproto │ │ └── login.proto └── register │ └── registerproto │ └── register.proto ├── logcatchsys ├── web_admin │ └── static │ │ ├── image │ │ ├── css │ │ ├── bg-opacity.png │ │ ├── bg-white-lock.png │ │ ├── icon-img-down.png │ │ ├── icon-img-up.png │ │ ├── sort_asc_disabled.png │ │ ├── sort_desc_disabled.png │ │ ├── inbox-nav-arrow-blue.png │ │ ├── 1.jpg │ │ ├── 2.jpg │ │ ├── 3.jpg │ │ ├── 4.jpg │ │ ├── 5.jpg │ │ ├── 6.jpg │ │ ├── 7.jpg │ │ ├── 8.jpg │ │ ├── 9.jpg │ │ ├── 10.jpg │ │ ├── 11.jpg │ │ ├── bg │ │ │ ├── 1.jpg │ │ │ ├── 2.jpg │ │ │ ├── 3.jpg │ │ │ └── 4.jpg │ │ ├── hue.png │ │ ├── img1.png │ │ ├── img2.png │ │ ├── img3.png │ │ ├── img4.png │ │ ├── logo.png │ │ ├── rss.png │ │ ├── vk.png │ │ ├── xing.png │ │ ├── KwPYo.jpg │ │ ├── alpha.png │ │ ├── amazon.png │ │ ├── avatar.png │ │ ├── blank.gif │ │ ├── earth.jpg │ │ ├── forrst.png │ │ ├── github.png │ │ ├── image1.jpg │ │ ├── image2.jpg │ │ ├── image3.jpg │ │ ├── image4.jpg │ │ ├── image5.jpg │ │ ├── img1_2.png │ │ ├── iphone.png │ │ ├── photo1.jpg │ │ ├── photo2.jpg │ │ ├── photo3.jpg │ │ ├── photo4.jpg │ │ ├── photo5.jpg │ │ ├── photo6.jpg │ │ ├── picasa.png │ │ ├── skype.png │ │ ├── sprite.png │ │ ├── switch.png │ │ ├── tumblr.png │ │ ├── vimeo.png │ │ ├── yahoo.png │ │ ├── avatar1.jpg │ │ ├── avatar2.jpg │ │ ├── avatar3.jpg │ │ ├── behance.png │ │ ├── bg-input.png │ │ ├── blogger.png │ │ ├── dribbble.png │ │ ├── dropbox.png │ │ ├── evernote.png │ │ ├── facebook.png │ │ ├── favicon.ico │ │ ├── gritter.png │ │ ├── ie-spacer.gif │ │ ├── instagram.png │ │ ├── item_img.jpg │ │ ├── item_img1.jpg │ │ ├── jolicloud.png │ │ ├── last-fm.png │ │ ├── linkedin.png │ │ ├── loading.gif │ │ ├── logo-big.png │ │ ├── pintrest.png │ │ ├── profile.jpg │ │ ├── select2.png │ │ ├── select2x2.png │ │ ├── sort_asc.png │ │ ├── sort_both.png │ │ ├── sort_desc.png │ │ ├── spotify.png │ │ ├── spritemap.png │ │ ├── twitter.png │ │ ├── walmart.png │ │ ├── wordpress.png │ │ ├── youtube.png │ │ ├── deviantart.png │ │ ├── glyphicons.png │ │ ├── googleplus.png │ │ ├── icon-color.png │ │ ├── logo_azteca.jpg │ │ ├── preview_02.png │ │ ├── preview_03.png │ │ ├── preview_04.png │ │ ├── preview_05.png │ │ ├── preview_06.png │ │ ├── preview_07.png │ │ ├── preview_08.png │ │ ├── preview_09.png │ │ ├── preview_10.png │ │ ├── preview_11.png │ │ ├── preview_12.png │ │ ├── preview_13.png │ │ ├── preview_14.png │ │ ├── preview_15.png │ │ ├── preview_16.png │ │ ├── preview_17.png │ │ ├── profile-img.png │ │ ├── progressbar.gif │ │ ├── saturation.png │ │ ├── search-icon.png │ │ ├── social_rss.png │ │ ├── stumbleupon.png │ │ ├── avatar1_small.jpg │ │ ├── bg-input-focus.png │ │ ├── chosen-sprite.png │ │ ├── gritter-light.png │ │ ├── logo_conquer.jpg │ │ ├── logo_metronic.jpg │ │ ├── menu-toggler.png │ │ ├── overlay-icon.png │ │ ├── social_twitter.png │ │ ├── spritemap@2x.png │ │ ├── animated-overlay.gif │ │ ├── bstree-halflings.png │ │ ├── fancybox_loading.gif │ │ ├── fancybox_overlay.png │ │ ├── fancybox_sprite.png │ │ ├── glyphicons-white.png │ │ ├── hor-menu-search.png │ │ ├── icon-color-close.png │ │ ├── select2-spinner.gif │ │ ├── sidebar-toggler.jpg │ │ ├── social_facebook.png │ │ ├── social_linkedin.png │ │ ├── syncfusion-icons.png │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.ttf │ │ ├── glyphicons-regular.eot │ │ ├── glyphicons-regular.ttf │ │ ├── glyphicons-regular.woff │ │ ├── portlet-config-icon.png │ │ ├── portlet-expand-icon.png │ │ ├── portlet-reload-icon.png │ │ ├── portlet-remove-icon.png │ │ ├── remove-icon-small.png │ │ ├── sidebar-menu-arrow.png │ │ ├── social_googleplus.png │ │ ├── fontawesome-webfont.woff │ │ ├── glyphicons-halflings.png │ │ ├── glyphicons_halflings.png │ │ ├── hor-menu-search-close.png │ │ ├── portlet-collapse-icon.png │ │ ├── sidebar-search-close.png │ │ ├── datatable-row-openclose.png │ │ ├── syncfusion-icons-white.png │ │ ├── ui-icons_222222_256x240.png │ │ ├── ui-icons_228ef1_256x240.png │ │ ├── ui-icons_888888_256x240.png │ │ ├── ui-icons_ef8c08_256x240.png │ │ ├── ui-icons_ffd27a_256x240.png │ │ ├── ui-icons_ffffff_256x240.png │ │ ├── glyphicons-halflings-white.png │ │ ├── glyphicons_halflings-white.png │ │ ├── portlet-config-icon-white.png │ │ ├── portlet-expand-icon-white.png │ │ ├── portlet-reload-icon-white.png │ │ ├── portlet-remove-icon-white.png │ │ ├── glyphiconshalflings-regular.eot │ │ ├── glyphiconshalflings-regular.ttf │ │ ├── glyphiconshalflings-regular.woff │ │ ├── hor-menu-search-close-white.png │ │ ├── portlet-collapse-icon-white.png │ │ ├── ui-bg_flat_10_000000_40x100.png │ │ ├── ui-bg_glass_100_f6f6f6_1x400.png │ │ ├── ui-bg_glass_100_fdf5ce_1x400.png │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ ├── js │ │ ├── ui-bg_gloss-wave_35_f6a828_500x100.png │ │ ├── ui-bg_highlight-soft_75_ffe45c_1x100.png │ │ ├── ui-bg_diagonals-thick_18_b81900_40x40.png │ │ ├── ui-bg_diagonals-thick_20_666666_40x40.png │ │ └── ui-bg_highlight-soft_100_eeeeee_1x100.png │ │ ├── js │ │ ├── excanvas.js │ │ ├── respond.js │ │ ├── bootstrap-rtl.min.js │ │ ├── jquery-1.8.3.min.js │ │ ├── gallery.js │ │ ├── search.js │ │ └── reload.min.js │ │ └── css │ │ ├── jquery.ui.slider.css │ │ ├── bootstrap-responsive1.min.css │ │ ├── jquery-ui-1.10.1.custom.min.css │ │ ├── jquery.easy-pie-chart.css │ │ └── about-us.css ├── logdealsys │ └── main.go └── config-etcd-srv │ └── etcd_start.sh ├── vendor ├── github.com │ ├── xdg │ │ ├── scram │ │ │ ├── .gitignore │ │ │ └── .travis.yml │ │ └── stringprep │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ └── error.go │ ├── cespare │ │ └── xxhash │ │ │ └── v2 │ │ │ ├── go.sum │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ └── xxhash_amd64.go │ ├── micro │ │ ├── go-micro │ │ │ ├── CNAME │ │ │ ├── _config.yml │ │ │ ├── runtime │ │ │ │ ├── process │ │ │ │ │ ├── options.go │ │ │ │ │ └── os │ │ │ │ │ │ └── process.go │ │ │ │ ├── build │ │ │ │ │ └── options.go │ │ │ │ └── source │ │ │ │ │ └── options.go │ │ │ ├── registry │ │ │ │ └── cache │ │ │ │ │ └── options.go │ │ │ ├── transport │ │ │ │ ├── grpc │ │ │ │ │ └── proto │ │ │ │ │ │ └── transport.proto │ │ │ │ └── http │ │ │ │ │ └── http.go │ │ │ ├── codec │ │ │ │ └── protorpc │ │ │ │ │ └── envelope.proto │ │ │ ├── server │ │ │ │ └── mucp │ │ │ │ │ └── mucp.go │ │ │ ├── broker │ │ │ │ └── http │ │ │ │ │ └── http.go │ │ │ ├── client │ │ │ │ ├── mucp │ │ │ │ │ └── mucp.go │ │ │ │ └── context.go │ │ │ ├── plugin │ │ │ │ └── template.go │ │ │ ├── util │ │ │ │ └── buf │ │ │ │ │ └── buf.go │ │ │ └── publisher.go │ │ ├── cli │ │ │ ├── .flake8 │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ ├── go.sum │ │ │ └── .travis.yml │ │ ├── go-plugins │ │ │ ├── registry │ │ │ │ └── etcdv3 │ │ │ │ │ ├── go.mod │ │ │ │ │ └── options.go │ │ │ └── broker │ │ │ │ └── grpc │ │ │ │ ├── go.mod │ │ │ │ └── proto │ │ │ │ └── broker.proto │ │ └── mdns │ │ │ ├── go.mod │ │ │ └── .gitignore │ ├── modern-go │ │ ├── reflect2 │ │ │ ├── reflect2_amd64.s │ │ │ ├── relfect2_386.s │ │ │ ├── relfect2_arm.s │ │ │ ├── relfect2_arm64.s │ │ │ ├── relfect2_mipsx.s │ │ │ ├── relfect2_s390x.s │ │ │ ├── relfect2_amd64p32.s │ │ │ ├── relfect2_mips64x.s │ │ │ ├── relfect2_ppc64x.s │ │ │ ├── .gitignore │ │ │ ├── go_below_17.go │ │ │ ├── go_above_17.go │ │ │ ├── .travis.yml │ │ │ ├── go_below_19.go │ │ │ ├── go_above_19.go │ │ │ └── test.sh │ │ └── concurrent │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── go_above_19.go │ │ │ ├── test.sh │ │ │ └── log.go │ ├── spf13 │ │ ├── pflag │ │ │ ├── .gitignore │ │ │ └── .travis.yml │ │ ├── afero │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ └── appveyor.yml │ │ ├── jwalterweatherman │ │ │ ├── go.mod │ │ │ └── .gitignore │ │ ├── viper │ │ │ ├── .gitignore │ │ │ └── .editorconfig │ │ ├── cobra │ │ │ ├── command_notwin.go │ │ │ ├── .mailmap │ │ │ └── go.mod │ │ └── cast │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ └── .gitignore │ ├── subosito │ │ └── gotenv │ │ │ ├── .env │ │ │ ├── .env.invalid │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ └── appveyor.yml │ ├── prometheus │ │ ├── procfs │ │ │ ├── .gitignore │ │ │ ├── .golangci.yml │ │ │ ├── MAINTAINERS.md │ │ │ ├── go.mod │ │ │ └── NOTICE │ │ ├── client_golang │ │ │ └── prometheus │ │ │ │ ├── .gitignore │ │ │ │ └── README.md │ │ ├── client_model │ │ │ └── NOTICE │ │ └── common │ │ │ └── NOTICE │ ├── hpcloud │ │ └── tail │ │ │ ├── .gitignore │ │ │ ├── ratelimiter │ │ │ └── storage.go │ │ │ ├── Makefile │ │ │ ├── tail_posix.go │ │ │ ├── tail_windows.go │ │ │ ├── .travis.yml │ │ │ └── appveyor.yml │ ├── miekg │ │ └── dns │ │ │ ├── AUTHORS │ │ │ ├── .gitignore │ │ │ ├── .codecov.yml │ │ │ ├── CONTRIBUTORS │ │ │ ├── .travis.yml │ │ │ └── version.go │ ├── google │ │ └── uuid │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ ├── CONTRIBUTORS │ │ │ └── CONTRIBUTING.md │ ├── klauspost │ │ └── compress │ │ │ ├── huff0 │ │ │ └── .gitignore │ │ │ ├── snappy │ │ │ └── runbench.cmd │ │ │ └── zstd │ │ │ └── internal │ │ │ └── xxhash │ │ │ ├── xxhash_amd64.go │ │ │ └── xxhash_safe.go │ ├── go-stack │ │ └── stack │ │ │ ├── go.mod │ │ │ └── .travis.yml │ ├── golang │ │ ├── snappy │ │ │ └── go.mod │ │ └── protobuf │ │ │ ├── AUTHORS │ │ │ ├── CONTRIBUTORS │ │ │ └── ptypes │ │ │ └── doc.go │ ├── fsnotify │ │ └── fsnotify │ │ │ ├── .gitattributes │ │ │ ├── go.mod │ │ │ ├── go.sum │ │ │ ├── .gitignore │ │ │ ├── .editorconfig │ │ │ ├── open_mode_bsd.go │ │ │ └── open_mode_darwin.go │ ├── hashicorp │ │ ├── go-uuid │ │ │ ├── go.mod │ │ │ └── .travis.yml │ │ ├── golang-lru │ │ │ ├── go.mod │ │ │ └── .gitignore │ │ └── hcl │ │ │ ├── go.mod │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── go.sum │ │ │ ├── Makefile │ │ │ └── hcl │ │ │ └── parser │ │ │ └── error.go │ ├── matttproud │ │ └── golang_protobuf_extensions │ │ │ ├── pbutil │ │ │ ├── .gitignore │ │ │ └── Makefile │ │ │ └── NOTICE │ ├── mitchellh │ │ ├── go-homedir │ │ │ └── go.mod │ │ ├── mapstructure │ │ │ ├── go.mod │ │ │ └── .travis.yml │ │ └── hashstructure │ │ │ └── go.mod │ ├── json-iterator │ │ └── go │ │ │ ├── .codecov.yml │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── test.sh │ │ │ └── go.mod │ ├── magiconair │ │ └── properties │ │ │ ├── go.mod │ │ │ ├── .gitignore │ │ │ └── .travis.yml │ ├── josharian │ │ └── intern │ │ │ ├── go.mod │ │ │ └── README.md │ ├── pelletier │ │ └── go-toml │ │ │ ├── .dockerignore │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ ├── PULL_REQUEST_TEMPLATE.md │ │ │ ├── marshal_OrderPreserve_Map_test.toml │ │ │ ├── Dockerfile │ │ │ └── fuzz.sh │ ├── go-sql-driver │ │ └── mysql │ │ │ ├── go.mod │ │ │ └── .gitignore │ ├── BurntSushi │ │ └── toml │ │ │ ├── session.vim │ │ │ ├── .gitignore │ │ │ ├── COMPATIBLE │ │ │ ├── .travis.yml │ │ │ └── Makefile │ ├── astaxie │ │ └── beego │ │ │ ├── .gitignore │ │ │ └── context │ │ │ └── renderer.go │ ├── mailru │ │ └── easyjson │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ ├── go.sum │ │ │ └── .travis.yml │ ├── jmespath │ │ └── go-jmespath │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ └── README.md │ ├── nats-io │ │ ├── jwt │ │ │ ├── go.mod │ │ │ ├── ReleaseNotes.md │ │ │ ├── .gitignore │ │ │ └── Makefile │ │ ├── nkeys │ │ │ ├── TODO.md │ │ │ ├── go.mod │ │ │ ├── GOVERNANCE.md │ │ │ ├── MAINTAINERS.md │ │ │ └── .gitignore │ │ ├── nats.go │ │ │ ├── go.mod │ │ │ ├── GOVERNANCE.md │ │ │ └── MAINTAINERS.md │ │ └── nuid │ │ │ ├── GOVERNANCE.md │ │ │ ├── MAINTAINERS.md │ │ │ └── .gitignore │ ├── cheekybits │ │ └── genny │ │ │ └── generic │ │ │ └── doc.go │ ├── eapache │ │ ├── queue │ │ │ ├── .travis.yml │ │ │ └── .gitignore │ │ └── go-xerial-snappy │ │ │ ├── .travis.yml │ │ │ └── fuzz.go │ ├── lucas-clemente │ │ └── quic-go │ │ │ ├── .editorconfig │ │ │ ├── internal │ │ │ ├── ackhandler │ │ │ │ ├── gen.go │ │ │ │ └── frame.go │ │ │ ├── congestion │ │ │ │ └── stats.go │ │ │ ├── utils │ │ │ │ ├── streamframe_interval.go │ │ │ │ ├── packet_interval.go │ │ │ │ └── new_connection_id.go │ │ │ └── handshake │ │ │ │ └── mockgen.go │ │ │ ├── quictrace │ │ │ └── README.md │ │ │ └── .gitignore │ ├── oxtoacart │ │ └── bpool │ │ │ ├── go.mod │ │ │ └── bpool.go │ ├── rcrowley │ │ └── go-metrics │ │ │ ├── runtime_no_cgo.go │ │ │ ├── .gitignore │ │ │ ├── runtime_cgo.go │ │ │ ├── runtime_no_gccpufraction.go │ │ │ ├── runtime_gccpufraction.go │ │ │ └── validate.sh │ ├── aws │ │ └── aws-sdk-go │ │ │ ├── NOTICE.txt │ │ │ ├── internal │ │ │ ├── ini │ │ │ │ ├── empty_token.go │ │ │ │ ├── comma_token.go │ │ │ │ └── fuzz.go │ │ │ ├── sdkio │ │ │ │ ├── byte.go │ │ │ │ ├── io_go1.6.go │ │ │ │ └── io_go1.7.go │ │ │ ├── sdkmath │ │ │ │ └── floor.go │ │ │ └── strings │ │ │ │ └── strings.go │ │ │ └── aws │ │ │ ├── signer │ │ │ └── v4 │ │ │ │ ├── options.go │ │ │ │ ├── request_context_go1.7.go │ │ │ │ └── request_context_go1.5.go │ │ │ ├── version.go │ │ │ ├── credentials │ │ │ └── example.ini │ │ │ ├── url.go │ │ │ ├── context_1_9.go │ │ │ └── jsonvalue.go │ ├── coreos │ │ ├── etcd │ │ │ └── NOTICE │ │ ├── pkg │ │ │ └── NOTICE │ │ ├── go-semver │ │ │ └── NOTICE │ │ └── go-systemd │ │ │ └── NOTICE │ ├── pierrec │ │ └── lz4 │ │ │ └── decode_amd64.go │ ├── Shopify │ │ └── sarama │ │ │ └── dev.yml │ ├── jmoiron │ │ └── sqlx │ │ │ ├── go.mod │ │ │ └── .gitignore │ ├── pkg │ │ └── errors │ │ │ ├── .travis.yml │ │ │ └── .gitignore │ ├── marten-seemann │ │ ├── qtls │ │ │ └── go.mod │ │ └── chacha20 │ │ │ └── README.md │ ├── olivere │ │ └── elastic │ │ │ ├── run-es.sh │ │ │ ├── config │ │ │ └── doc.go │ │ │ ├── uritemplates │ │ │ └── utils.go │ │ │ └── logger.go │ └── jcmturner │ │ └── gofork │ │ └── encoding │ │ └── asn1 │ │ └── README.md ├── google.golang.org │ ├── grpc │ │ ├── AUTHORS │ │ ├── GOVERNANCE.md │ │ ├── CODE-OF-CONDUCT.md │ │ └── install_gae.sh │ └── protobuf │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── internal │ │ ├── flags │ │ │ ├── proto_legacy_disable.go │ │ │ └── proto_legacy_enable.go │ │ ├── fieldnum │ │ │ ├── empty_gen.go │ │ │ └── doc.go │ │ ├── impl │ │ │ └── codec_map_go112.go │ │ └── errors │ │ │ └── is_go113.go │ │ └── encoding │ │ └── prototext │ │ └── doc.go ├── golang.org │ └── x │ │ ├── net │ │ ├── http2 │ │ │ ├── .gitignore │ │ │ └── Makefile │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── internal │ │ │ └── socket │ │ │ │ ├── sys_darwin.go │ │ │ │ ├── empty.s │ │ │ │ ├── sys_linux_amd64.go │ │ │ │ ├── sys_linux_arm.go │ │ │ │ ├── sys_linux_arm64.go │ │ │ │ ├── sys_linux_mips.go │ │ │ │ ├── sys_linux_ppc64.go │ │ │ │ ├── sys_linux_mips64.go │ │ │ │ ├── sys_linux_mips64le.go │ │ │ │ ├── sys_linux_mipsle.go │ │ │ │ ├── sys_linux_ppc64le.go │ │ │ │ ├── sys_linux_riscv64.go │ │ │ │ ├── norace.go │ │ │ │ ├── iovec_stub.go │ │ │ │ ├── msghdr_openbsd.go │ │ │ │ ├── sys_linux_386.s │ │ │ │ ├── sys_linux_s390x.s │ │ │ │ └── sys_solaris_amd64.s │ │ ├── bpf │ │ │ └── setter.go │ │ ├── ipv4 │ │ │ └── sys_stub.go │ │ └── ipv6 │ │ │ └── sys_stub.go │ │ ├── sys │ │ ├── unix │ │ │ ├── .gitignore │ │ │ ├── endian_big.go │ │ │ ├── endian_little.go │ │ │ ├── constants.go │ │ │ ├── syscall_darwin_386.1_11.go │ │ │ ├── syscall_darwin_amd64.1_11.go │ │ │ ├── syscall_darwin_arm.1_11.go │ │ │ ├── syscall_darwin_arm64.1_11.go │ │ │ └── syscall_linux_amd64_gc.go │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── cpu │ │ │ ├── cpu_mipsx.go │ │ │ ├── cpu_other_arm64.go │ │ │ ├── cpu_riscv64.go │ │ │ ├── cpu_mips64x.go │ │ │ ├── cpu_linux_noinit.go │ │ │ ├── cpu_gc_arm64.go │ │ │ ├── cpu_gccgo_arm64.go │ │ │ └── cpu_linux.go │ │ └── windows │ │ │ ├── empty.s │ │ │ ├── aliases.go │ │ │ └── mksyscall.go │ │ ├── lint │ │ ├── go.mod │ │ └── .travis.yml │ │ ├── sync │ │ ├── AUTHORS │ │ └── CONTRIBUTORS │ │ ├── text │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ └── secure │ │ │ └── bidirule │ │ │ └── bidirule10.0.0.go │ │ ├── tools │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── internal │ │ │ └── packagesinternal │ │ │ │ └── packages.go │ │ └── go │ │ │ └── ast │ │ │ └── astutil │ │ │ └── util.go │ │ └── crypto │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── poly1305 │ │ └── mac_noasm.go │ │ └── curve25519 │ │ └── curve25519_noasm.go ├── go.uber.org │ ├── tools │ │ └── update-license │ │ │ └── .gitignore │ ├── multierr │ │ ├── .gitignore │ │ ├── glide.yaml │ │ └── go.mod │ ├── atomic │ │ ├── .gitignore │ │ └── go.mod │ └── zap │ │ ├── go.mod │ │ └── checklicense.sh ├── go.mongodb.org │ └── mongo-driver │ │ ├── x │ │ └── mongo │ │ │ └── driver │ │ │ └── topology │ │ │ ├── connection_legacy.go │ │ │ ├── topology_options_1_10.go │ │ │ └── topology_options_1_9.go │ │ └── mongo │ │ ├── options │ │ ├── clientoptions_1_10.go │ │ └── clientoptions_1_9.go │ │ └── util.go ├── gopkg.in │ ├── fsnotify.v1 │ │ ├── .editorconfig │ │ ├── .gitignore │ │ ├── open_mode_bsd.go │ │ └── open_mode_darwin.go │ ├── yaml.v2 │ │ ├── go.mod │ │ └── .travis.yml │ ├── ini.v1 │ │ ├── .gitignore │ │ └── Makefile │ ├── tomb.v1 │ │ └── README.md │ └── jcmturner │ │ ├── gokrb5.v7 │ │ └── iana │ │ │ └── constants.go │ │ ├── rpc.v1 │ │ └── mstypes │ │ │ ├── common.go │ │ │ └── user_session_key.go │ │ ├── aescts.v1 │ │ └── .gitignore │ │ └── dnsutils.v1 │ │ └── .gitignore ├── honnef.co │ └── go │ │ └── tools │ │ ├── ssa │ │ ├── write.go │ │ ├── identical_17.go │ │ ├── identical.go │ │ └── staticcheck.conf │ │ ├── version │ │ └── buildinfo111.go │ │ ├── lint │ │ └── lintutil │ │ │ ├── stats.go │ │ │ ├── stats_posix.go │ │ │ └── stats_bsd.go │ │ └── printf │ │ └── fuzz.go └── go.etcd.io │ └── etcd │ └── NOTICE ├── day25 ├── rduntil │ ├── dstfile.txt │ └── helloworld.txt ├── readfile │ └── helloworld.txt ├── copyfile │ ├── hellocopy.txt │ └── helloworld.txt └── writefile │ └── helloworld.txt ├── day05 └── sorter │ ├── unsorted.dat │ └── sorted.dat ├── day10 └── customer │ └── pbgenerator.bat ├── beegopro ├── conf │ └── app.conf ├── main.go ├── routers │ └── router.go ├── controllers │ └── default.go └── static │ └── js │ └── reload.min.js ├── codetest.rar ├── day08 ├── consignment │ └── pbgenerator.bat └── grpcclient │ └── consignment.json ├── day09 └── helloworld │ └── pbgenerator.bat ├── day02 └── variables.exe ├── day15 └── gongzhen.xlsx ├── efacedemo └── efacedemo ├── ifacedemo └── ifacedemo ├── simplemath ├── add.go └── sqrt.go ├── day01 └── simplemath │ ├── add.go │ └── sqrt.go ├── mymaths └── add.go ├── goetcd └── server3 │ ├── etcd_stop.sh │ └── etcd_start.sh ├── dockerdemo ├── Makefile ├── webserver.go └── Dockerfile ├── codetest └── codetest │ └── test.go ├── logtailf └── logconfig │ └── config.yaml ├── .gitignore ├── httppostfile └── httppostclientpy │ └── httppostclient.py ├── README.md ├── seckill ├── seclogic │ ├── main.go │ └── router │ │ └── router.go ├── seckilltools │ └── setproductetcd │ │ └── app.conf └── secproxy │ ├── main.go │ └── router │ └── router.go ├── microdemo3 └── proto │ └── rpcapi │ └── rpcapi.proto ├── microdemo4 └── proto │ └── rpcapi │ └── rpcapi.proto ├── gomongo └── model │ └── model.go ├── day14 └── once │ └── oncecall.go ├── day19 └── example1 │ └── test1.go ├── day20 ├── example9 │ └── test2.go ├── example1 │ └── test2.go └── example15 │ └── test2.go └── channelpractice ├── catchedchan1 └── catchedchan1.go ├── rangechan2 └── rangechan2.go └── catchedchan2 └── catchedchan2.go /grpcservice/db/dbserver/lvdb/LOCK: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /grpcservice/db/server/lvdb/LOCK: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /grpcservice/servicecmd/lvdb/LOCK: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /grpcservice/db/server/lvdb/000038.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /grpcservice/servicecmd/lvdb/000003.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/xdg/scram/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /grpcservice/db/dbserver/lvdb/000040.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/js/excanvas.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/js/respond.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/cespare/xxhash/v2/go.sum: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/xdg/stringprep/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/css/jquery.ui.slider.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/bg-opacity.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/bg-white-lock.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/icon-img-down.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/icon-img-up.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/js/bootstrap-rtl.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/js/jquery-1.8.3.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/micro/go-micro/CNAME: -------------------------------------------------------------------------------- 1 | go-micro.dev -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/reflect2_amd64.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_386.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_arm.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_arm64.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_mipsx.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_s390x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/AUTHORS: -------------------------------------------------------------------------------- 1 | Google Inc. 2 | -------------------------------------------------------------------------------- /day25/rduntil/dstfile.txt: -------------------------------------------------------------------------------- 1 | Hello World! 2 | Hello Twice 3 | -------------------------------------------------------------------------------- /grpcservice/db/dbserver/lvdb/CURRENT: -------------------------------------------------------------------------------- 1 | MANIFEST-000041 2 | -------------------------------------------------------------------------------- /grpcservice/db/server/lvdb/CURRENT: -------------------------------------------------------------------------------- 1 | MANIFEST-000039 2 | -------------------------------------------------------------------------------- /grpcservice/db/server/lvdb/CURRENT.bak: -------------------------------------------------------------------------------- 1 | MANIFEST-000037 2 | -------------------------------------------------------------------------------- /grpcservice/servicecmd/lvdb/CURRENT: -------------------------------------------------------------------------------- 1 | MANIFEST-000004 2 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/sort_asc_disabled.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/sort_desc_disabled.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_amd64p32.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_mips64x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_ppc64x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/* 2 | 3 | -------------------------------------------------------------------------------- /vendor/github.com/subosito/gotenv/.env: -------------------------------------------------------------------------------- 1 | HELLO=world 2 | -------------------------------------------------------------------------------- /vendor/github.com/subosito/gotenv/.env.invalid: -------------------------------------------------------------------------------- 1 | lol$wut 2 | -------------------------------------------------------------------------------- /day05/sorter/unsorted.dat: -------------------------------------------------------------------------------- 1 | 6 2 | 1 3 | 0 4 | 5 5 | 2 6 | 9 7 | 6 -------------------------------------------------------------------------------- /day25/rduntil/helloworld.txt: -------------------------------------------------------------------------------- 1 | Hello World! 2 | Hello Twice 3 | -------------------------------------------------------------------------------- /day25/readfile/helloworld.txt: -------------------------------------------------------------------------------- 1 | Hello World! 2 | Hello Twice 3 | -------------------------------------------------------------------------------- /grpcservice/db/dbserver/lvdb/CURRENT.bak: -------------------------------------------------------------------------------- 1 | MANIFEST-000039 2 | -------------------------------------------------------------------------------- /grpcservice/servicecmd/lvdb/CURRENT.bak: -------------------------------------------------------------------------------- 1 | MANIFEST-000000 2 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/css/bootstrap-responsive1.min.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/inbox-nav-arrow-blue.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/.gitignore: -------------------------------------------------------------------------------- 1 | /fixtures/ 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | h2i/h2i 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/.gitignore: -------------------------------------------------------------------------------- 1 | _obj/ 2 | unix.test 3 | -------------------------------------------------------------------------------- /day05/sorter/sorted.dat: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 2 4 | 5 5 | 6 6 | 6 7 | 9 8 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/css/jquery-ui-1.10.1.custom.min.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/hpcloud/tail/.gitignore: -------------------------------------------------------------------------------- 1 | .test 2 | .go 3 | 4 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/dns/AUTHORS: -------------------------------------------------------------------------------- 1 | Miek Gieben 2 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/.gitignore: -------------------------------------------------------------------------------- 1 | /coverage.txt 2 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/google/uuid 2 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/huff0/.gitignore: -------------------------------------------------------------------------------- 1 | /huff0-fuzz.zip 2 | -------------------------------------------------------------------------------- /vendor/github.com/micro/go-micro/_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-architect -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/spf13/afero 2 | -------------------------------------------------------------------------------- /vendor/go.uber.org/tools/update-license/.gitignore: -------------------------------------------------------------------------------- 1 | update-license 2 | -------------------------------------------------------------------------------- /day10/customer/pbgenerator.bat: -------------------------------------------------------------------------------- 1 | protoc --go_out=plugins=grpc:. customer.proto -------------------------------------------------------------------------------- /vendor/github.com/go-stack/stack/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/go-stack/stack 2 | -------------------------------------------------------------------------------- /vendor/github.com/golang/snappy/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/golang/snappy 2 | -------------------------------------------------------------------------------- /vendor/github.com/micro/cli/.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | max-line-length = 120 3 | -------------------------------------------------------------------------------- /vendor/github.com/micro/cli/.gitignore: -------------------------------------------------------------------------------- 1 | *.coverprofile 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/dns/.gitignore: -------------------------------------------------------------------------------- 1 | *.6 2 | tags 3 | test.out 4 | a.out 5 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /coverage.txt 3 | -------------------------------------------------------------------------------- /beegopro/conf/app.conf: -------------------------------------------------------------------------------- 1 | appname = beegopro 2 | httpport = 8080 3 | runmode = dev 4 | -------------------------------------------------------------------------------- /codetest.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/codetest.rar -------------------------------------------------------------------------------- /day08/consignment/pbgenerator.bat: -------------------------------------------------------------------------------- 1 | protoc --go_out=plugins=grpc:. consignment.proto -------------------------------------------------------------------------------- /day09/helloworld/pbgenerator.bat: -------------------------------------------------------------------------------- 1 | protoc --go_out=plugins=grpc:. helloworld.proto -------------------------------------------------------------------------------- /grpcservice/db/dbserver/lvdb/MANIFEST-000041: -------------------------------------------------------------------------------- 1 | ማw"leveldb.BytewiseComparator(* -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.gitattributes: -------------------------------------------------------------------------------- 1 | go.sum linguist-generated 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-uuid/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/go-uuid 2 | -------------------------------------------------------------------------------- /vendor/github.com/subosito/gotenv/.gitignore: -------------------------------------------------------------------------------- 1 | *.test 2 | *.out 3 | annotate.json 4 | -------------------------------------------------------------------------------- /vendor/github.com/matttproud/golang_protobuf_extensions/pbutil/.gitignore: -------------------------------------------------------------------------------- 1 | cover.dat 2 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/go-homedir/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mitchellh/go-homedir 2 | -------------------------------------------------------------------------------- /vendor/go.uber.org/multierr/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | cover.html 3 | cover.out 4 | /bin 5 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.codecov.yml: -------------------------------------------------------------------------------- 1 | ignore: 2 | - "output_tests/.*" 3 | 4 | -------------------------------------------------------------------------------- /vendor/github.com/magiconair/properties/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/magiconair/properties 2 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/mapstructure/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mitchellh/mapstructure 2 | -------------------------------------------------------------------------------- /day02/variables.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/day02/variables.exe -------------------------------------------------------------------------------- /day15/gongzhen.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/day15/gongzhen.xlsx -------------------------------------------------------------------------------- /efacedemo/efacedemo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/efacedemo/efacedemo -------------------------------------------------------------------------------- /ifacedemo/ifacedemo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/ifacedemo/ifacedemo -------------------------------------------------------------------------------- /simplemath/add.go: -------------------------------------------------------------------------------- 1 | package simplemath 2 | func Add(a int, b int) int { 3 | return a + b 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/josharian/intern/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/josharian/intern 2 | 3 | go 1.5 4 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/hashstructure/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mitchellh/hashstructure 2 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/.dockerignore: -------------------------------------------------------------------------------- 1 | cmd/tomll/tomll 2 | cmd/tomljson/tomljson 3 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/client_golang/prometheus/.gitignore: -------------------------------------------------------------------------------- 1 | command-line-arguments.test 2 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/jwalterweatherman/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/spf13/jwalterweatherman 2 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/.gitignore: -------------------------------------------------------------------------------- 1 | /.idea/ 2 | /bin/ 3 | /build/ 4 | /var/ 5 | /vendor/ 6 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/Makefile: -------------------------------------------------------------------------------- 1 | curlimage: 2 | docker build -t gohttp2/curl . 3 | 4 | -------------------------------------------------------------------------------- /day01/simplemath/add.go: -------------------------------------------------------------------------------- 1 | package simplemath 2 | func Add(a int, b int) int { 3 | return a + b 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/cespare/xxhash/v2/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/cespare/xxhash/v2 2 | 3 | go 1.11 4 | -------------------------------------------------------------------------------- /vendor/github.com/go-sql-driver/mysql/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/go-sql-driver/mysql 2 | 3 | go 1.10 4 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /bug_test.go 3 | /coverage.txt 4 | /.idea 5 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/.golangci.yml: -------------------------------------------------------------------------------- 1 | --- 2 | linters: 3 | enable: 4 | - golint 5 | -------------------------------------------------------------------------------- /vendor/go.mongodb.org/mongo-driver/x/mongo/driver/topology/connection_legacy.go: -------------------------------------------------------------------------------- 1 | package topology 2 | -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/session.vim: -------------------------------------------------------------------------------- 1 | au BufWritePost *.go silent!make tags > /dev/null 2>&1 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/golang-lru/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/golang-lru 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/github.com/micro/cli/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/micro/cli 2 | 3 | require gopkg.in/yaml.v2 v2.2.2 4 | -------------------------------------------------------------------------------- /mymaths/add.go: -------------------------------------------------------------------------------- 1 | package mymaths 2 | 3 | func Add(a int, b int) (ret int, err error){ 4 | return a+b, nil 5 | } -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/.gitignore: -------------------------------------------------------------------------------- 1 | TAGS 2 | tags 3 | .*.swp 4 | tomlcheck/tomlcheck 5 | toml.test 6 | -------------------------------------------------------------------------------- /vendor/github.com/astaxie/beego/.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | .vscode 3 | .DS_Store 4 | *.swp 5 | *.swo 6 | beego.iml 7 | -------------------------------------------------------------------------------- /vendor/github.com/mailru/easyjson/.gitignore: -------------------------------------------------------------------------------- 1 | .root 2 | *_easyjson.go 3 | *.iml 4 | .idea 5 | *.swp 6 | bin/* 7 | -------------------------------------------------------------------------------- /vendor/gopkg.in/fsnotify.v1/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = tab 5 | indent_size = 4 6 | -------------------------------------------------------------------------------- /goetcd/server3/etcd_stop.sh: -------------------------------------------------------------------------------- 1 | ps -ef|grep etcd|grep -v grep|awk '{print $2}'|xargs kill -9 2 | sleep 3 3 | rm -rf ./data -------------------------------------------------------------------------------- /vendor/github.com/jmespath/go-jmespath/.gitignore: -------------------------------------------------------------------------------- 1 | /jpgo 2 | jmespath-fuzz.zip 3 | cpu.out 4 | go-jmespath.test 5 | -------------------------------------------------------------------------------- /vendor/github.com/matttproud/golang_protobuf_extensions/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2012 Matt T. Proud (matt.proud@gmail.com) 2 | -------------------------------------------------------------------------------- /vendor/github.com/nats-io/jwt/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/nats-io/jwt 2 | 3 | require github.com/nats-io/nkeys v0.1.0 4 | -------------------------------------------------------------------------------- /vendor/github.com/cheekybits/genny/generic/doc.go: -------------------------------------------------------------------------------- 1 | // Package generic contains the generic marker types. 2 | package generic 3 | -------------------------------------------------------------------------------- /vendor/github.com/eapache/queue/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | 4 | go: 5 | - 1.2 6 | - 1.3 7 | - 1.4 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/hcl 2 | 3 | require github.com/davecgh/go-spew v1.1.1 4 | -------------------------------------------------------------------------------- /vendor/github.com/lucas-clemente/quic-go/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = tab 5 | indent_size = 2 6 | -------------------------------------------------------------------------------- /dockerdemo/Makefile: -------------------------------------------------------------------------------- 1 | build: 2 | 3 | docker build -t webserver:1 . 4 | 5 | run: 6 | docker run -d -p 8899:8090 webserver:1 -------------------------------------------------------------------------------- /grpcservice/servicecmd/lvdb/000002.ldb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/grpcservice/servicecmd/lvdb/000002.ldb -------------------------------------------------------------------------------- /vendor/github.com/eapache/go-xerial-snappy/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.5.4 5 | - 1.6.1 6 | 7 | sudo: false 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/lint/go.mod: -------------------------------------------------------------------------------- 1 | module golang.org/x/lint 2 | 3 | require golang.org/x/tools v0.0.0-20190311212946-11955173bddd 4 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/1.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/2.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/3.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/4.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/5.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/6.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/7.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/8.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/9.jpg -------------------------------------------------------------------------------- /vendor/github.com/magiconair/properties/.gitignore: -------------------------------------------------------------------------------- 1 | *.sublime-project 2 | *.sublime-workspace 3 | *.un~ 4 | *.swp 5 | .idea/ 6 | *.iml 7 | -------------------------------------------------------------------------------- /vendor/github.com/nats-io/nkeys/TODO.md: -------------------------------------------------------------------------------- 1 | 2 | # General 3 | 4 | - [ ] Child key derivation 5 | - [ ] Hardware support, e.g. YubiHSM 6 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/command_notwin.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package cobra 4 | 5 | var preExecHookFn func(*Command) 6 | -------------------------------------------------------------------------------- /grpcservice/db/server/lvdb/MANIFEST-000039: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/grpcservice/db/server/lvdb/MANIFEST-000039 -------------------------------------------------------------------------------- /grpcservice/servicecmd/lvdb/MANIFEST-000004: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/grpcservice/servicecmd/lvdb/MANIFEST-000004 -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/10.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/11.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/bg/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/bg/1.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/bg/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/bg/2.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/bg/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/bg/3.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/bg/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/bg/4.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/hue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/hue.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/img1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/img1.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/img2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/img2.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/img3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/img3.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/img4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/img4.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/logo.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/rss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/rss.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/vk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/vk.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/xing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/xing.png -------------------------------------------------------------------------------- /simplemath/sqrt.go: -------------------------------------------------------------------------------- 1 | package simplemath 2 | import "math" 3 | func Sqrt(i int) int { 4 | v := math.Sqrt(float64(i)) 5 | return int(v) 6 | } 7 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/KwPYo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/KwPYo.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/alpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/alpha.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/amazon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/amazon.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/avatar.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/blank.gif -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/earth.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/earth.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/forrst.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/forrst.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/github.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/image1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/image1.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/image2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/image2.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/image3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/image3.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/image4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/image4.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/image5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/image5.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/img1_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/img1_2.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/iphone.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/photo1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/photo1.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/photo2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/photo2.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/photo3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/photo3.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/photo4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/photo4.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/photo5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/photo5.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/photo6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/photo6.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/picasa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/picasa.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/skype.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/skype.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/sprite.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/switch.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/tumblr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/tumblr.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/vimeo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/vimeo.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/yahoo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/yahoo.png -------------------------------------------------------------------------------- /vendor/github.com/mailru/easyjson/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mailru/easyjson 2 | 3 | go 1.12 4 | 5 | require github.com/josharian/intern v1.0.0 6 | -------------------------------------------------------------------------------- /vendor/github.com/micro/go-micro/runtime/process/options.go: -------------------------------------------------------------------------------- 1 | package process 2 | 3 | type Options struct{} 4 | 5 | type Option func(o *Options) 6 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/mapstructure/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - "1.11.x" 5 | - tip 6 | 7 | script: 8 | - go test 9 | -------------------------------------------------------------------------------- /vendor/github.com/nats-io/nkeys/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/nats-io/nkeys 2 | 3 | require golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4 4 | -------------------------------------------------------------------------------- /vendor/github.com/oxtoacart/bpool/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/oxtoacart/bpool 2 | 3 | go 1.12 4 | 5 | require github.com/stretchr/testify v1.3.0 6 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/go.mod: -------------------------------------------------------------------------------- 1 | module "gopkg.in/yaml.v2" 2 | 3 | require ( 4 | "gopkg.in/check.v1" v0.0.0-20161208181325-20d25e280405 5 | ) 6 | -------------------------------------------------------------------------------- /day01/simplemath/sqrt.go: -------------------------------------------------------------------------------- 1 | package simplemath 2 | import "math" 3 | func Sqrt(i int) int { 4 | v := math.Sqrt(float64(i)) 5 | return int(v) 6 | } 7 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/avatar1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/avatar1.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/avatar2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/avatar2.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/avatar3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/avatar3.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/behance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/behance.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/bg-input.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/bg-input.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/blogger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/blogger.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/dribbble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/dribbble.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/dropbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/dropbox.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/evernote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/evernote.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/facebook.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/favicon.ico -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/gritter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/gritter.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/ie-spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/ie-spacer.gif -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/instagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/instagram.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/item_img.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/item_img.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/item_img1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/item_img1.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/jolicloud.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/jolicloud.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/last-fm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/last-fm.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/linkedin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/linkedin.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/loading.gif -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/logo-big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/logo-big.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/pintrest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/pintrest.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/profile.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/profile.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/select2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/select2.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/select2x2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/select2x2.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/sort_asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/sort_asc.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/sort_both.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/sort_both.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/sort_desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/sort_desc.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/spotify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/spotify.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/spritemap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/spritemap.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/twitter.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/walmart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/walmart.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/wordpress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/wordpress.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/youtube.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/youtube.png -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/ssa/write.go: -------------------------------------------------------------------------------- 1 | package ssa 2 | 3 | func NewJump(parent *BasicBlock) *Jump { 4 | return &Jump{anInstruction{parent}} 5 | } 6 | -------------------------------------------------------------------------------- /codetest/codetest/test.go: -------------------------------------------------------------------------------- 1 | package codetest 2 | 3 | import ( 4 | "fmt" 5 | ) 6 | 7 | func CodeTest() { 8 | fmt.Println("Code Test") 9 | } 10 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/deviantart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/deviantart.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/glyphicons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/glyphicons.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/googleplus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/googleplus.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/icon-color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/icon-color.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/logo_azteca.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/logo_azteca.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/preview_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/preview_02.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/preview_03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/preview_03.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/preview_04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/preview_04.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/preview_05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/preview_05.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/preview_06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/preview_06.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/preview_07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/preview_07.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/preview_08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/preview_08.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/preview_09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/preview_09.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/preview_10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/preview_10.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/preview_11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/preview_11.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/preview_12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/preview_12.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/preview_13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/preview_13.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/preview_14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/preview_14.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/preview_15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/preview_15.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/preview_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/preview_16.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/preview_17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/preview_17.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/profile-img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/profile-img.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/progressbar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/progressbar.gif -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/saturation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/saturation.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/search-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/search-icon.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/social_rss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/social_rss.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/stumbleupon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/stumbleupon.png -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/.gitignore: -------------------------------------------------------------------------------- 1 | y.output 2 | 3 | # ignore intellij files 4 | .idea 5 | *.iml 6 | *.ipr 7 | *.iws 8 | 9 | *.test 10 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/avatar1_small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/avatar1_small.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/bg-input-focus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/bg-input-focus.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/chosen-sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/chosen-sprite.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/gritter-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/gritter-light.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/logo_conquer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/logo_conquer.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/logo_metronic.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/logo_metronic.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/menu-toggler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/menu-toggler.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/overlay-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/overlay-icon.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/social_twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/social_twitter.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/spritemap@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/spritemap@2x.png -------------------------------------------------------------------------------- /logtailf/logconfig/config.yaml: -------------------------------------------------------------------------------- 1 | configpath: 2 | logdir1: "../logdir1/log.txt" 3 | logdir2: "../logdir2/log.txt" 4 | logdir3: "../logdir3/log.txt" 5 | 6 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.4.3 5 | - 1.5.3 6 | - tip 7 | 8 | script: 9 | - go test -v ./... 10 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/MAINTAINERS.md: -------------------------------------------------------------------------------- 1 | * Johannes 'fish' Ziemke @discordianfish 2 | * Paul Gier @pgier 3 | -------------------------------------------------------------------------------- /vendor/gopkg.in/ini.v1/.gitignore: -------------------------------------------------------------------------------- 1 | testdata/conf_out.ini 2 | ini.sublime-project 3 | ini.sublime-workspace 4 | testdata/conf_reflect.ini 5 | .idea 6 | /.vscode 7 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/animated-overlay.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/animated-overlay.gif -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/bstree-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/bstree-halflings.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/fancybox_loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/fancybox_loading.gif -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/fancybox_overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/fancybox_overlay.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/fancybox_sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/fancybox_sprite.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/glyphicons-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/glyphicons-white.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/hor-menu-search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/hor-menu-search.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/icon-color-close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/icon-color-close.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/select2-spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/select2-spinner.gif -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/sidebar-toggler.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/sidebar-toggler.jpg -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/social_facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/social_facebook.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/social_linkedin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/social_linkedin.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/syncfusion-icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/syncfusion-icons.png -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/fsnotify/fsnotify 2 | 3 | go 1.13 4 | 5 | require golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9 6 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/.gitignore: -------------------------------------------------------------------------------- 1 | test_program/test_program_bin 2 | fuzz/ 3 | cmd/tomll/tomll 4 | cmd/tomljson/tomljson 5 | cmd/tomltestgen/tomltestgen 6 | -------------------------------------------------------------------------------- /vendor/github.com/rcrowley/go-metrics/runtime_no_cgo.go: -------------------------------------------------------------------------------- 1 | // +build !cgo appengine 2 | 3 | package metrics 4 | 5 | func numCgoCall() int64 { 6 | return 0 7 | } 8 | -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/ssa/identical_17.go: -------------------------------------------------------------------------------- 1 | // +build !go1.8 2 | 3 | package ssa 4 | 5 | import "go/types" 6 | 7 | var structTypesIdentical = types.Identical 8 | -------------------------------------------------------------------------------- /grpcservice/db/dbserver/dblog.log: -------------------------------------------------------------------------------- 1 | 2019/08/26 10:40:26 db.go:42: savegoroutine begined ,id is: 0 ! 2 | 2019/08/26 10:40:32 db.go:42: savegoroutine begined ,id is: 1 ! 3 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/fontawesome-webfont.eot -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/glyphicons-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/glyphicons-regular.eot -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/glyphicons-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/glyphicons-regular.ttf -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/glyphicons-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/glyphicons-regular.woff -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/portlet-config-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/portlet-config-icon.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/portlet-expand-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/portlet-expand-icon.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/portlet-reload-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/portlet-reload-icon.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/portlet-remove-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/portlet-remove-icon.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/remove-icon-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/remove-icon-small.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/sidebar-menu-arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/sidebar-menu-arrow.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/social_googleplus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/social_googleplus.png -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/COMPATIBLE: -------------------------------------------------------------------------------- 1 | Compatible with TOML version 2 | [v0.4.0](https://github.com/toml-lang/toml/blob/v0.4.0/versions/en/toml-v0.4.0.md) 3 | 4 | -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/ssa/identical.go: -------------------------------------------------------------------------------- 1 | // +build go1.8 2 | 3 | package ssa 4 | 5 | import "go/types" 6 | 7 | var structTypesIdentical = types.IdenticalIgnoreTags 8 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/fontawesome-webfont.woff -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/glyphicons-halflings.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/glyphicons_halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/glyphicons_halflings.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/hor-menu-search-close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/hor-menu-search-close.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/portlet-collapse-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/portlet-collapse-icon.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/sidebar-search-close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/sidebar-search-close.png -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/NOTICE.txt: -------------------------------------------------------------------------------- 1 | AWS SDK for Go 2 | Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 | Copyright 2014-2015 Stripe, Inc. 4 | -------------------------------------------------------------------------------- /vendor/github.com/go-sql-driver/mysql/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .DS_Store? 3 | ._* 4 | .Spotlight-V100 5 | .Trashes 6 | Icon? 7 | ehthumbs.db 8 | Thumbs.db 9 | .idea 10 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/etcd/NOTICE: -------------------------------------------------------------------------------- 1 | CoreOS Project 2 | Copyright 2014 CoreOS, Inc 3 | 4 | This product includes software developed at CoreOS, Inc. 5 | (http://www.coreos.com/). 6 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/datatable-row-openclose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/datatable-row-openclose.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/syncfusion-icons-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/syncfusion-icons-white.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/ui-icons_228ef1_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/ui-icons_228ef1_256x240.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/ui-icons_ef8c08_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/ui-icons_ef8c08_256x240.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/ui-icons_ffd27a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/ui-icons_ffd27a_256x240.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /vendor/github.com/coreos/etcd/NOTICE: -------------------------------------------------------------------------------- 1 | CoreOS Project 2 | Copyright 2014 CoreOS, Inc 3 | 4 | This product includes software developed at CoreOS, Inc. 5 | (http://www.coreos.com/). 6 | -------------------------------------------------------------------------------- /vendor/github.com/coreos/pkg/NOTICE: -------------------------------------------------------------------------------- 1 | CoreOS Project 2 | Copyright 2014 CoreOS, Inc 3 | 4 | This product includes software developed at CoreOS, Inc. 5 | (http://www.coreos.com/). 6 | -------------------------------------------------------------------------------- /vendor/github.com/jmespath/go-jmespath/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | sudo: false 4 | 5 | go: 6 | - 1.4 7 | 8 | install: go get -v -t ./... 9 | script: make test 10 | -------------------------------------------------------------------------------- /vendor/github.com/micro/go-plugins/registry/etcdv3/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/micro/go-plugins/registry/etcdv3 2 | 3 | go 1.13 4 | 5 | require github.com/micro/go-micro v1.18.0 6 | -------------------------------------------------------------------------------- /vendor/gopkg.in/tomb.v1/README.md: -------------------------------------------------------------------------------- 1 | Installation and usage 2 | ---------------------- 3 | 4 | See [gopkg.in/tomb.v1](https://gopkg.in/tomb.v1) for documentation and usage details. 5 | -------------------------------------------------------------------------------- /beegopro/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | _ "golang-/beegopro/routers" 5 | 6 | "github.com/astaxie/beego" 7 | ) 8 | 9 | func main() { 10 | beego.Run() 11 | } 12 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/glyphicons_halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/glyphicons_halflings-white.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/portlet-config-icon-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/portlet-config-icon-white.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/portlet-expand-icon-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/portlet-expand-icon-white.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/portlet-reload-icon-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/portlet-reload-icon-white.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/portlet-remove-icon-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/portlet-remove-icon-white.png -------------------------------------------------------------------------------- /vendor/github.com/coreos/go-semver/NOTICE: -------------------------------------------------------------------------------- 1 | CoreOS Project 2 | Copyright 2018 CoreOS, Inc 3 | 4 | This product includes software developed at CoreOS, Inc. 5 | (http://www.coreos.com/). 6 | -------------------------------------------------------------------------------- /vendor/github.com/coreos/go-systemd/NOTICE: -------------------------------------------------------------------------------- 1 | CoreOS Project 2 | Copyright 2018 CoreOS, Inc 3 | 4 | This product includes software developed at CoreOS, Inc. 5 | (http://www.coreos.com/). 6 | -------------------------------------------------------------------------------- /vendor/github.com/josharian/intern/README.md: -------------------------------------------------------------------------------- 1 | Docs: https://godoc.org/github.com/josharian/intern 2 | 3 | See also [Go issue 5160](https://golang.org/issue/5160). 4 | 5 | License: MIT 6 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/GOVERNANCE.md: -------------------------------------------------------------------------------- 1 | This repository is governed by the gRPC organization's [governance rules](https://github.com/grpc/grpc-community/blob/master/governance.md). 2 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/glyphiconshalflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/glyphiconshalflings-regular.eot -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/glyphiconshalflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/glyphiconshalflings-regular.ttf -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/glyphiconshalflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/glyphiconshalflings-regular.woff -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/hor-menu-search-close-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/hor-menu-search-close-white.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/portlet-collapse-icon-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/portlet-collapse-icon-white.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/ui-bg_flat_10_000000_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/ui-bg_flat_10_000000_40x100.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/ui-bg_glass_100_f6f6f6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/ui-bg_glass_100_f6f6f6_1x400.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/ui-bg_glass_100_fdf5ce_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/ui-bg_glass_100_fdf5ce_1x400.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /vendor/github.com/cespare/xxhash/v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - "1.x" 4 | - master 5 | env: 6 | - TAGS="" 7 | - TAGS="-tags purego" 8 | script: go test $TAGS -v ./... 9 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Paul Borman 2 | bmatsuo 3 | shawnps 4 | theory 5 | jboverfelt 6 | dsymonds 7 | cd1 8 | wallclockbuilder 9 | dansouza 10 | -------------------------------------------------------------------------------- /vendor/github.com/nats-io/jwt/ReleaseNotes.md: -------------------------------------------------------------------------------- 1 | # Release Notes 2 | 3 | ## 0.3.0 4 | 5 | * Removed revocation claims in favor of timestamp-based revocation maps in account and export claims. 6 | -------------------------------------------------------------------------------- /vendor/github.com/pierrec/lz4/decode_amd64.go: -------------------------------------------------------------------------------- 1 | // +build !appengine 2 | // +build gc 3 | // +build !noasm 4 | 5 | package lz4 6 | 7 | //go:noescape 8 | func decodeBlock(dst, src []byte) int 9 | -------------------------------------------------------------------------------- /vendor/go.uber.org/atomic/.gitignore: -------------------------------------------------------------------------------- 1 | /bin 2 | .DS_Store 3 | /vendor 4 | cover.html 5 | cover.out 6 | lint.log 7 | 8 | # Binaries 9 | *.test 10 | 11 | # Profiling output 12 | *.prof 13 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/CODE-OF-CONDUCT.md: -------------------------------------------------------------------------------- 1 | ## Community Code of Conduct 2 | 3 | gRPC follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md). 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/jcmturner/gokrb5.v7/iana/constants.go: -------------------------------------------------------------------------------- 1 | // Package iana provides Kerberos 5 assigned numbers. 2 | package iana 3 | 4 | // PVNO is the Protocol Version Number. 5 | const PVNO = 5 6 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/js: -------------------------------------------------------------------------------- 1 | alert("The Google Maps API server rejected your request. The \x22sensor\x22 parameter specified in the request must be set to either \x22true\x22 or \x22false\x22.") -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/ui-bg_gloss-wave_35_f6a828_500x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/ui-bg_gloss-wave_35_f6a828_500x100.png -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/internal/ini/empty_token.go: -------------------------------------------------------------------------------- 1 | package ini 2 | 3 | // emptyToken is used to satisfy the Token interface 4 | var emptyToken = newToken(TokenNone, []rune{}, NoneType) 5 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/dns/.codecov.yml: -------------------------------------------------------------------------------- 1 | coverage: 2 | status: 3 | project: 4 | default: 5 | target: 40% 6 | threshold: null 7 | patch: false 8 | changes: false 9 | -------------------------------------------------------------------------------- /vendor/github.com/xdg/stringprep/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | go: 4 | - 1.7 5 | - 1.8 6 | - 1.9 7 | - master 8 | matrix: 9 | allow_failures: 10 | - go: master 11 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/ui-bg_highlight-soft_75_ffe45c_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/ui-bg_highlight-soft_75_ffe45c_1x100.png -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/dev.yml: -------------------------------------------------------------------------------- 1 | name: sarama 2 | 3 | up: 4 | - go: 5 | version: '1.14.3' 6 | 7 | commands: 8 | test: 9 | run: make test 10 | desc: 'run unit tests' 11 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.x 7 | - tip 8 | 9 | branches: 10 | only: 11 | - master 12 | 13 | script: make test 14 | -------------------------------------------------------------------------------- /vendor/github.com/matttproud/golang_protobuf_extensions/pbutil/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | 3 | cover: 4 | go test -cover -v -coverprofile=cover.dat ./... 5 | go tool cover -func cover.dat 6 | 7 | .PHONY: cover 8 | -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/ssa/staticcheck.conf: -------------------------------------------------------------------------------- 1 | # ssa/... is mostly imported from upstream and we don't want to 2 | # deviate from it too much, hence disabling SA1019 3 | checks = ["inherit", "-SA1019"] 4 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/ui-bg_diagonals-thick_18_b81900_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/ui-bg_diagonals-thick_18_b81900_40x40.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/ui-bg_diagonals-thick_20_666666_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/ui-bg_diagonals-thick_20_666666_40x40.png -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/image/ui-bg_highlight-soft_100_eeeeee_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secondtonone1/golang-/HEAD/logcatchsys/web_admin/static/image/ui-bg_highlight-soft_100_eeeeee_1x100.png -------------------------------------------------------------------------------- /vendor/github.com/hpcloud/tail/ratelimiter/storage.go: -------------------------------------------------------------------------------- 1 | package ratelimiter 2 | 3 | type Storage interface { 4 | GetBucketFor(string) (*LeakyBucket, error) 5 | SetBucketFor(string, LeakyBucket) error 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/jmoiron/sqlx/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/jmoiron/sqlx 2 | 3 | require ( 4 | github.com/go-sql-driver/mysql v1.4.0 5 | github.com/lib/pq v1.0.0 6 | github.com/mattn/go-sqlite3 v1.9.0 7 | ) 8 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/snappy/runbench.cmd: -------------------------------------------------------------------------------- 1 | del old.txt 2 | go test -bench=. >>old.txt && go test -bench=. >>old.txt && go test -bench=. >>old.txt && benchstat -delta-test=ttest old.txt new.txt 3 | -------------------------------------------------------------------------------- /vendor/github.com/nats-io/nats.go/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/nats-io/nats.go 2 | 3 | require ( 4 | github.com/nats-io/jwt v0.3.0 5 | github.com/nats-io/nkeys v0.1.0 6 | github.com/nats-io/nuid v1.0.1 7 | ) 8 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/errors/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go_import_path: github.com/pkg/errors 3 | go: 4 | - 1.11.x 5 | - 1.12.x 6 | - 1.13.x 7 | - tip 8 | 9 | script: 10 | - make check 11 | -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/version/buildinfo111.go: -------------------------------------------------------------------------------- 1 | // +build !go1.12 2 | 3 | package version 4 | 5 | func printBuildInfo() {} 6 | func buildInfoVersion() (string, bool) { return "", false } 7 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/go.sum: -------------------------------------------------------------------------------- 1 | github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= 2 | github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 3 | -------------------------------------------------------------------------------- /vendor/github.com/lucas-clemente/quic-go/internal/ackhandler/gen.go: -------------------------------------------------------------------------------- 1 | package ackhandler 2 | 3 | //go:generate genny -pkg ackhandler -in ../utils/linkedlist/linkedlist.go -out packet_linkedlist.go gen Item=Packet 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sync/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .vscode/ 2 | *.a 3 | *debug* 4 | src/golang.org/ 5 | src/google.golang.org/ 6 | src/git.cochain.io 7 | src/github.com 8 | src/go.uber.org 9 | src/golang.org 10 | src/google.golang.org 11 | src/gopkg.in -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-uuid/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | sudo: false 4 | 5 | go: 6 | - 1.4 7 | - 1.5 8 | - 1.6 9 | - tip 10 | 11 | script: 12 | - go test -bench . -benchmem -v ./... 13 | -------------------------------------------------------------------------------- /vendor/github.com/mailru/easyjson/go.sum: -------------------------------------------------------------------------------- 1 | github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= 2 | github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= 3 | -------------------------------------------------------------------------------- /vendor/github.com/nats-io/nuid/GOVERNANCE.md: -------------------------------------------------------------------------------- 1 | # NATS NUID Governance 2 | 3 | NATS NUID is part of the NATS project and is subject to the [NATS Governance](https://github.com/nats-io/nats-general/blob/master/GOVERNANCE.md). -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/.mailmap: -------------------------------------------------------------------------------- 1 | Steve Francia 2 | Bjørn Erik Pedersen 3 | Fabiano Franz 4 | -------------------------------------------------------------------------------- /vendor/github.com/xdg/scram/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | go: 4 | - "1.7" 5 | - "1.8" 6 | - "1.9" 7 | - "1.10" 8 | - master 9 | matrix: 10 | allow_failures: 11 | - go: master 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at https://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at https://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sync/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /httppostfile/httppostclientpy/httppostclient.py: -------------------------------------------------------------------------------- 1 | import requests 2 | if __name__ == '__main__': 3 | files = {"file": open("file.txt", "rb")} 4 | r = requests.post("http://localhost:8089/upload", files=files) 5 | print(r.text) -------------------------------------------------------------------------------- /vendor/github.com/golang/protobuf/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/golang/protobuf/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/nats-io/nkeys/GOVERNANCE.md: -------------------------------------------------------------------------------- 1 | # NATS NKEYS Governance 2 | 3 | NATS NKEYS is part of the NATS project and is subject to the [NATS Governance](https://github.com/nats-io/nats-general/blob/master/GOVERNANCE.md). -------------------------------------------------------------------------------- /vendor/github.com/prometheus/client_golang/prometheus/README.md: -------------------------------------------------------------------------------- 1 | See [![go-doc](https://godoc.org/github.com/prometheus/client_golang/prometheus?status.svg)](https://godoc.org/github.com/prometheus/client_golang/prometheus). 2 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at https://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/lint/lintutil/stats.go: -------------------------------------------------------------------------------- 1 | // +build !aix,!android,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris 2 | 3 | package lintutil 4 | 5 | import "os" 6 | 7 | var infoSignals = []os.Signal{} 8 | -------------------------------------------------------------------------------- /vendor/github.com/mailru/easyjson/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - tip 5 | - stable 6 | 7 | matrix: 8 | allow_failures: 9 | - go: tip 10 | 11 | install: 12 | - go get golang.org/x/lint/golint 13 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_below_17.go: -------------------------------------------------------------------------------- 1 | //+build !go1.7 2 | 3 | package reflect2 4 | 5 | import "unsafe" 6 | 7 | func resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer { 8 | return nil 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/nats-io/nkeys/MAINTAINERS.md: -------------------------------------------------------------------------------- 1 | # Maintainers 2 | 3 | Maintainership is on a per project basis. 4 | 5 | ### Core-maintainers 6 | - Derek Collison [@derekcollison](https://github.com/derekcollison) -------------------------------------------------------------------------------- /vendor/github.com/nats-io/nuid/MAINTAINERS.md: -------------------------------------------------------------------------------- 1 | # Maintainers 2 | 3 | Maintainership is on a per project basis. 4 | 5 | ### Core-maintainers 6 | - Derek Collison [@derekcollison](https://github.com/derekcollison) -------------------------------------------------------------------------------- /vendor/github.com/rcrowley/go-metrics/.gitignore: -------------------------------------------------------------------------------- 1 | *.[68] 2 | *.a 3 | *.out 4 | *.swp 5 | _obj 6 | _testmain.go 7 | cmd/metrics-bench/metrics-bench 8 | cmd/metrics-example/metrics-example 9 | cmd/never-read/never-read 10 | -------------------------------------------------------------------------------- /vendor/github.com/rcrowley/go-metrics/runtime_cgo.go: -------------------------------------------------------------------------------- 1 | // +build cgo 2 | // +build !appengine 3 | 4 | package metrics 5 | 6 | import "runtime" 7 | 8 | func numCgoCall() int64 { 9 | return runtime.NumCgoCall() 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/rcrowley/go-metrics/runtime_no_gccpufraction.go: -------------------------------------------------------------------------------- 1 | // +build !go1.5 2 | 3 | package metrics 4 | 5 | import "runtime" 6 | 7 | func gcCPUFraction(memStats *runtime.MemStats) float64 { 8 | return 0 9 | } 10 | -------------------------------------------------------------------------------- /vendor/go.uber.org/multierr/glide.yaml: -------------------------------------------------------------------------------- 1 | package: go.uber.org/multierr 2 | import: 3 | - package: go.uber.org/atomic 4 | version: ^1 5 | testImport: 6 | - package: github.com/stretchr/testify 7 | subpackages: 8 | - assert 9 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at https://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/printf/fuzz.go: -------------------------------------------------------------------------------- 1 | // +build gofuzz 2 | 3 | package printf 4 | 5 | func Fuzz(data []byte) int { 6 | _, err := Parse(string(data)) 7 | if err == nil { 8 | return 1 9 | } 10 | return 0 11 | } 12 | -------------------------------------------------------------------------------- /beegopro/routers/router.go: -------------------------------------------------------------------------------- 1 | package routers 2 | 3 | import ( 4 | "golang-/beegopro/controllers" 5 | 6 | "github.com/astaxie/beego" 7 | ) 8 | 9 | func init() { 10 | beego.Router("/", &controllers.MainController{}) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/client_model/NOTICE: -------------------------------------------------------------------------------- 1 | Data model artifacts for Prometheus. 2 | Copyright 2012-2015 The Prometheus Authors 3 | 4 | This product includes software developed at 5 | SoundCloud Ltd. (http://soundcloud.com/). 6 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cast/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/spf13/cast 2 | 3 | require ( 4 | github.com/davecgh/go-spew v1.1.1 // indirect 5 | github.com/pmezard/go-difflib v1.0.0 // indirect 6 | github.com/stretchr/testify v1.2.2 7 | ) 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/internal/packagesinternal/packages.go: -------------------------------------------------------------------------------- 1 | // Package packagesinternal exposes internal-only fields from go/packages. 2 | package packagesinternal 3 | 4 | var GetForTest = func(p interface{}) string { return "" } 5 | -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/lint/lintutil/stats_posix.go: -------------------------------------------------------------------------------- 1 | // +build aix android linux solaris 2 | 3 | package lintutil 4 | 5 | import ( 6 | "os" 7 | "syscall" 8 | ) 9 | 10 | var infoSignals = []os.Signal{syscall.SIGUSR1} 11 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/dns/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Alex A. Skinner 2 | Andrew Tunnell-Jones 3 | Ask Bjørn Hansen 4 | Dave Cheney 5 | Dusty Wilson 6 | Marek Majkowski 7 | Peter van Dijk 8 | Omri Bahumi 9 | Alex Sergeyev 10 | James Hartig 11 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/pelletier/go-toml 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/BurntSushi/toml v0.3.1 7 | github.com/davecgh/go-spew v1.1.1 8 | gopkg.in/yaml.v2 v2.2.2 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/common/NOTICE: -------------------------------------------------------------------------------- 1 | Common libraries shared by Prometheus Go components. 2 | Copyright 2015 The Prometheus Authors 3 | 4 | This product includes software developed at 5 | SoundCloud Ltd. (http://soundcloud.com/). 6 | -------------------------------------------------------------------------------- /vendor/github.com/marten-seemann/qtls/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/marten-seemann/qtls 2 | 3 | go 1.13 4 | 5 | require ( 6 | golang.org/x/crypto v0.0.0-20190829043050-9756ffdc2472 7 | golang.org/x/sys v0.0.0-20190904154756-749cb33beabd 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/nats-io/nats.go/GOVERNANCE.md: -------------------------------------------------------------------------------- 1 | # NATS Go Client Governance 2 | 3 | NATS Go Client (go-nats) is part of the NATS project and is subject to the [NATS Governance](https://github.com/nats-io/nats-general/blob/master/GOVERNANCE.md). -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/lint/lintutil/stats_bsd.go: -------------------------------------------------------------------------------- 1 | // +build darwin dragonfly freebsd netbsd openbsd 2 | 3 | package lintutil 4 | 5 | import ( 6 | "os" 7 | "syscall" 8 | ) 9 | 10 | var infoSignals = []os.Signal{syscall.SIGINFO} 11 | -------------------------------------------------------------------------------- /day25/copyfile/hellocopy.txt: -------------------------------------------------------------------------------- 1 | Hello Hurricane! 2 | Hello Hurricane! 3 | Hello Hurricane! 4 | Hello Hurricane! 5 | Hello Hurricane! 6 | Hello Hurricane! 7 | Hello Hurricane! 8 | Hello Hurricane! 9 | Hello Hurricane! 10 | Hello Hurricane! 11 | -------------------------------------------------------------------------------- /day25/copyfile/helloworld.txt: -------------------------------------------------------------------------------- 1 | Hello Hurricane! 2 | Hello Hurricane! 3 | Hello Hurricane! 4 | Hello Hurricane! 5 | Hello Hurricane! 6 | Hello Hurricane! 7 | Hello Hurricane! 8 | Hello Hurricane! 9 | Hello Hurricane! 10 | Hello Hurricane! 11 | -------------------------------------------------------------------------------- /day25/writefile/helloworld.txt: -------------------------------------------------------------------------------- 1 | Hello Hurricane! 2 | Hello Hurricane! 3 | Hello Hurricane! 4 | Hello Hurricane! 5 | Hello Hurricane! 6 | Hello Hurricane! 7 | Hello Hurricane! 8 | Hello Hurricane! 9 | Hello Hurricane! 10 | Hello Hurricane! 11 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/css/jquery.easy-pie-chart.css: -------------------------------------------------------------------------------- 1 | .easyPieChart { 2 | position: relative; 3 | text-align: center; 4 | } 5 | 6 | .easyPieChart canvas { 7 | position: absolute; 8 | top: 0; 9 | left: 0; 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/hpcloud/tail/Makefile: -------------------------------------------------------------------------------- 1 | default: test 2 | 3 | test: *.go 4 | go test -v -race ./... 5 | 6 | fmt: 7 | gofmt -w . 8 | 9 | # Run the test in an isolated environment. 10 | fulltest: 11 | docker build -t hpcloud/tail . 12 | -------------------------------------------------------------------------------- /vendor/github.com/rcrowley/go-metrics/runtime_gccpufraction.go: -------------------------------------------------------------------------------- 1 | // +build go1.5 2 | 3 | package metrics 4 | 5 | import "runtime" 6 | 7 | func gcCPUFraction(memStats *runtime.MemStats) float64 { 8 | return memStats.GCCPUFraction 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/go.sum: -------------------------------------------------------------------------------- 1 | golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9 h1:L2auWcuQIvxz9xSEqzESnV/QN/gNRXNApHi3fYwl2w0= 2 | golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 3 | -------------------------------------------------------------------------------- /vendor/github.com/magiconair/properties/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.4.x 4 | - 1.5.x 5 | - 1.6.x 6 | - 1.7.x 7 | - 1.8.x 8 | - 1.9.x 9 | - "1.10.x" 10 | - "1.11.x" 11 | - "1.12.x" 12 | - tip 13 | -------------------------------------------------------------------------------- /vendor/github.com/marten-seemann/chacha20/README.md: -------------------------------------------------------------------------------- 1 | # ChaCha20 2 | 3 | Copy of https://godoc.org/golang.org/x/crypto/internal/chacha20, since this is an external package. 4 | Also needs to copy to https://godoc.org/golang.org/x/crypto/internal/subtle. 5 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_above_17.go: -------------------------------------------------------------------------------- 1 | //+build go1.7 2 | 3 | package reflect2 4 | 5 | import "unsafe" 6 | 7 | //go:linkname resolveTypeOff reflect.resolveTypeOff 8 | func resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer 9 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # golang- 2 | golang学习笔记 3 | 4 | 个人公众号 5 | 6 | 7 | ![https://github.com/secondtonone1/blogsbackup/blob/master/blogs/source/_posts/golang01/wxgzh.jpg](https://github.com/secondtonone1/blogsbackup/blob/master/blogs/source/_posts/golang01/wxgzh.jpg) 8 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/signer/v4/options.go: -------------------------------------------------------------------------------- 1 | package v4 2 | 3 | // WithUnsignedPayload will enable and set the UnsignedPayload field to 4 | // true of the signer. 5 | func WithUnsignedPayload(v4 *Signer) { 6 | v4.UnsignedPayload = true 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/hpcloud/tail/tail_posix.go: -------------------------------------------------------------------------------- 1 | // +build linux darwin freebsd netbsd openbsd 2 | 3 | package tail 4 | 5 | import ( 6 | "os" 7 | ) 8 | 9 | func OpenFile(name string) (file *os.File, err error) { 10 | return os.Open(name) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/go.mongodb.org/mongo-driver/mongo/options/clientoptions_1_10.go: -------------------------------------------------------------------------------- 1 | // +build go1.10 2 | 3 | package options 4 | 5 | import "crypto/x509" 6 | 7 | func x509CertSubject(cert *x509.Certificate) string { 8 | return cert.Subject.String() 9 | } 10 | -------------------------------------------------------------------------------- /vendor/gopkg.in/fsnotify.v1/.gitignore: -------------------------------------------------------------------------------- 1 | # Setup a Global .gitignore for OS and editor generated files: 2 | # https://help.github.com/articles/ignoring-files 3 | # git config --global core.excludesfile ~/.gitignore_global 4 | 5 | .vagrant 6 | *.sublime-project 7 | -------------------------------------------------------------------------------- /vendor/github.com/micro/go-micro/registry/cache/options.go: -------------------------------------------------------------------------------- 1 | package cache 2 | 3 | import ( 4 | "time" 5 | ) 6 | 7 | // WithTTL sets the cache TTL 8 | func WithTTL(t time.Duration) Option { 9 | return func(o *Options) { 10 | o.TTL = t 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /day08/grpcclient/consignment.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "This is a test consignment", 3 | "weight": 550, 4 | "containers": [ 5 | { "customer_id": "cust001", "user_id": "user001", "origin": "Manchester, United Kingdom" } 6 | ], 7 | "vessel_id": "vessel001" 8 | } -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.gitignore: -------------------------------------------------------------------------------- 1 | # Setup a Global .gitignore for OS and editor generated files: 2 | # https://help.github.com/articles/ignoring-files 3 | # git config --global core.excludesfile ~/.gitignore_global 4 | 5 | .vagrant 6 | *.sublime-project 7 | -------------------------------------------------------------------------------- /vendor/go.mongodb.org/mongo-driver/x/mongo/driver/topology/topology_options_1_10.go: -------------------------------------------------------------------------------- 1 | // +build go1.10 2 | 3 | package topology 4 | 5 | import "crypto/x509" 6 | 7 | func x509CertSubject(cert *x509.Certificate) string { 8 | return cert.Subject.String() 9 | } 10 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/js/gallery.js: -------------------------------------------------------------------------------- 1 | var Gallery = function () { 2 | 3 | return { 4 | //main function to initiate the module 5 | init: function () { 6 | 7 | App.initFancybox(); 8 | 9 | } 10 | 11 | }; 12 | 13 | }(); -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8.x 5 | - 1.x 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | 10 | script: 11 | - ./test.sh 12 | 13 | after_success: 14 | - bash <(curl -s https://codecov.io/bash) 15 | -------------------------------------------------------------------------------- /vendor/github.com/subosito/gotenv/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.x 4 | os: 5 | - linux 6 | - osx 7 | script: 8 | - go test -test.v -coverprofile=coverage.out -covermode=count 9 | after_success: 10 | - bash <(curl -s https://codecov.io/bash) 11 | -------------------------------------------------------------------------------- /vendor/github.com/subosito/gotenv/appveyor.yml: -------------------------------------------------------------------------------- 1 | build: off 2 | clone_folder: c:\gopath\src\github.com\subosito\gotenv 3 | environment: 4 | GOPATH: c:\gopath 5 | stack: go 1.10 6 | before_test: 7 | - go get -t 8 | test_script: 9 | - go test -v -cover -race 10 | -------------------------------------------------------------------------------- /seckill/seclogic/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | components "golang-/seckill/seclogic/components" 5 | service "golang-/seckill/seclogic/service" 6 | ) 7 | 8 | func main() { 9 | defer components.ReleaseRsc() 10 | service.InitRedisRWGoroutine() 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8.x 5 | - 1.x 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | 10 | script: 11 | - ./test.sh 12 | 13 | after_success: 14 | - bash <(curl -s https://codecov.io/bash) 15 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | **Issue:** add link to pelletier/go-toml issue here 2 | 3 | Explanation of what this pull request does. 4 | 5 | More detailed description of the decisions being made and the reasons why (if the patch is non-trivial). 6 | -------------------------------------------------------------------------------- /seckill/seckilltools/setproductetcd/app.conf: -------------------------------------------------------------------------------- 1 | ;etcd配置 2 | etcd_addr = 127.0.0.1:2379 3 | etcd_timeout = 10 4 | etcd_sec_prefix = limerence/seckill/ 5 | ;log配置 6 | #debug级别 7 | log_level = debug 8 | log_path = app.log 9 | #log文件最大行数 10 | log_maxlines = 1000 11 | 12 | 13 | -------------------------------------------------------------------------------- /vendor/github.com/jmespath/go-jmespath/README.md: -------------------------------------------------------------------------------- 1 | # go-jmespath - A JMESPath implementation in Go 2 | 3 | [![Build Status](https://img.shields.io/travis/jmespath/go-jmespath.svg)](https://travis-ci.org/jmespath/go-jmespath) 4 | 5 | 6 | 7 | See http://jmespath.org for more info. 8 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/prometheus/procfs 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/google/go-cmp v0.3.1 7 | golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e 8 | golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/internal/ini/comma_token.go: -------------------------------------------------------------------------------- 1 | package ini 2 | 3 | var commaRunes = []rune(",") 4 | 5 | func isComma(b rune) bool { 6 | return b == ',' 7 | } 8 | 9 | func newCommaToken() Token { 10 | return newToken(TokenComma, commaRunes, NoneType) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/lucas-clemente/quic-go/quictrace/README.md: -------------------------------------------------------------------------------- 1 | # quic-trace Adapter 2 | 3 | This is an experimental implementation of the log format consumed by [quic-trace](https://github.com/google/quic-trace). 4 | 5 | At this moment, this package comes with no API stability whatsoever. 6 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cast/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | env: 3 | - GO111MODULE=on 4 | sudo: required 5 | go: 6 | - "1.11.x" 7 | - tip 8 | os: 9 | - linux 10 | matrix: 11 | allow_failures: 12 | - go: tip 13 | fast_finish: true 14 | script: 15 | - make check 16 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/signer/v4/request_context_go1.7.go: -------------------------------------------------------------------------------- 1 | // +build go1.7 2 | 3 | package v4 4 | 5 | import ( 6 | "net/http" 7 | 8 | "github.com/aws/aws-sdk-go/aws" 9 | ) 10 | 11 | func requestContext(r *http.Request) aws.Context { 12 | return r.Context() 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/hpcloud/tail/tail_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package tail 4 | 5 | import ( 6 | "github.com/hpcloud/tail/winfile" 7 | "os" 8 | ) 9 | 10 | func OpenFile(name string) (file *os.File, err error) { 11 | return winfile.OpenFile(name, os.O_RDONLY, 0) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/lucas-clemente/quic-go/internal/congestion/stats.go: -------------------------------------------------------------------------------- 1 | package congestion 2 | 3 | import "github.com/lucas-clemente/quic-go/internal/protocol" 4 | 5 | type connectionStats struct { 6 | slowstartPacketsLost protocol.PacketNumber 7 | slowstartBytesLost protocol.ByteCount 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/oxtoacart/bpool/bpool.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package bpool implements leaky pools of byte arrays and Buffers as bounded 3 | channels. It is based on the leaky buffer example from the Effective Go 4 | documentation: http://golang.org/doc/effective_go.html#leaky_buffer 5 | */ 6 | package bpool 7 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | func probeProtocolStack() int { return 4 } 8 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*.go] 4 | indent_style = tab 5 | indent_size = 4 6 | insert_final_newline = true 7 | 8 | [*.{yml,yaml}] 9 | indent_style = space 10 | indent_size = 2 11 | insert_final_newline = true 12 | trim_trailing_whitespace = true 13 | -------------------------------------------------------------------------------- /vendor/github.com/go-stack/stack/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | go: 4 | - 1.7.x 5 | - 1.8.x 6 | - 1.9.x 7 | - 1.10.x 8 | - 1.11.x 9 | - tip 10 | 11 | before_install: 12 | - go get github.com/mattn/goveralls 13 | 14 | script: 15 | - goveralls -service=travis-ci 16 | -------------------------------------------------------------------------------- /vendor/github.com/micro/cli/go.sum: -------------------------------------------------------------------------------- 1 | gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 2 | gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= 3 | gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 4 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/NOTICE: -------------------------------------------------------------------------------- 1 | procfs provides functions to retrieve system, kernel and process 2 | metrics from the pseudo-filesystem proc. 3 | 4 | Copyright 2014-2015 The Prometheus Authors 5 | 6 | This product includes software developed at 7 | SoundCloud Ltd. (http://soundcloud.com/). 8 | -------------------------------------------------------------------------------- /vendor/go.uber.org/zap/go.mod: -------------------------------------------------------------------------------- 1 | module go.uber.org/zap 2 | 3 | go 1.13 4 | 5 | require ( 6 | github.com/pkg/errors v0.8.1 7 | github.com/stretchr/testify v1.4.0 8 | go.uber.org/atomic v1.5.0 9 | go.uber.org/multierr v1.3.0 10 | golang.org/x/lint v0.0.0-20190930215403-16217165b5de 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_mipsx.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build mips mipsle 6 | 7 | package cpu 8 | 9 | const cacheLineSize = 32 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_other_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !linux,arm64 6 | 7 | package cpu 8 | 9 | func doinit() {} 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_riscv64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build riscv64 6 | 7 | package cpu 8 | 9 | const cacheLineSize = 32 10 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/install_gae.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | TMP=$(mktemp -d /tmp/sdk.XXX) \ 4 | && curl -o $TMP.zip "https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.68.zip" \ 5 | && unzip -q $TMP.zip -d $TMP \ 6 | && export PATH="$PATH:$TMP/go_appengine" 7 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/signer/v4/request_context_go1.5.go: -------------------------------------------------------------------------------- 1 | // +build !go1.7 2 | 3 | package v4 4 | 5 | import ( 6 | "net/http" 7 | 8 | "github.com/aws/aws-sdk-go/aws" 9 | ) 10 | 11 | func requestContext(r *http.Request) aws.Context { 12 | return aws.BackgroundContext() 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/version.go: -------------------------------------------------------------------------------- 1 | // Package aws provides core functionality for making requests to AWS services. 2 | package aws 3 | 4 | // SDKName is the name of this AWS SDK 5 | const SDKName = "aws-sdk-go" 6 | 7 | // SDKVersion is the version of this SDK 8 | const SDKVersion = "1.29.15" 9 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/internal/ini/fuzz.go: -------------------------------------------------------------------------------- 1 | // +build gofuzz 2 | 3 | package ini 4 | 5 | import ( 6 | "bytes" 7 | ) 8 | 9 | func Fuzz(data []byte) int { 10 | b := bytes.NewReader(data) 11 | 12 | if _, err := Parse(b); err != nil { 13 | return 0 14 | } 15 | 16 | return 1 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/micro/cli/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.10.x 4 | - 1.11.x 5 | notifications: 6 | slack: 7 | secure: aEvhLbhujaGaKSrOokiG3//PaVHTIrc3fBpoRbCRqfZpyq6WREoapJJhF+tIpWWOwaC9GmChbD6aHo/jMUgwKXVyPSaNjiEL87YzUUpL8B2zslNp1rgfTg/LrzthOx3Q1TYwpaAl3to0fuHUVFX4yMeC2vuThq7WSXgMMxFCtbc= 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_mips64x.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build mips64 mips64le 6 | 7 | package cpu 8 | 9 | const cacheLineSize = 32 10 | -------------------------------------------------------------------------------- /microdemo3/proto/rpcapi/rpcapi.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package rpcapi; 4 | import "common.proto"; 5 | 6 | //protoc --proto_path=../model --proto_path=. --micro_out=. ./rpcapi.proto 7 | 8 | // 服务接口 9 | service Say { 10 | rpc Hello(model.SayParam) returns (model.SayResponse) {} 11 | 12 | } -------------------------------------------------------------------------------- /microdemo4/proto/rpcapi/rpcapi.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package rpcapi; 4 | import "common.proto"; 5 | 6 | //protoc --proto_path=../model --proto_path=. --micro_out=. ./rpcapi.proto 7 | 8 | // 服务接口 9 | service Say { 10 | rpc Hello(model.SayParam) returns (model.SayResponse) {} 11 | 12 | } -------------------------------------------------------------------------------- /vendor/github.com/astaxie/beego/context/renderer.go: -------------------------------------------------------------------------------- 1 | package context 2 | 3 | // Renderer defines an http response renderer 4 | type Renderer interface { 5 | Render(ctx *Context) 6 | } 7 | 8 | type rendererFunc func(ctx *Context) 9 | 10 | func (f rendererFunc) Render(ctx *Context) { 11 | f(ctx) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/gopkg.in/jcmturner/rpc.v1/mstypes/common.go: -------------------------------------------------------------------------------- 1 | package mstypes 2 | 3 | // LPWSTR implements https://msdn.microsoft.com/en-us/library/cc230355.aspx 4 | type LPWSTR struct { 5 | Value string `ndr:"pointer,conformant,varying"` 6 | } 7 | 8 | func (s *LPWSTR) String() string { 9 | return s.Value 10 | } 11 | -------------------------------------------------------------------------------- /seckill/secproxy/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | _ "golang-/seckill/secproxy/router" 5 | 6 | components "golang-/seckill/secproxy/components" 7 | 8 | "github.com/astaxie/beego" 9 | ) 10 | 11 | func main() { 12 | defer func() { 13 | components.ReleaseRsc() 14 | }() 15 | beego.Run() 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/golang/protobuf/ptypes/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package ptypes provides functionality for interacting with well-known types. 6 | package ptypes 7 | -------------------------------------------------------------------------------- /vendor/github.com/micro/mdns/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/micro/mdns 2 | 3 | require ( 4 | github.com/miekg/dns v1.1.3 5 | golang.org/x/crypto v0.0.0-20190130090550-b01c7a725664 // indirect 6 | golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3 7 | golang.org/x/sys v0.0.0-20190129075346-302c3dd5f1cc // indirect 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/empty.s: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin,go1.12 6 | 7 | // This exists solely so we can linkname in symbols from syscall. 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/endian_big.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | // +build ppc64 s390x mips mips64 6 | 7 | package unix 8 | 9 | const isBigEndian = true 10 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - "1.4.x" 5 | - "1.5.x" 6 | - "1.6.x" 7 | - "1.7.x" 8 | - "1.8.x" 9 | - "1.9.x" 10 | - "1.10.x" 11 | - "1.11.x" 12 | - "1.12.x" 13 | - "1.13.x" 14 | - "tip" 15 | 16 | go_import_path: gopkg.in/yaml.v2 17 | -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.1 4 | - 1.2 5 | - 1.3 6 | - 1.4 7 | - 1.5 8 | - 1.6 9 | - tip 10 | install: 11 | - go install ./... 12 | - go get github.com/BurntSushi/toml-test 13 | script: 14 | - export PATH="$PATH:$HOME/gopath/bin" 15 | - make test 16 | -------------------------------------------------------------------------------- /vendor/github.com/hpcloud/tail/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | script: 4 | - go test -race -v ./... 5 | 6 | go: 7 | - 1.4 8 | - 1.5 9 | - 1.6 10 | - tip 11 | 12 | matrix: 13 | allow_failures: 14 | - go: tip 15 | 16 | install: 17 | - go get gopkg.in/fsnotify.v1 18 | - go get gopkg.in/tomb.v1 19 | -------------------------------------------------------------------------------- /vendor/github.com/micro/go-micro/runtime/process/os/process.go: -------------------------------------------------------------------------------- 1 | // Package os runs processes locally 2 | package os 3 | 4 | import ( 5 | "github.com/micro/go-micro/runtime/process" 6 | ) 7 | 8 | type Process struct{} 9 | 10 | func NewProcess(opts ...process.Option) process.Process { 11 | return &Process{} 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/micro/go-micro/transport/grpc/proto/transport.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package go.micro.grpc.transport; 4 | 5 | service Transport { 6 | rpc Stream(stream Message) returns (stream Message) {} 7 | } 8 | 9 | message Message { 10 | map header = 1; 11 | bytes body = 2; 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | indent_size = 4 7 | indent_style = space 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*.go] 12 | indent_style = tab 13 | 14 | [{Makefile, *.mk}] 15 | indent_style = tab 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/ast/astutil/util.go: -------------------------------------------------------------------------------- 1 | package astutil 2 | 3 | import "go/ast" 4 | 5 | // Unparen returns e with any enclosing parentheses stripped. 6 | func Unparen(e ast.Expr) ast.Expr { 7 | for { 8 | p, ok := e.(*ast.ParenExpr) 9 | if !ok { 10 | return e 11 | } 12 | e = p.X 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/cespare/xxhash/v2/xxhash_amd64.go: -------------------------------------------------------------------------------- 1 | // +build !appengine 2 | // +build gc 3 | // +build !purego 4 | 5 | package xxhash 6 | 7 | // Sum64 computes the 64-bit xxHash digest of b. 8 | // 9 | //go:noescape 10 | func Sum64(b []byte) uint64 11 | 12 | //go:noescape 13 | func writeBlocks(d *Digest, b []byte) int 14 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/go_above_19.go: -------------------------------------------------------------------------------- 1 | //+build go1.9 2 | 3 | package concurrent 4 | 5 | import "sync" 6 | 7 | // Map is a wrapper for sync.Map introduced in go1.9 8 | type Map struct { 9 | sync.Map 10 | } 11 | 12 | // NewMap creates a thread safe Map 13 | func NewMap() *Map { 14 | return &Map{} 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/nats-io/jwt/.gitignore: -------------------------------------------------------------------------------- 1 | # Binaries for programs and plugins 2 | *.exe 3 | *.exe~ 4 | *.dll 5 | *.so 6 | *.dylib 7 | 8 | # Test binary, build with `go test -c` 9 | *.test 10 | 11 | # Output of the go coverage tool, specifically when used with LiteIDE 12 | *.out 13 | 14 | # IDE Files 15 | .vscode 16 | .idea/ -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | 4 | go: 5 | - 1.9 6 | - "1.10" 7 | - tip 8 | 9 | os: 10 | - linux 11 | - osx 12 | 13 | matrix: 14 | allow_failures: 15 | - go: tip 16 | fast_finish: true 17 | 18 | script: 19 | - go build 20 | - go test -race -v ./... 21 | 22 | -------------------------------------------------------------------------------- /vendor/go.uber.org/atomic/go.mod: -------------------------------------------------------------------------------- 1 | module go.uber.org/atomic 2 | 3 | require ( 4 | github.com/davecgh/go-spew v1.1.1 // indirect 5 | github.com/stretchr/testify v1.3.0 6 | golang.org/x/lint v0.0.0-20190930215403-16217165b5de 7 | golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c // indirect 8 | ) 9 | 10 | go 1.13 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x12b 9 | sysSENDMMSG = 0x133 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x16d 9 | sysSENDMMSG = 0x176 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0xf3 9 | sysSENDMMSG = 0x10d 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_mips.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x10ef 9 | sysSENDMMSG = 0x10f7 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_ppc64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x157 9 | sysSENDMMSG = 0x15d 10 | ) 11 | -------------------------------------------------------------------------------- /seckill/seclogic/router/router.go: -------------------------------------------------------------------------------- 1 | package router 2 | 3 | import ( 4 | "golang-/seckill/secproxy/controller" 5 | 6 | "github.com/astaxie/beego" 7 | ) 8 | 9 | func init() { 10 | beego.Router("/seckill", &controller.SecKillCtr{}, "*:SecKill") 11 | beego.Router("/secinfo", &controller.SecKillCtr{}, "*:SecInfo") 12 | 13 | } 14 | -------------------------------------------------------------------------------- /seckill/secproxy/router/router.go: -------------------------------------------------------------------------------- 1 | package router 2 | 3 | import ( 4 | "golang-/seckill/secproxy/controller" 5 | 6 | "github.com/astaxie/beego" 7 | ) 8 | 9 | func init() { 10 | beego.Router("/seckill", &controller.SecKillCtr{}, "*:SecKill") 11 | beego.Router("/secinfo", &controller.SecKillCtr{}, "*:SecInfo") 12 | 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/eapache/go-xerial-snappy/fuzz.go: -------------------------------------------------------------------------------- 1 | // +build gofuzz 2 | 3 | package snappy 4 | 5 | func Fuzz(data []byte) int { 6 | decode, err := Decode(data) 7 | if decode == nil && err == nil { 8 | panic("nil error with nil result") 9 | } 10 | 11 | if err != nil { 12 | return 0 13 | } 14 | 15 | return 1 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/micro/go-micro/codec/protorpc/envelope.proto: -------------------------------------------------------------------------------- 1 | package protorpc; 2 | 3 | message Request { 4 | optional string service_method = 1; 5 | optional fixed64 seq = 2; 6 | } 7 | 8 | message Response { 9 | optional string service_method = 1; 10 | optional fixed64 seq = 2; 11 | optional string error = 3; 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8.x 5 | - 1.x 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | - go get -t -v github.com/modern-go/reflect2-tests/... 10 | 11 | script: 12 | - ./test.sh 13 | 14 | after_success: 15 | - bash <(curl -s https://codecov.io/bash) 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_mips64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x14ae 9 | sysSENDMMSG = 0x14b6 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_mips64le.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x14ae 9 | sysSENDMMSG = 0x14b6 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_mipsle.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x10ef 9 | sysSENDMMSG = 0x10f7 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_ppc64le.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x157 9 | sysSENDMMSG = 0x15d 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/flags/proto_legacy_disable.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !protolegacy 6 | 7 | package flags 8 | 9 | const protoLegacy = false 10 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/flags/proto_legacy_enable.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build protolegacy 6 | 7 | package flags 8 | 9 | const protoLegacy = true 10 | -------------------------------------------------------------------------------- /vendor/github.com/hpcloud/tail/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: 0.{build} 2 | skip_tags: true 3 | cache: C:\Users\appveyor\AppData\Local\NuGet\Cache 4 | build_script: 5 | - SET GOPATH=c:\workspace 6 | - go test -v -race ./... 7 | test: off 8 | clone_folder: c:\workspace\src\github.com\hpcloud\tail 9 | branches: 10 | only: 11 | - master 12 | -------------------------------------------------------------------------------- /vendor/github.com/lucas-clemente/quic-go/internal/utils/streamframe_interval.go: -------------------------------------------------------------------------------- 1 | package utils 2 | 3 | import "github.com/lucas-clemente/quic-go/internal/protocol" 4 | 5 | // ByteInterval is an interval from one ByteCount to the other 6 | type ByteInterval struct { 7 | Start protocol.ByteCount 8 | End protocol.ByteCount 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/micro/go-micro/server/mucp/mucp.go: -------------------------------------------------------------------------------- 1 | // Package mucp provides an mucp server 2 | package mucp 3 | 4 | import ( 5 | "github.com/micro/go-micro/server" 6 | ) 7 | 8 | // NewServer returns a micro server interface 9 | func NewServer(opts ...server.Option) server.Server { 10 | return server.NewServer(opts...) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/rcrowley/go-metrics/validate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | # check there are no formatting issues 6 | GOFMT_LINES=`gofmt -l . | wc -l | xargs` 7 | test $GOFMT_LINES -eq 0 || echo "gofmt needs to be run, ${GOFMT_LINES} files have issues" 8 | 9 | # run the tests for the root package 10 | go test -race . 11 | -------------------------------------------------------------------------------- /beegopro/controllers/default.go: -------------------------------------------------------------------------------- 1 | package controllers 2 | 3 | import ( 4 | "github.com/astaxie/beego" 5 | ) 6 | 7 | type MainController struct { 8 | beego.Controller 9 | } 10 | 11 | func (c *MainController) Get() { 12 | c.Data["Website"] = "beego.me" 13 | c.Data["Email"] = "astaxie@gmail.com" 14 | c.TplName = "index.tpl" 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/internal/sdkio/byte.go: -------------------------------------------------------------------------------- 1 | package sdkio 2 | 3 | const ( 4 | // Byte is 8 bits 5 | Byte int64 = 1 6 | // KibiByte (KiB) is 1024 Bytes 7 | KibiByte = Byte * 1024 8 | // MebiByte (MiB) is 1024 KiB 9 | MebiByte = KibiByte * 1024 10 | // GibiByte (GiB) is 1024 MiB 11 | GibiByte = MebiByte * 1024 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/lucas-clemente/quic-go/internal/ackhandler/frame.go: -------------------------------------------------------------------------------- 1 | package ackhandler 2 | 3 | import "github.com/lucas-clemente/quic-go/internal/wire" 4 | 5 | type Frame struct { 6 | wire.Frame // nil if the frame has already been acknowledged in another packet 7 | OnLost func(wire.Frame) 8 | OnAcked func(wire.Frame) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/micro/go-micro/broker/http/http.go: -------------------------------------------------------------------------------- 1 | // Package http provides a http based message broker 2 | package http 3 | 4 | import ( 5 | "github.com/micro/go-micro/broker" 6 | ) 7 | 8 | // NewBroker returns a new http broker 9 | func NewBroker(opts ...broker.Option) broker.Broker { 10 | return broker.NewBroker(opts...) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/micro/go-micro/client/mucp/mucp.go: -------------------------------------------------------------------------------- 1 | // Package mucp provides an mucp client 2 | package mucp 3 | 4 | import ( 5 | "github.com/micro/go-micro/client" 6 | ) 7 | 8 | // NewClient returns a new micro client interface 9 | func NewClient(opts ...client.Option) client.Client { 10 | return client.NewClient(opts...) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/micro/go-micro/runtime/build/options.go: -------------------------------------------------------------------------------- 1 | package build 2 | 3 | type Options struct { 4 | // local path to download source 5 | Path string 6 | } 7 | 8 | type Option func(o *Options) 9 | 10 | // Local path for repository 11 | func Path(p string) Option { 12 | return func(o *Options) { 13 | o.Path = p 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/marshal_OrderPreserve_Map_test.toml: -------------------------------------------------------------------------------- 1 | title = "TOML Marshal Testing" 2 | 3 | [basic_map] 4 | one = "one" 5 | two = "two" 6 | 7 | [long_map] 8 | a7 = "1" 9 | b3 = "2" 10 | c8 = "3" 11 | d4 = "4" 12 | e6 = "5" 13 | f5 = "6" 14 | g10 = "7" 15 | h1 = "8" 16 | i2 = "9" 17 | j9 = "10" 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/poly1305/mac_noasm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !amd64,!ppc64le,!s390x gccgo purego 6 | 7 | package poly1305 8 | 9 | type mac struct{ macGeneric } 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_linux_noinit.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build linux,!arm,!arm64,!mips64,!mips64le,!ppc64,!ppc64le,!s390x 6 | 7 | package cpu 8 | 9 | func doinit() {} 10 | -------------------------------------------------------------------------------- /vendor/gopkg.in/ini.v1/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: build test bench vet coverage 2 | 3 | build: vet bench 4 | 5 | test: 6 | go test -v -cover -race 7 | 8 | bench: 9 | go test -v -cover -race -test.bench=. -test.benchmem 10 | 11 | vet: 12 | go vet 13 | 14 | coverage: 15 | go test -coverprofile=c.out && go tool cover -html=c.out && rm c.out 16 | -------------------------------------------------------------------------------- /gomongo/model/model.go: -------------------------------------------------------------------------------- 1 | package model 2 | 3 | type UserData struct { 4 | Id string `bson:"_id,omitempty" json:"id"` 5 | Name string `bson:"name" json:"name"` 6 | Number int `bson:"number" json:"number"` 7 | Age int `bson:"age" json:"age"` 8 | BirthMonth int `bson:"birthMonth" json:"birthMonth"` 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_amd64.go: -------------------------------------------------------------------------------- 1 | // +build !appengine 2 | // +build gc 3 | // +build !purego 4 | 5 | package xxhash 6 | 7 | // Sum64 computes the 64-bit xxHash digest of b. 8 | // 9 | //go:noescape 10 | func Sum64(b []byte) uint64 11 | 12 | //go:noescape 13 | func writeBlocks(*Digest, []byte) int 14 | -------------------------------------------------------------------------------- /vendor/github.com/lucas-clemente/quic-go/internal/utils/packet_interval.go: -------------------------------------------------------------------------------- 1 | package utils 2 | 3 | import "github.com/lucas-clemente/quic-go/internal/protocol" 4 | 5 | // PacketInterval is an interval from one PacketNumber to the other 6 | type PacketInterval struct { 7 | Start protocol.PacketNumber 8 | End protocol.PacketNumber 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/micro/go-micro/runtime/source/options.go: -------------------------------------------------------------------------------- 1 | package source 2 | 3 | type Options struct { 4 | // local path to download source 5 | Path string 6 | } 7 | 8 | type Option func(o *Options) 9 | 10 | // Local path for repository 11 | func Path(p string) Option { 12 | return func(o *Options) { 13 | o.Path = p 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/dns/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | 4 | go: 5 | - 1.11.x 6 | - 1.12.x 7 | - tip 8 | 9 | env: 10 | - GO111MODULE=on 11 | 12 | script: 13 | - go test -race -v -bench=. -coverprofile=coverage.txt -covermode=atomic ./... 14 | 15 | after_success: 16 | - bash <(curl -s https://codecov.io/bash) 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_gc_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | package cpu 8 | 9 | func getisar0() uint64 10 | func getisar1() uint64 11 | func getpfr0() uint64 12 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/internal/sdkio/io_go1.6.go: -------------------------------------------------------------------------------- 1 | // +build !go1.7 2 | 3 | package sdkio 4 | 5 | // Copy of Go 1.7 io package's Seeker constants. 6 | const ( 7 | SeekStart = 0 // seek relative to the origin of the file 8 | SeekCurrent = 1 // seek relative to the current offset 9 | SeekEnd = 2 // seek relative to the end 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/lucas-clemente/quic-go/.gitignore: -------------------------------------------------------------------------------- 1 | debug 2 | debug.test 3 | main 4 | *.qtr 5 | 6 | fuzzing/*/*.zip 7 | fuzzing/*/coverprofile 8 | fuzzing/*/crashers 9 | fuzzing/*/sonarprofile 10 | fuzzing/*/suppressions 11 | fuzzing/*/corpus/ 12 | !fuzzing/frames/single-frame* 13 | !fuzzing/frames/multiple-frame* 14 | !fuzzing/header/header* 15 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM golang:1.12-alpine3.9 as builder 2 | WORKDIR /go/src/github.com/pelletier/go-toml 3 | COPY . . 4 | ENV CGO_ENABLED=0 5 | ENV GOOS=linux 6 | RUN go install ./... 7 | 8 | FROM scratch 9 | COPY --from=builder /go/bin/tomll /usr/bin/tomll 10 | COPY --from=builder /go/bin/tomljson /usr/bin/tomljson 11 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/spf13/cobra 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/cpuguy83/go-md2man/v2 v2.0.0 7 | github.com/inconshreveable/mousetrap v1.0.0 8 | github.com/mitchellh/go-homedir v1.1.0 9 | github.com/spf13/pflag v1.0.3 10 | github.com/spf13/viper v1.4.0 11 | gopkg.in/yaml.v2 v2.2.2 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/go.mongodb.org/mongo-driver/mongo/util.go: -------------------------------------------------------------------------------- 1 | // Copyright (C) MongoDB, Inc. 2017-present. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); you may 4 | // not use this file except in compliance with the License. You may obtain 5 | // a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 6 | 7 | package mongo 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/lint/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | go: 4 | - 1.10.x 5 | - 1.11.x 6 | - master 7 | 8 | go_import_path: golang.org/x/lint 9 | 10 | install: 11 | - go get -t -v ./... 12 | 13 | script: 14 | - go test -v -race ./... 15 | 16 | matrix: 17 | allow_failures: 18 | - go: master 19 | fast_finish: true 20 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/encoding/prototext/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package prototext marshals and unmarshals protocol buffer messages as the 6 | // textproto format. 7 | package prototext 8 | -------------------------------------------------------------------------------- /goetcd/server3/etcd_start.sh: -------------------------------------------------------------------------------- 1 | etcd --config-file=/home/secondtonone/workspace/goProject/src/golang-/goetcd/server3/config1.yml & 2 | sleep 5 3 | etcd --config-file=/home/secondtonone/workspace/goProject/src/golang-/goetcd/server3/config2.yml & 4 | sleep 5 5 | etcd --config-file=/home/secondtonone/workspace/goProject/src/golang-/goetcd/server3/config3.yml & 6 | sleep 6 -------------------------------------------------------------------------------- /grpcservice/login/loginproto/login.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package loginproto; 4 | 5 | service LoginService { 6 | rpc Login(LoginReq) returns (LoginRsp) {} 7 | } 8 | 9 | message LoginReq { 10 | string name = 1; 11 | } 12 | 13 | message LoginRsp{ 14 | int32 errorid = 1; 15 | string name = 2; 16 | int32 userid = 3; 17 | } -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/credentials/example.ini: -------------------------------------------------------------------------------- 1 | [default] 2 | aws_access_key_id = accessKey 3 | aws_secret_access_key = secret 4 | aws_session_token = token 5 | 6 | [no_token] 7 | aws_access_key_id = accessKey 8 | aws_secret_access_key = secret 9 | 10 | [with_colon] 11 | aws_access_key_id: accessKey 12 | aws_secret_access_key: secret 13 | -------------------------------------------------------------------------------- /vendor/github.com/micro/go-plugins/broker/grpc/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/micro/go-plugins/broker/grpc 2 | 3 | go 1.13 4 | 5 | require ( 6 | github.com/golang/protobuf v1.3.2 7 | github.com/google/uuid v1.1.1 8 | github.com/micro/go-micro v1.18.0 9 | golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa 10 | google.golang.org/grpc v1.26.0 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/github.com/micro/go-plugins/broker/grpc/proto/broker.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package broker; 4 | 5 | service Broker { 6 | rpc Publish(Message) returns (Empty) {} 7 | } 8 | 9 | message Message { 10 | string topic = 1; 11 | string id = 2; 12 | map header = 3; 13 | bytes body = 4; 14 | } 15 | 16 | message Empty {} 17 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_below_19.go: -------------------------------------------------------------------------------- 1 | //+build !go1.9 2 | 3 | package reflect2 4 | 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | //go:linkname makemap reflect.makemap 10 | func makemap(rtype unsafe.Pointer) (m unsafe.Pointer) 11 | 12 | func makeMapWithSize(rtype unsafe.Pointer, cap int) unsafe.Pointer { 13 | return makemap(rtype) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_riscv64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build riscv64 6 | 7 | package socket 8 | 9 | const ( 10 | sysRECVMMSG = 0xf3 11 | sysSENDMMSG = 0x10d 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/endian_little.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | // +build 386 amd64 amd64p32 arm arm64 ppc64le mipsle mips64le riscv64 6 | 7 | package unix 8 | 9 | const isBigEndian = false 10 | -------------------------------------------------------------------------------- /logcatchsys/logdealsys/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | kafconsumer "golang-/logcatchsys/kafconsumer" 6 | "golang-/logcatchsys/logconfig" 7 | ) 8 | 9 | func main() { 10 | v := logconfig.InitVipper() 11 | if v == nil { 12 | fmt.Println("vipper init failed!") 13 | return 14 | } 15 | 16 | kafconsumer.GetMsgFromKafka() 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/url.go: -------------------------------------------------------------------------------- 1 | // +build go1.8 2 | 3 | package aws 4 | 5 | import "net/url" 6 | 7 | // URLHostname will extract the Hostname without port from the URL value. 8 | // 9 | // Wrapper of net/url#URL.Hostname for backwards Go version compatibility. 10 | func URLHostname(url *url.URL) string { 11 | return url.Hostname() 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/micro/go-plugins/registry/etcdv3/options.go: -------------------------------------------------------------------------------- 1 | package etcdv3 2 | 3 | import ( 4 | "github.com/micro/go-micro/registry" 5 | "github.com/micro/go-micro/registry/etcd" 6 | ) 7 | 8 | // Auth allows you to specify username/password 9 | func Auth(username, password string) registry.Option { 10 | return etcd.Auth(username, password) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/olivere/elastic/run-es.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | VERSION=${VERSION:=6.4.0} 3 | docker run --rm -p 9200:9200 -e "http.host=0.0.0.0" -e "transport.host=127.0.0.1" -e "bootstrap.memory_lock=true" -e "ES_JAVA_OPTS=-Xms1g -Xmx1g" docker.elastic.co/elasticsearch/elasticsearch-oss:$VERSION elasticsearch -Enetwork.host=_local_,_site_ -Enetwork.publish_host=_local_ 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/norace.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !race 6 | 7 | package socket 8 | 9 | func (m *Message) raceRead() { 10 | } 11 | func (m *Message) raceWrite() { 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/Makefile: -------------------------------------------------------------------------------- 1 | TEST?=./... 2 | 3 | default: test 4 | 5 | fmt: generate 6 | go fmt ./... 7 | 8 | test: generate 9 | go get -t ./... 10 | go test $(TEST) $(TESTARGS) 11 | 12 | generate: 13 | go generate ./... 14 | 15 | updatedeps: 16 | go get -u golang.org/x/tools/cmd/stringer 17 | 18 | .PHONY: default generate test updatedeps 19 | -------------------------------------------------------------------------------- /vendor/github.com/lucas-clemente/quic-go/internal/handshake/mockgen.go: -------------------------------------------------------------------------------- 1 | package handshake 2 | 3 | //go:generate sh -c "../mockgen_internal.sh handshake mock_handshake_runner_test.go github.com/lucas-clemente/quic-go/internal/handshake handshakeRunner" 4 | //go:generate sh -c "mockgen -package handshake crypto/tls ClientSessionCache > mock_client_session_cache_test.go" 5 | -------------------------------------------------------------------------------- /vendor/github.com/olivere/elastic/config/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012-present Oliver Eilhard. All rights reserved. 2 | // Use of this source code is governed by a MIT-license. 3 | // See http://olivere.mit-license.org/license.txt for details. 4 | 5 | /* 6 | Package config allows parsing a configuration for Elasticsearch 7 | from a URL. 8 | */ 9 | package config 10 | -------------------------------------------------------------------------------- /day14/once/oncecall.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "sync" 6 | "time" 7 | ) 8 | 9 | var once sync.Once 10 | var i int = 0 11 | 12 | func AddNum() { 13 | i++ 14 | fmt.Println("i is: ", i) 15 | } 16 | 17 | func main() { 18 | go once.Do(AddNum) 19 | go once.Do(AddNum) 20 | once.Do(AddNum) 21 | time.Sleep(time.Duration(2) * time.Second) 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_above_19.go: -------------------------------------------------------------------------------- 1 | //+build go1.9 2 | 3 | package reflect2 4 | 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | //go:linkname makemap reflect.makemap 10 | func makemap(rtype unsafe.Pointer, cap int) (m unsafe.Pointer) 11 | 12 | func makeMapWithSize(rtype unsafe.Pointer, cap int) unsafe.Pointer { 13 | return makemap(rtype, cap) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/empty.s: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !go1.12 6 | 7 | // This file is here to allow bodyless functions with go:linkname for Go 1.11 8 | // and earlier (see https://golang.org/issue/23311). 9 | -------------------------------------------------------------------------------- /beegopro/static/js/reload.min.js: -------------------------------------------------------------------------------- 1 | function b(a){var c=new WebSocket(a);c.onclose=function(){setTimeout(function(){b(a)},2E3)};c.onmessage=function(){location.reload()}}try{if(window.WebSocket)try{b("ws://localhost:12450/reload")}catch(a){console.error(a)}else console.log("Your browser does not support WebSockets.")}catch(a){console.error("Exception during connecting to Reload:",a)}; 2 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/js/search.js: -------------------------------------------------------------------------------- 1 | var Search = function () { 2 | 3 | return { 4 | //main function to initiate the module 5 | init: function () { 6 | if (jQuery().datepicker) { 7 | $('.date-picker').datepicker(); 8 | } 9 | 10 | App.initFancybox(); 11 | } 12 | 13 | }; 14 | 15 | }(); -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -coverprofile=profile.out -coverpkg=github.com/json-iterator/go $d 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/micro/go-micro/plugin/template.go: -------------------------------------------------------------------------------- 1 | package plugin 2 | 3 | var ( 4 | tmpl = ` 5 | package main 6 | 7 | import ( 8 | "github.com/micro/go-micro/plugin" 9 | 10 | "{{.Path}}" 11 | ) 12 | 13 | var Plugin = plugin.Config{ 14 | Name: "{{.Name}}", 15 | Type: "{{.Type}}", 16 | Path: "{{.Path}}", 17 | NewFunc: {{.Name}}.{{.NewFunc}}, 18 | } 19 | ` 20 | ) 21 | -------------------------------------------------------------------------------- /vendor/github.com/xdg/stringprep/error.go: -------------------------------------------------------------------------------- 1 | package stringprep 2 | 3 | import "fmt" 4 | 5 | // Error describes problems encountered during stringprep, including what rune 6 | // was problematic. 7 | type Error struct { 8 | Msg string 9 | Rune rune 10 | } 11 | 12 | func (e Error) Error() string { 13 | return fmt.Sprintf("%s (rune: '\\u%04x')", e.Msg, e.Rune) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/go.mongodb.org/mongo-driver/mongo/options/clientoptions_1_9.go: -------------------------------------------------------------------------------- 1 | // +build !go1.10 2 | 3 | package options 4 | 5 | import ( 6 | "crypto/x509" 7 | ) 8 | 9 | // We don't support version less then 1.10, but Evergreen needs to be able to compile the driver 10 | // using version 1.8. 11 | func x509CertSubject(cert *x509.Certificate) string { 12 | return "" 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/context_1_9.go: -------------------------------------------------------------------------------- 1 | // +build go1.9 2 | 3 | package aws 4 | 5 | import "context" 6 | 7 | // Context is an alias of the Go stdlib's context.Context interface. 8 | // It can be used within the SDK's API operation "WithContext" methods. 9 | // 10 | // See https://golang.org/pkg/context on how to use contexts. 11 | type Context = context.Context 12 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/internal/sdkmath/floor.go: -------------------------------------------------------------------------------- 1 | // +build go1.10 2 | 3 | package sdkmath 4 | 5 | import "math" 6 | 7 | // Round returns the nearest integer, rounding half away from zero. 8 | // 9 | // Special cases are: 10 | // Round(±0) = ±0 11 | // Round(±Inf) = ±Inf 12 | // Round(NaN) = NaN 13 | func Round(x float64) float64 { 14 | return math.Round(x) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/json-iterator/go 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/davecgh/go-spew v1.1.1 7 | github.com/google/gofuzz v1.0.0 8 | github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 9 | github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 10 | github.com/stretchr/testify v1.3.0 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/dns/version.go: -------------------------------------------------------------------------------- 1 | package dns 2 | 3 | import "fmt" 4 | 5 | // Version is current version of this library. 6 | var Version = V{1, 1, 22} 7 | 8 | // V holds the version of this library. 9 | type V struct { 10 | Major, Minor, Patch int 11 | } 12 | 13 | func (v V) String() string { 14 | return fmt.Sprintf("%d.%d.%d", v.Major, v.Minor, v.Patch) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/gopkg.in/jcmturner/aescts.v1/.gitignore: -------------------------------------------------------------------------------- 1 | # Binaries for programs and plugins 2 | *.exe 3 | *.dll 4 | *.so 5 | *.dylib 6 | 7 | # Test binary, build with `go test -c` 8 | *.test 9 | 10 | # Output of the go coverage tool, specifically when used with LiteIDE 11 | *.out 12 | 13 | # Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736 14 | .glide/ 15 | -------------------------------------------------------------------------------- /day19/example1/test1.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "math/rand" 6 | "time" 7 | ) 8 | 9 | func main() { 10 | rand.Seed(time.Now().UnixNano()) 11 | for i := 0; i < 10; i++ { 12 | a := rand.Intn(100) 13 | println(a) 14 | } 15 | 16 | for i := 0; i < 10; i++ { 17 | a := rand.Float32() 18 | print(a) 19 | } 20 | fmt.Println("test1 called Call") 21 | } 22 | -------------------------------------------------------------------------------- /day20/example9/test2.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "strconv") 6 | 7 | func main() { 8 | fmt.Println("input a num please") 9 | var strinput string 10 | fmt.Scanf("%s\n",&strinput) 11 | num, err:= strconv.Atoi(strinput) 12 | if err == nil{ 13 | fmt.Printf("num is %d\n", num) 14 | }else{ 15 | fmt.Printf("string can't convert to num") 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /grpcservice/register/registerproto/register.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package registerproto; 4 | 5 | service RegisterService { 6 | rpc Register(RegisterReq) returns (RegisterRsp) {} 7 | } 8 | 9 | message RegisterReq { 10 | string name = 1; 11 | } 12 | 13 | message RegisterRsp{ 14 | int32 errorid = 1; 15 | string name = 2; 16 | int32 userid = 3; 17 | } -------------------------------------------------------------------------------- /vendor/github.com/lucas-clemente/quic-go/internal/utils/new_connection_id.go: -------------------------------------------------------------------------------- 1 | package utils 2 | 3 | import ( 4 | "github.com/lucas-clemente/quic-go/internal/protocol" 5 | ) 6 | 7 | // NewConnectionID is a new connection ID 8 | type NewConnectionID struct { 9 | SequenceNumber uint64 10 | ConnectionID protocol.ConnectionID 11 | StatelessResetToken *[16]byte 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/micro/go-micro/util/buf/buf.go: -------------------------------------------------------------------------------- 1 | package buf 2 | 3 | import ( 4 | "bytes" 5 | ) 6 | 7 | type buffer struct { 8 | *bytes.Buffer 9 | } 10 | 11 | func (b *buffer) Close() error { 12 | b.Buffer.Reset() 13 | return nil 14 | } 15 | 16 | func New(b *bytes.Buffer) *buffer { 17 | if b == nil { 18 | b = bytes.NewBuffer(nil) 19 | } 20 | return &buffer{b} 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -coverprofile=profile.out -coverpkg=github.com/modern-go/concurrent $d 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/go.mongodb.org/mongo-driver/x/mongo/driver/topology/topology_options_1_9.go: -------------------------------------------------------------------------------- 1 | // +build !go1.10 2 | 3 | package topology 4 | 5 | import ( 6 | "crypto/x509" 7 | ) 8 | 9 | // We don't support version less then 1.10, but Evergreen needs to be able to compile the driver 10 | // using version 1.8. 11 | func x509CertSubject(cert *x509.Certificate) string { 12 | return "" 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/bpf/setter.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package bpf 6 | 7 | // A Setter is a type which can attach a compiled BPF filter to itself. 8 | type Setter interface { 9 | SetBPF(filter []RawInstruction) error 10 | } 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/constants.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris 6 | 7 | package unix 8 | 9 | const ( 10 | R_OK = 0x4 11 | W_OK = 0x2 12 | X_OK = 0x1 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/fieldnum/empty_gen.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Code generated by generate-protos. DO NOT EDIT. 6 | 7 | package fieldnum 8 | 9 | // Field numbers for google.protobuf.Empty. 10 | const () 11 | -------------------------------------------------------------------------------- /vendor/gopkg.in/jcmturner/dnsutils.v1/.gitignore: -------------------------------------------------------------------------------- 1 | # Binaries for programs and plugins 2 | *.exe 3 | *.dll 4 | *.so 5 | *.dylib 6 | 7 | # Test binary, build with `go test -c` 8 | *.test 9 | 10 | # Output of the go coverage tool, specifically when used with LiteIDE 11 | *.out 12 | 13 | # Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736 14 | .glide/ 15 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/js/reload.min.js: -------------------------------------------------------------------------------- 1 | function b(a){var c=new WebSocket(a);c.onclose=function(){setTimeout(function(){b(a)},2E3)};c.onmessage=function(){location.reload()}}try{if(window.WebSocket)try{b("ws://localhost:12450/reload")}catch(a){console.error(a)}else console.log("Your browser does not support WebSockets.")}catch(a){console.error("Exception during connecting to Reload:",a)}; 2 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/jsonvalue.go: -------------------------------------------------------------------------------- 1 | package aws 2 | 3 | // JSONValue is a representation of a grab bag type that will be marshaled 4 | // into a json string. This type can be used just like any other map. 5 | // 6 | // Example: 7 | // 8 | // values := aws.JSONValue{ 9 | // "Foo": "Bar", 10 | // } 11 | // values["Baz"] = "Qux" 12 | type JSONValue map[string]interface{} 13 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/error.go: -------------------------------------------------------------------------------- 1 | package parser 2 | 3 | import ( 4 | "fmt" 5 | 6 | "github.com/hashicorp/hcl/hcl/token" 7 | ) 8 | 9 | // PosError is a parse error that contains a position. 10 | type PosError struct { 11 | Pos token.Pos 12 | Err error 13 | } 14 | 15 | func (e *PosError) Error() string { 16 | return fmt.Sprintf("At %s: %s", e.Pos, e.Err) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/nats-io/jwt/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: test cover 2 | 3 | build: 4 | go build 5 | 6 | test: 7 | gofmt -s -w *.go 8 | goimports -w *.go 9 | go vet ./... 10 | go test -v 11 | go test -v --race 12 | staticcheck ./... 13 | 14 | fmt: 15 | gofmt -w -s *.go 16 | 17 | cover: 18 | go test -v -covermode=count -coverprofile=coverage.out 19 | go tool cover -html=coverage.out 20 | -------------------------------------------------------------------------------- /vendor/github.com/nats-io/nkeys/.gitignore: -------------------------------------------------------------------------------- 1 | # Binaries for programs and plugins 2 | *.exe 3 | *.dll 4 | *.so 5 | *.dylib 6 | build/ 7 | 8 | # Test binary, build with `go test -c` 9 | *.test 10 | 11 | # Output of the go coverage tool, specifically when used with LiteIDE 12 | *.out 13 | 14 | # Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736 15 | .glide/ 16 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.7.3 7 | - 1.8.1 8 | - tip 9 | 10 | matrix: 11 | allow_failures: 12 | - go: tip 13 | 14 | install: 15 | - go get github.com/golang/lint/golint 16 | - export PATH=$GOPATH/bin:$PATH 17 | - go install ./... 18 | 19 | script: 20 | - verify/all.sh -v 21 | - go test ./... 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_gccgo_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build gccgo 6 | 7 | package cpu 8 | 9 | func getisar0() uint64 { return 0 } 10 | func getisar1() uint64 { return 0 } 11 | func getpfr0() uint64 { return 0 } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_darwin_386.1_11.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin,386,!go1.12 6 | 7 | package unix 8 | 9 | //sys Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) = SYS_GETDIRENTRIES64 10 | -------------------------------------------------------------------------------- /vendor/gopkg.in/fsnotify.v1/open_mode_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build freebsd openbsd netbsd dragonfly 6 | 7 | package fsnotify 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | const openMode = unix.O_NONBLOCK | unix.O_RDONLY 12 | -------------------------------------------------------------------------------- /day20/example1/test2.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | var n int 7 | var flags bool = true 8 | fmt.Scanf("%d", &n) 9 | 10 | for i := 2; i < n; i++ { 11 | if n%i == 0 { 12 | flags = false 13 | break 14 | } 15 | } 16 | 17 | if flags == true { 18 | fmt.Println(n, " is su shu") 19 | } else { 20 | fmt.Println(n, "is not sushu") 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /logcatchsys/web_admin/static/css/about-us.css: -------------------------------------------------------------------------------- 1 | /*** 2 | Anout Us Page 3 | ***/ 4 | 5 | .meet-our-team h3 { 6 | margin-bottom: 0; 7 | padding: 0 10px 10px; 8 | background: #fcfcfc; 9 | } 10 | 11 | .meet-our-team small { 12 | display:block; 13 | font-size:12px; 14 | } 15 | 16 | .meet-our-team .team-info { 17 | padding: 10px; 18 | overflow: hidden; 19 | background: #fafafa; 20 | } -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/internal/strings/strings.go: -------------------------------------------------------------------------------- 1 | package strings 2 | 3 | import ( 4 | "strings" 5 | ) 6 | 7 | // HasPrefixFold tests whether the string s begins with prefix, interpreted as UTF-8 strings, 8 | // under Unicode case-folding. 9 | func HasPrefixFold(s, prefix string) bool { 10 | return len(s) >= len(prefix) && strings.EqualFold(s[0:len(prefix)], prefix) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # How to contribute 2 | 3 | We definitely welcome patches and contribution to this project! 4 | 5 | ### Legal requirements 6 | 7 | In order to protect both you and ourselves, you will need to sign the 8 | [Contributor License Agreement](https://cla.developers.google.com/clas). 9 | 10 | You may have already signed it for other Google projects. 11 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/log.go: -------------------------------------------------------------------------------- 1 | package concurrent 2 | 3 | import ( 4 | "os" 5 | "log" 6 | "io/ioutil" 7 | ) 8 | 9 | // ErrorLogger is used to print out error, can be set to writer other than stderr 10 | var ErrorLogger = log.New(os.Stderr, "", 0) 11 | 12 | // InfoLogger is used to print informational message, default to off 13 | var InfoLogger = log.New(ioutil.Discard, "", 0) -------------------------------------------------------------------------------- /vendor/github.com/olivere/elastic/uritemplates/utils.go: -------------------------------------------------------------------------------- 1 | package uritemplates 2 | 3 | func Expand(path string, expansions map[string]string) (string, error) { 4 | template, err := Parse(path) 5 | if err != nil { 6 | return "", err 7 | } 8 | values := make(map[string]interface{}) 9 | for k, v := range expansions { 10 | values[k] = v 11 | } 12 | return template.Expand(values) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_darwin_amd64.1_11.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin,amd64,!go1.12 6 | 7 | package unix 8 | 9 | //sys Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) = SYS_GETDIRENTRIES64 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/aliases.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build windows 6 | // +build go1.9 7 | 8 | package windows 9 | 10 | import "syscall" 11 | 12 | type Errno = syscall.Errno 13 | type SysProcAttr = syscall.SysProcAttr 14 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/fieldnum/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package fieldnum contains constants for field numbers of fields in messages 6 | // declared in descriptor.proto and any of the well-known types. 7 | package fieldnum 8 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/impl/codec_map_go112.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.12 6 | 7 | package impl 8 | 9 | import "reflect" 10 | 11 | func mapRange(v reflect.Value) *reflect.MapIter { return v.MapRange() } 12 | -------------------------------------------------------------------------------- /day20/example15/test2.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func Adder() func(int) int { 6 | var x int 7 | return func(delta int) int { 8 | fmt.Println("x is : ", x) 9 | x += delta 10 | return x 11 | } 12 | } 13 | 14 | func main() { 15 | var f func(int) int = Adder() 16 | fmt.Println("f(1)", f(1)) 17 | fmt.Println("f(20) ", f(20)) 18 | fmt.Println("f(300)", f(300)) 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/fuzz.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | set -eu 3 | 4 | go get github.com/dvyukov/go-fuzz/go-fuzz 5 | go get github.com/dvyukov/go-fuzz/go-fuzz-build 6 | 7 | if [ ! -e toml-fuzz.zip ]; then 8 | go-fuzz-build github.com/pelletier/go-toml 9 | fi 10 | 11 | rm -fr fuzz 12 | mkdir -p fuzz/corpus 13 | cp *.toml fuzz/corpus 14 | 15 | go-fuzz -bin=toml-fuzz.zip -workdir=fuzz 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/curve25519/curve25519_noasm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !amd64 gccgo appengine purego 6 | 7 | package curve25519 8 | 9 | func scalarMult(out, in, base *[32]byte) { 10 | scalarMultGeneric(out, in, base) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_darwin_arm.1_11.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin,arm,!go1.12 6 | 7 | package unix 8 | 9 | func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { 10 | return 0, ENOSYS 11 | } 12 | -------------------------------------------------------------------------------- /vendor/gopkg.in/fsnotify.v1/open_mode_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin 6 | 7 | package fsnotify 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | // note: this constant is not defined on BSD 12 | const openMode = unix.O_EVTONLY 13 | -------------------------------------------------------------------------------- /channelpractice/catchedchan1/catchedchan1.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | catchan := make(chan int, 2) 7 | 8 | go func(ch chan int) { 9 | for i := 0; i < 2; i++ { 10 | ch <- i 11 | fmt.Println("send data is ", i) 12 | } 13 | }(catchan) 14 | 15 | for i := 0; i < 2; i++ { 16 | data := <-catchan 17 | fmt.Println("receive data is ", data) 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /channelpractice/rangechan2/rangechan2.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | //可以执行go run -race 进行死锁检测,看到主线程挂起 6 | func main() { 7 | nochan := make(chan int) 8 | go func(ch chan int) { 9 | ch <- 100 10 | fmt.Println("send data", 100) 11 | }(nochan) 12 | 13 | for data := range nochan { 14 | fmt.Println("receive data is ", data) 15 | } 16 | 17 | fmt.Println("main exited") 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/eapache/queue/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | -------------------------------------------------------------------------------- /vendor/github.com/micro/mdns/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: '{build}' 2 | clone_folder: C:\gopath\src\github.com\spf13\afero 3 | environment: 4 | GOPATH: C:\gopath 5 | build_script: 6 | - cmd: >- 7 | go version 8 | 9 | go env 10 | 11 | go get -v github.com/spf13/afero/... 12 | 13 | go build github.com/spf13/afero 14 | test_script: 15 | - cmd: go test -race -v github.com/spf13/afero/... 16 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/jwalterweatherman/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | -------------------------------------------------------------------------------- /vendor/go.uber.org/zap/checklicense.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | ERROR_COUNT=0 4 | while read -r file 5 | do 6 | case "$(head -1 "${file}")" in 7 | *"Copyright (c) "*" Uber Technologies, Inc.") 8 | # everything's cool 9 | ;; 10 | *) 11 | echo "$file is missing license header." 12 | (( ERROR_COUNT++ )) 13 | ;; 14 | esac 15 | done < <(git ls-files "*\.go") 16 | 17 | exit $ERROR_COUNT 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/iovec_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris 6 | 7 | package socket 8 | 9 | type iovec struct{} 10 | 11 | func (v *iovec) set(b []byte) {} 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_darwin_arm64.1_11.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin,arm64,!go1.12 6 | 7 | package unix 8 | 9 | func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { 10 | return 0, ENOSYS 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build amd64,linux 6 | // +build !gccgo 7 | 8 | package unix 9 | 10 | import "syscall" 11 | 12 | //go:noescape 13 | func gettimeofday(tv *Timeval) (err syscall.Errno) 14 | -------------------------------------------------------------------------------- /dockerdemo/webserver.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "net/http" 6 | ) 7 | 8 | func main() { 9 | http.HandleFunc("/", home) 10 | err := http.ListenAndServe(":8090", nil) 11 | if err != nil { 12 | fmt.Println("err is ", err.Error()) 13 | } 14 | } 15 | 16 | func home(w http.ResponseWriter, r *http.Request) { 17 | fmt.Fprintf(w, "welcome to zack web server") 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/internal/sdkio/io_go1.7.go: -------------------------------------------------------------------------------- 1 | // +build go1.7 2 | 3 | package sdkio 4 | 5 | import "io" 6 | 7 | // Alias for Go 1.7 io package Seeker constants 8 | const ( 9 | SeekStart = io.SeekStart // seek relative to the origin of the file 10 | SeekCurrent = io.SeekCurrent // seek relative to the current offset 11 | SeekEnd = io.SeekEnd // seek relative to the end 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_safe.go: -------------------------------------------------------------------------------- 1 | package xxhash 2 | 3 | // Sum64String computes the 64-bit xxHash digest of s. 4 | func Sum64String(s string) uint64 { 5 | return Sum64([]byte(s)) 6 | } 7 | 8 | // WriteString adds more data to d. It always returns len(s), nil. 9 | func (d *Digest) WriteString(s string) (n int, err error) { 10 | return d.Write([]byte(s)) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/micro/go-micro/client/context.go: -------------------------------------------------------------------------------- 1 | package client 2 | 3 | import ( 4 | "context" 5 | ) 6 | 7 | type clientKey struct{} 8 | 9 | func FromContext(ctx context.Context) (Client, bool) { 10 | c, ok := ctx.Value(clientKey{}).(Client) 11 | return c, ok 12 | } 13 | 14 | func NewContext(ctx context.Context, c Client) context.Context { 15 | return context.WithValue(ctx, clientKey{}, c) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/micro/go-micro/transport/http/http.go: -------------------------------------------------------------------------------- 1 | // Package http returns a http2 transport using net/http 2 | package http 3 | 4 | import ( 5 | "github.com/micro/go-micro/transport" 6 | ) 7 | 8 | // NewTransport returns a new http transport using net/http and supporting http2 9 | func NewTransport(opts ...transport.Option) transport.Transport { 10 | return transport.NewTransport(opts...) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/olivere/elastic/logger.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012-present Oliver Eilhard. All rights reserved. 2 | // Use of this source code is governed by a MIT-license. 3 | // See http://olivere.mit-license.org/license.txt for details. 4 | 5 | package elastic 6 | 7 | // Logger specifies the interface for all log operations. 8 | type Logger interface { 9 | Printf(format string, v ...interface{}) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/go.uber.org/multierr/go.mod: -------------------------------------------------------------------------------- 1 | module go.uber.org/multierr 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/stretchr/testify v1.3.0 7 | go.uber.org/atomic v1.5.0 8 | go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee 9 | golang.org/x/lint v0.0.0-20190930215403-16217165b5de 10 | golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5 // indirect 11 | honnef.co/go/tools v0.0.1-2019.2.3 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/msghdr_openbsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | func (h *msghdr) setIov(vs []iovec) { 8 | l := len(vs) 9 | if l == 0 { 10 | return 11 | } 12 | h.Iov = &vs[0] 13 | h.Iovlen = uint32(l) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/errors/is_go113.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.13 6 | 7 | package errors 8 | 9 | import "errors" 10 | 11 | // Is is errors.Is. 12 | func Is(err, target error) bool { return errors.Is(err, target) } 13 | -------------------------------------------------------------------------------- /channelpractice/catchedchan2/catchedchan2.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | catchan := make(chan int, 2) 7 | 8 | for i := 0; i < 2; i++ { 9 | data := <-catchan 10 | fmt.Println("receive data is ", data) 11 | } 12 | //死锁!!! 13 | go func(ch chan int) { 14 | for i := 0; i < 2; i++ { 15 | ch <- i 16 | fmt.Println("send data is ", i) 17 | } 18 | }(catchan) 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/Makefile: -------------------------------------------------------------------------------- 1 | install: 2 | go install ./... 3 | 4 | test: install 5 | go test -v 6 | toml-test toml-test-decoder 7 | toml-test -encoder toml-test-encoder 8 | 9 | fmt: 10 | gofmt -w *.go */*.go 11 | colcheck *.go */*.go 12 | 13 | tags: 14 | find ./ -name '*.go' -print0 | xargs -0 gotags > TAGS 15 | 16 | push: 17 | git push origin master 18 | git push github master 19 | 20 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/open_mode_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build freebsd openbsd netbsd dragonfly 6 | 7 | package fsnotify 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | const openMode = unix.O_NONBLOCK | unix.O_RDONLY | unix.O_CLOEXEC 12 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/golang-lru/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | -------------------------------------------------------------------------------- /vendor/github.com/jmoiron/sqlx/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | tags 24 | environ 25 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list github.com/modern-go/reflect2-tests/... | grep -v vendor); do 7 | go test -coverprofile=profile.out -coverpkg=github.com/modern-go/reflect2 $d 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/nats-io/nats.go/MAINTAINERS.md: -------------------------------------------------------------------------------- 1 | # Maintainers 2 | 3 | Maintainership is on a per project basis. 4 | 5 | ### Core-maintainers 6 | - Derek Collison [@derekcollison](https://github.com/derekcollison) 7 | - Ivan Kozlovic [@kozlovic](https://github.com/kozlovic) 8 | 9 | ### Maintainers 10 | - Waldemar Quevedo [@wallyqs](https://github.com/wallyqs) -------------------------------------------------------------------------------- /vendor/github.com/nats-io/nuid/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/errors/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_386.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT ·socketcall(SB),NOSPLIT,$0-36 8 | JMP syscall·socketcall(SB) 9 | 10 | TEXT ·rawsocketcall(SB),NOSPLIT,$0-36 11 | JMP syscall·rawsocketcall(SB) 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_linux.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !386,!amd64,!amd64p32,!arm64 6 | 7 | package cpu 8 | 9 | func init() { 10 | if err := readHWCAP(); err != nil { 11 | return 12 | } 13 | doinit() 14 | Initialized = true 15 | } 16 | -------------------------------------------------------------------------------- /vendor/gopkg.in/jcmturner/rpc.v1/mstypes/user_session_key.go: -------------------------------------------------------------------------------- 1 | package mstypes 2 | 3 | // CypherBlock implements https://msdn.microsoft.com/en-us/library/cc237040.aspx 4 | type CypherBlock struct { 5 | Data [8]byte // size = 8 6 | } 7 | 8 | // UserSessionKey implements https://msdn.microsoft.com/en-us/library/cc237080.aspx 9 | type UserSessionKey struct { 10 | CypherBlock [2]CypherBlock // size = 2 11 | } 12 | -------------------------------------------------------------------------------- /dockerdemo/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM golang:latest 2 | 3 | MAINTAINER zack 4 | 5 | RUN mkdir -p /home/secondtonone/workspace/dockerdemo 6 | COPY ./ /home/secondtonone/workspace/dockerdemo 7 | WORKDIR /home/secondtonone/workspace/dockerdemo 8 | RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o webserver.bin webserver.go 9 | CMD /home/secondtonone/workspace/dockerdemo/webserver.bin 10 | -------------------------------------------------------------------------------- /vendor/github.com/micro/go-micro/publisher.go: -------------------------------------------------------------------------------- 1 | package micro 2 | 3 | import ( 4 | "context" 5 | 6 | "github.com/micro/go-micro/client" 7 | ) 8 | 9 | type publisher struct { 10 | c client.Client 11 | topic string 12 | } 13 | 14 | func (p *publisher) Publish(ctx context.Context, msg interface{}, opts ...client.PublishOption) error { 15 | return p.c.Publish(ctx, p.c.NewMessage(p.topic, msg), opts...) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cast/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | 25 | *.bench 26 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_s390x.s: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT ·socketcall(SB),NOSPLIT,$0-72 8 | JMP syscall·socketcall(SB) 9 | 10 | TEXT ·rawsocketcall(SB),NOSPLIT,$0-72 11 | JMP syscall·rawsocketcall(SB) 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_solaris_amd64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT ·sysvicall6(SB),NOSPLIT,$0-88 8 | JMP syscall·sysvicall6(SB) 9 | 10 | TEXT ·rawSysvicall6(SB),NOSPLIT,$0-88 11 | JMP syscall·rawSysvicall6(SB) 12 | -------------------------------------------------------------------------------- /logcatchsys/config-etcd-srv/etcd_start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | etcd --config-file=/home/secondtonone/workspace/goProject/src/golang-/logcatchsys/config-etcd-srv/config1.yml & 3 | sleep 5 4 | etcd --config-file=/home/secondtonone/workspace/goProject/src/golang-/logcatchsys/config-etcd-srv/config2.yml & 5 | sleep 5 6 | etcd --config-file=/home/secondtonone/workspace/goProject/src/golang-/logcatchsys/config-etcd-srv/config3.yml & 7 | sleep 6 -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/open_mode_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin 6 | 7 | package fsnotify 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | // note: this constant is not defined on BSD 12 | const openMode = unix.O_EVTONLY | unix.O_CLOEXEC 13 | -------------------------------------------------------------------------------- /vendor/github.com/jcmturner/gofork/encoding/asn1/README.md: -------------------------------------------------------------------------------- 1 | This is a temporary repository that will be removed when the issues below are fixed in the core golang code. 2 | 3 | ## Issues 4 | * [encoding/asn1: cannot marshal into a GeneralString](https://github.com/golang/go/issues/18832) 5 | * [encoding/asn1: cannot marshal into slice of strings and pass stringtype parameter tags to members](https://github.com/golang/go/issues/18834) -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv4/sys_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows 6 | 7 | package ipv4 8 | 9 | var ( 10 | ctlOpts = [ctlMax]ctlOpt{} 11 | 12 | sockOpts = map[int]*sockOpt{} 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv6/sys_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows 6 | 7 | package ipv6 8 | 9 | var ( 10 | ctlOpts = [ctlMax]ctlOpt{} 11 | 12 | sockOpts = map[int]*sockOpt{} 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/mksyscall.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build generate 6 | 7 | package windows 8 | 9 | //go:generate go run golang.org/x/sys/windows/mkwinsyscall -output zsyscall_windows.go eventlog.go service.go syscall_windows.go security_windows.go 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/secure/bidirule/bidirule10.0.0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.10 6 | 7 | package bidirule 8 | 9 | func (t *Transformer) isFinal() bool { 10 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial 11 | } 12 | --------------------------------------------------------------------------------