-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gRPC implementation for Mino - Handler.Process #1
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
two small comments
mino/minogrpc/overlay.go
Outdated
return nil, xerrors.Errorf("header not found in provided context") | ||
} | ||
|
||
apiURI, ok := headers["apiuri"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a constant for that string ?
mino/minogrpc/server.go
Outdated
SerialNumber: big.NewInt(1), | ||
IPAddresses: []net.IP{net.ParseIP("127.0.0.1")}, | ||
NotBefore: time.Now(), | ||
NotAfter: time.Now().Add(time.Hour * 24 * 180), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also a constant here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, that's done
gRPC implementation for Mino - Handler.Process
First step that only implements the simple Handler.Process
This is far from perfect and there are still untested edge cases, but that would be good to do an early review.