Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopySubStruct ¶
CopyStruct copies a subset of the source structure into the target * structure. The rules for this copy are pretty straight forward. All * fields found in the target MUST be also found in the source, and they * must also be of the same type as those fields found in the source. This * presents a behavior found in C/C++, Nim and other languages.
Types ¶
type FileStore ¶
type FileStore struct {
// contains filtered or unexported fields
}
The SessionStore is used to cache the session information. This allows * a session to be restarted inbetween commands without having to login * with a username and password. * * FIXME While using a local file store is fine during development, it is * not a very viable long-term solution for production use. Various * solutions exist for securely storing secrets that will handle automatic * interaction with the user. OSX even supports such a solution for the * entire platform. * * In the long run we should see about supporting the default local secrets * store for whatever platform we're running on, while also allowing the user * to configure their own secrets agent. * * Ref: https://github.com/keybase/go-keychain