go
400 means the statucode
Салтыдык
I didn't use the API Gateway, so I won't be able to answer this question
go
It’s okay, but I still appreciate you.
go
what do you use only rpc?
Салтыдык
try to look through the code, maybe you'll find what's wrong
go
thank you
🎉
go
thanks ! i will try later .
go
and i found another problem
go
go
if i use curl to exe this command it will return right response
go
but if i use postman , it return 500 or 400
Roman
https://www.kernel.org/doc/html/v5.1-rc6/networking/msg_zerocopy.html
Alexander
Anonymous
Semyon
Andrey
Внизу там Atom One Dark написано еще
Салтыдык
первой ссылки в гугле будет достаточно
Салтыдык
https://dave.cheney.net/2013/06/30/how-to-write-benchmarks-in-go
Artur
Roman
Anonymous
ты полагаешь драйвер должен отслеживать имплементацию интерфейса Stringer, а пользователь драйвера догадаться, что ему надо сделать String() в соответсвии с типом постгреса?? Если бы это всё было так, мы все бы слегка пизданулись от раздувания сложности на пустом месте. Ни кому это не надо
Alexeyer
go
micro api still not work 😭 i need help bro!
go
go
go
go
go
Sam
Добрый день. Это что значит? fatal error: concurrent map writes
LexsZero
трогаешь одну мапу из разных горутин
Sam
И что делать?
LexsZero
не делать так
Sam
А как делать
LexsZero
каждый мутабельный объект должен владеться одной и ровно одной горутиной
Sam
Ничего не понял, но было очень интересно
Sam
Спасибо
LexsZero
диспетчер пиши которой будет владеть этой мапой и шли ему сообщения чтоб с ней взаимодействовать
LexsZero
ну или мутекс ебани, но это !Ъ
Sam
LexsZero
https://golang.org/doc/articles/race_detector.html
Салтыдык
it seems like the server wants to know what type of the content you want to receive.
Try to provide the request with Content-Type: application/json
Салтыдык
if there's no luck, give us a screenshot of the curl command with -v flag
go
go
go
i tried json and json+grpc all failed
go
very upset
hypnopumpia
можно ли сканировать mysql tinyint в булевую переменную?
Sh4de
Hmmm... Which server protocol version? HTTP/2?
go
go
here is the proto file
Sh4de
HTTP/2
go
I'm just getting started these days
Sh4de
Not important. Why go-micro?
Салтыдык
HTTP/2
there is an API Gateway right after grpc server
go
What am I gonna do brother
Салтыдык
idk
Салтыдык
just try debugging this shit)
go
I think go-micro is very amusing
Салтыдык
Sh4de
It seems like that request was sended to grps service directly
Салтыдык
as far as I can remember, there is a couple of options, like: grpc or json-rpc
Sh4de
Gateway and grps service must to binding on different ports
Anonymous
Sam
go
hey ! i find i can successed by this way
go
go
go
but
go
but if i use postman
go
go
it failed