You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to collect from examples the server and the client with authentication by password, this example does not work or an additional explanation is required for it.
I created an authentication server from the example: fs.WithAuth(fs.PlainAuth(map[string]string{"kyle": "foo"}))
As well as an example of an authentication client: client, err = cl.NewClient(conn, "kyle", "", cl.WithAuth(cl.PlainAuth("foo")))
Log: 2023/05/02 08:43:12 Storing info in C: 0x1400006a050, t.Afid: 1
2023/05/02 08:43:12 READ1
2023/05/02 08:43:12 WRITE1
2023/05/02 08:43:12 WRITE1
Perhaps I am doing something wrong, but I do not find any explanation in the code or documentation.
Additionally, need examples for working with a real file system, as well as an example of work with clone fs.
The text was updated successfully, but these errors were encountered:
I tried to collect from examples the server and the client with authentication by password, this example does not work or an additional explanation is required for it.
I created an authentication server from the example:
fs.WithAuth(fs.PlainAuth(map[string]string{"kyle": "foo"}))
As well as an example of an authentication client:
client, err = cl.NewClient(conn, "kyle", "", cl.WithAuth(cl.PlainAuth("foo")))
Log:
2023/05/02 08:43:12 Storing info in C: 0x1400006a050, t.Afid: 1
2023/05/02 08:43:12 READ1
2023/05/02 08:43:12 WRITE1
2023/05/02 08:43:12 WRITE1
Perhaps I am doing something wrong, but I do not find any explanation in the code or documentation.
Additionally, need examples for working with a real file system, as well as an example of work with clone fs.
The text was updated successfully, but these errors were encountered: