Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
SupportedKeyTypes = []string{model.KeyTypeRSA}
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Hostname string `hcl:"hostname"` Raft Raft `hcl:"raft,block"` Servers []model.OAuthServer `hcl:"server,block"` Clients []model.OAuthClient `hcl:"client,block"` ConnectionSets []model.ConnectionSet `hcl:"connection_set,block"` }
Config holds all the configuration data for the server.
func NewFromFile ¶
NewFromFile reads a configuration file and attempts to decode it into a config struct.
func (*Config) ConnectionSetIDs ¶
Click to show internal directories.
Click to hide internal directories.