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