mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-30 09:18:34 +00:00
Chore: Fix some spelling errors (#3976)
This commit is contained in:
parent
afc7ec5506
commit
71cfea8aae
10 changed files with 13 additions and 13 deletions
|
@ -30,7 +30,7 @@ type ConfigLoader func(input interface{}) (*Config, error)
|
|||
// ConfigBuilder is a builder to build core.Config from filenames and formats
|
||||
type ConfigBuilder func(files []*ConfigSource) (*Config, error)
|
||||
|
||||
// ConfigsMerger merge multiple json configs into on config
|
||||
// ConfigsMerger merges multiple json configs into a single one
|
||||
type ConfigsMerger func(files []*ConfigSource) (string, error)
|
||||
|
||||
var (
|
||||
|
|
|
@ -87,7 +87,7 @@ func (r *resolution) resolve(allFeatures []features.Feature) (bool, error) {
|
|||
return true, err
|
||||
}
|
||||
|
||||
// Instance combines all functionalities in Xray.
|
||||
// Instance combines all Xray features.
|
||||
type Instance struct {
|
||||
access sync.Mutex
|
||||
features []features.Feature
|
||||
|
@ -228,7 +228,7 @@ func initInstanceWithConfig(config *Config, server *Instance) (bool, error) {
|
|||
)
|
||||
|
||||
if server.featureResolutions != nil {
|
||||
return true, errors.New("not all dependency are resolved.")
|
||||
return true, errors.New("not all dependencies are resolved.")
|
||||
}
|
||||
|
||||
if err := addInboundHandlers(server, config.Inbound); err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue