Versions in this module Expand all Collapse all v0 v0.1.0 Apr 10, 2023 Changes in this version + func SaveYaml(def *openapi3.T, name string) error + type Account struct + Denied bool + Id int64 + Password string + RelatedId int64 + User string + type Crypt struct + Key string + Tweak string + func (c *Crypt) Check() error + type OpenAPI struct + Api string + Append bool + Encrypt bool + Welknown string + func (o *OpenAPI) LoadDefinition() (*openapi3.T, error) + func (o *OpenAPI) NewDefaultDefinition() (*openapi3.T, error) + type Service struct + Forward []string + Tag string + func (s *Service) GetServers(def *openapi3.T) []*openapi3.Server + type SourceGwConfig struct + Accounts []*Account + AllowEveryOne bool + AllowGw bool + AllowUpdate bool + AuthMode int + AuthUser int + Cors []string + DayRangeForMonth uint32 + EmulateWhenQpsOver bool + Emulation bool + Gateway int + HideServers bool + IPRanges []*SourceIPRange + Id int64 + NotAllowUnknownIp bool + Path string + QpsMax int64 + SmartEncrypt bool + Source int + SourceId int64 + TimeRanges []uint32 + type SourceIPRange struct + CIDR *net.IPNet + Denied bool + Id int64 + Mark byte + SourceId int64