30 lines
365 B
Go
30 lines
365 B
Go
package config
|
|
|
|
import (
|
|
"fusenapi/server/home-user-auth/internal/types"
|
|
|
|
"github.com/zeromicro/go-zero/rest"
|
|
)
|
|
|
|
type Config struct {
|
|
rest.RestConf
|
|
SourceMysql string
|
|
Auth types.Auth
|
|
|
|
OAuth struct {
|
|
Google struct {
|
|
Appid string
|
|
Secret string
|
|
}
|
|
|
|
Facebook struct {
|
|
Appid string
|
|
Secret string
|
|
}
|
|
}
|
|
|
|
Stripe struct {
|
|
SK string
|
|
}
|
|
}
|