Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxy模块的auth部分只支持一个“test” Bucket? #50

Open
ghost opened this issue Apr 15, 2016 · 1 comment
Open

proxy模块的auth部分只支持一个“test” Bucket? #50

ghost opened this issue Apr 15, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 15, 2016

// InitBucket
// todo get data from db
func InitBucket() (b map[string]Bucket, err error) {
var (
item Bucket
)
b = make(map[string]Bucket)
// bucket test
item.BucketName = "test"
item.Property = 0
item.KeyId = "121bce6492eba701"
item.KeySecret = "1eb80603e85842542f9736eb13b7e1"
b["test"] = item

return

}

@Terry-Mao
Copy link
Owner

对的,你可以自己硬编码写入,也可以自己从mysql加载,目前这块是留空的,之后会再更新一个版本,使用mysql存储。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant