Add docs about how to use unix socket #1874
Answered
by
aeneasr
frederikhors
asked this question in
Q&A
-
Is your feature request related to a problem? Please describe. I saw this PR #1255 for unix sockets support but there is no docs on how to use that. Describe the solution you'd like I would like to read how to configure my client (Golang) to use this socket from my Golang application. Right now I'm using: kratosConfiguration := kratos.NewConfiguration()
cookie := getCookie()
session, _, err := kratosPublic.V0alpha1Api.ToSession(context.Background()).Cookie(cookie).Execute()
if err != nil {
http.Error(w, "", http.StatusUnauthorized)
return fmt.Errorf("unauthorized user or malformed session cookie: %w", err)
} How to use unix socket here? |
Beta Was this translation helpful? Give feedback.
Answered by
aeneasr
Oct 28, 2021
Replies: 1 comment
-
Oh, I don't think the SDKs support socket connectivity :/ |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
vinckr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh, I don't think the SDKs support socket connectivity :/