mirror of
https://github.com/certimate-go/certimate.git
synced 2026-08-30 18:01:43 +08:00
16 lines
226 B
Go
16 lines
226 B
Go
package dogecloud
|
|
|
|
type Options struct {
|
|
AccessKey string
|
|
SecretKey string
|
|
}
|
|
|
|
type OptionsFunc func(*Options)
|
|
|
|
func WithAkSk(ak, sk string) OptionsFunc {
|
|
return func(o *Options) {
|
|
o.AccessKey = ak
|
|
o.SecretKey = sk
|
|
}
|
|
}
|