Hi,
AM trying to prepare a multipart/related message which involve JSON data
n1n2Request.JsonData and a binary data binaryData to be sent in HTTP
request, however, am having issue abou how to set the boundries in the
function below. The server is logging "Failed to parse boundary.
Hi,
I have been learning Golang for some few months now but still find it
difficult to design some applications. I have two HTTP servers A and B and
would like to do the following
1. server A send an HTTP PUT request with JSON body to server B.
2. If server B is not available, server A retry
Hi,
THanks!!
BR
Abraham
On Friday, November 27, 2020 at 11:12:53 AM UTC+2 b.ca...@pobox.com wrote:
> On Friday, 27 November 2020 at 06:14:48 UTC Afriyie Abraham Kwabena wrote:
>
>> What I would like to ask is, using mutex OK and if not the best way of
>> solving it, how can
+0x11e
net/http.(*conn).serve()
/usr/local/go/src/net/http/server.go:1834 +0x1d5b
Goroutine 18 (running) created at:
main.main()
/home/xxx/go/src/nfnrfapi/main.go:41 +0x2c6
On Friday, November 27, 2020 at 8:14:48 AM UTC+2 Afriyie Abraham Kwabena
wrote:
> Hi,
>
>
common.WriteError(response, common.ErrMethodNotAllowed)
return
}
}
BR
Abraham
On Friday, November 27, 2020 at 6:38:52 AM UTC+2 Shulhan wrote:
>
>
> > On 27 Nov 2020, at 07.06, Afriyie Abraham Kwabena
> wrote:
> >
> > Hi,
> >
> > Am exp
if err != nil {
config.Logrus.Error(err)
}
delete(idtime, keyid)
}
}
mu.Unlock()
}
}
BR
Abraham
On Wednesday, November 18, 2020 at 10:51:49 AM UTC+2 Afriyie Abraham
Kwabena wrote:
> Hi Sulhan, Anderson,
>
> Th
Hi,
Yes, that is what intend to implement. Can you help with some information
about how
I could implement it.
If possible some libraries or example code.
Abraham
On Friday, November 20, 2020 at 1:07:12 PM UTC+2 Afriyie Abraham Kwabena
wrote:
> Hi,
>
> Am new to programming and if
Hi,
Am new to programming and if you could explain further what you mean by
long lived process.
On Friday, November 20, 2020 at 11:41:42 AM UTC+2 amits...@gmail.com wrote:
>
>
> On Fri, 20 Nov 2020, 7:51 pm Afriyie Abraham Kwabena, <
> afriyie...@gmail.com> wrote:
>
>
Hi,
My basic understanding of HTTP protocol is that an HTTP client sent
request, get response from the HTTP server and then the connection is
closed.
My question is how can an HTTP client detect if the underling transport
connection break. For example if the HTTP server shutdown, is there a
>= 60 {
// delete resouce in database after 60 seconds
_ = DeleteNFInstance(ctx, keyid)
}
}
mu.Unlock()
}
}
BR
Abraham
On Tuesday, November 17, 2020 at 9:41:01 PM UTC+2 Shulhan wrote:
>
>
> > On 18 Nov 2020, at 01.06,
func main() {
> r := NewRouter()
>
> go worker()
>
>
> fmt.Println("Start listening")
> fmt.Println(http.ListenAndServe(":8080", r))
> }
>
> I appreciate your help but am still not able to it work.
>
>
> On Tuesday, Nov
On Tuesday, November 17, 2020 at 3:48:44 PM UTC+2 Shulhan wrote:
> Hi Afriyie,
>
> Looks like you almost there ;)
>
> > On 17 Nov 2020, at 20.11, Afriyie Abraham Kwabena
> wrote:
> >
> > HI,
> >
> > This is what I have tried so far but am not able
07:12:18 UTC+1 Shulhan wrote:
>
>>
>>
>> > On 16 Nov 2020, at 16.24, Afriyie Abraham Kwabena
>> wrote:
>> >
>> > Hi ,
>> >
>> > You are right but am new to programming and currently this what i have
>> done.
>> &g
wrote:
>
> > On 14 Nov 2020, at 20.06, Afriyie Abraham Kwabena
> wrote:
> >
> > Hi,
> >
> > My question is about multiple HTTP client polling an HTTP server
> randomly with a PATCH request to update a resource at the server running in
> front of MongoDB.
Hi,
My question is about multiple HTTP client polling an HTTP server randomly
with a PATCH request to update a resource at the server running in front of
MongoDB. The clients poll with their different ids and a valid time in
their request. At the server, I can keep their ids and their
15 matches
Mail list logo