Discover Packages
github.com/yorkie-team/yorkie
cmd
yorkie
config
package
Version:
v0.4.10
Opens a new window with list of versions in this module.
Published: Dec 4, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package config provides the configuration for Admin server.
Delete deletes the configuration file.
Preload read configuration file for viper before running command
Save saves the configuration to the given path.
type Auth struct {
Token string `json:"token"`
Insecure bool `json:"insecure"`
}
Auth is the authentication information.
LoadAuth loads the authentication information for the given address.
type Config struct {
Auths map[string ]Auth `json:"auths"`
RPCAddr string `json:"rpcAddr"`
}
Config is the configuration of CLI.
Load loads the configuration from the given path.
New creates a new configuration.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.