Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Environment struct {
Storage *storage.Storage
Randr io.Reader
Frontend frontend.Frontend
Logger *zap.Logger
NowImpl func() time.Time
PregenKeySupplier func(wcrypto.KeyType) crypto.PrivateKey
ProfileName string
ConnectionInfo remote.ConnectionInfo
ClientConn *grpc.ClientConn
}
var GlobalEnvironment *Environment
func NewEnvironment ¶
func (*Environment) Clone ¶
func (env *Environment) Clone() *Environment
func (*Environment) EnsureClientConn ¶
func (env *Environment) EnsureClientConn(ctx context.Context) error
func (*Environment) LoadConnectionInfo ¶
func (env *Environment) LoadConnectionInfo() error
func (*Environment) SaveConnectionInfo ¶
func (env *Environment) SaveConnectionInfo() error
Click to show internal directories.
Click to hide internal directories.