码迷,mamicode.com
首页 >  
搜索关键字:golang http_file_server    ( 3916个结果
golang 利用http.Client POST数据
package main import ( "fmt" "io/ioutil" "net/http" "net/url" "strings" ) func main() { v := url.Values{} v.Set("huifu", "hello world") body := ioutil.NopCloser(strings.NewReader(v.Encode(...
分类:Web程序   时间:2014-11-24 12:09:30    阅读次数:148
grafana 开源图标系统 & InfluxDB 介绍。
1,开源图表系统grafanagrafana提供的监控列表效果非常的漂亮。直接部署在nginx上面就行,使用node.js 实现的数据抓取。http://grafana.org/demo页面:http://play.grafana.org/这个报表展示可以跑在 Graphite, InfluxDB & OpenTSDB. 监控的数据库上面。其中InfluxDB 是用golang编写的比感兴趣。2,...
分类:数据库   时间:2014-11-23 23:18:48    阅读次数:1499
golang中string以及slice之间的一些问题
好记性不如烂笔头o_O slice切片不会开辟新的空间a := []int{0,1,2,3}b := make([]int, 8)b = a[:]b[2] = 9fmt.Println(a)fmt.Println(b)输出:[0 1 9 3][0 1 9 3]string底层是用byte数组存的,并...
分类:其他好文   时间:2014-11-23 18:48:08    阅读次数:244
windows 下的 eclipse安装goclipse 配置golang开发环境
1. 下载goclipse eclipse plugins ??? http://goclipse.googlecode.com/svn/trunk/goclipse-update-site/ (建议使用proxy下载,除非你能直接访问;)) 我在百度网盘上传了最新的goclipse插件包,提供下载:h...
分类:Windows程序   时间:2014-11-22 17:35:31    阅读次数:259
golang 1.3的新特征和目前进度
原文: 计划中的新特征:http://golang.org/s/go13todo 目前的进展情况:http://talks.golang.org/2014/go1.3.slide golang 1.3代码将在3.1冻结,6.1发布。 1、100% percise GC GC是垃圾回收器,percise GC不知道...
分类:其他好文   时间:2014-11-20 12:18:05    阅读次数:181
golang 编码转化
在网上搜索golang编码转化时,我们经常看到的文章是使用下面一些第三方库: https://github.com/djimenez/iconv-go https://github.com/qiniu/iconv 如果我们在windows下使用这个库,会看到错误: iconv.go:6:20: fa...
分类:其他好文   时间:2014-11-19 15:34:38    阅读次数:710
WebSocket 和 Golang 实现聊天功能
本文同步至 [http://www.waylau.com/go-websocket-chat/](http://www.waylau.com/go-websocket-chat/) 这个示例应用程序展示了如何使用 [WebSocket](http://tools.ietf.org/html/rfc6455), [Golang](http://golan...
分类:Web程序   时间:2014-11-19 11:39:10    阅读次数:384
Go by Example: Constants
Go by Example: Constants...
分类:其他好文   时间:2014-11-19 11:31:47    阅读次数:158
Go by Example: Constants
Go by Example: Constants...
分类:其他好文   时间:2014-11-19 01:31:16    阅读次数:142
Go语言的基本类型转换-golang类型转换
简单整理一下Golang的基本类型转换,作为备忘;1、整形到字符串:variint=1varsstring 3. s=strconv.Itoa(i)或者s=FormatInt(int64(i),10) 2、字符串到整形varsstring="1"variinti,err=strconv.Atoi.....
分类:编程语言   时间:2014-11-18 23:33:10    阅读次数:243
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!