<patientplatypus>
im building a thing over here. you cant be like - sure wire up the electrical system it should work for now. in 2 months itll catch fire and the house will burn down, but for now...!
<deltab>
if you mean importing it as a library into your own go programs, I think there were a couple of tutorials on doing that, but some of the details have since changed
<patientplatypus>
@deltab i understand, but i need to see an example unfortunately. too many things are left confusing. If im running this on a server how do i open the daemon - does this assume the daemon is running?
<voker57>
haha well IPFS is not exactly finished now. if you use same daemon, things keep working
<patientplatypus>
so right.
<patientplatypus>
let me back up
<patientplatypus>
i have a docker image hosting a golang program composed with a postgres db
<voker57>
you can either use go-ipfs-api and connect to running daemon via HTTP interface or use CoreAPI and run your own demon inside your app
<patientplatypus>
i want to use ipfs, but i dont know (even with the http api) how to run the daemon - they also have a docker image, with its *own* set of commands,
<patientplatypus>
@voker57 ok wait
<voker57>
i think there's an effort to merge the two, that's what I was referring earlier, but i'm not sure about the plans
<patientplatypus>
so....there is no example of how to do this
<patientplatypus>
i see a phonebook list of commands
<deltab>
I mean in the service config you have in the container
<patientplatypus>
that is also very complicated
<deltab>
yeah, well, docker is complicated
<patientplatypus>
how many services and tasks does ipfs spin up? should i make ipfs live in the container or the root of the application? Should I compose my docker images with the docker file rather than use the api, and if so, how?
<patientplatypus>
yes
<patientplatypus>
so i need some more examples....
<voker57>
ipfs is one daemon process
<patientplatypus>
then why have a docker file?
<voker57>
sorry I don't know much about docker
<patientplatypus>
if it were easily called from inside a docker file why make a whole another one?
<patientplatypus>
hhmmmmmm
<patientplatypus>
🤔
dimitarvp has quit [Quit: Bye]
patientplatypus has quit [Remote host closed the connection]
ilyaigpetrov has joined #ipfs
math has joined #ipfs
math is now known as Guest99027
cwahlers_ has quit [Ping timeout: 240 seconds]
Guest99027 has quit [Quit: bye bye bye bye]
reit has joined #ipfs
graffen has quit [Ping timeout: 244 seconds]
graffen has joined #ipfs
fazo has joined #ipfs
rendar has joined #ipfs
ylp has joined #ipfs
malaclyps has quit [Read error: Connection reset by peer]
malaclyps has joined #ipfs
detectiveaoi has quit [Quit: Leaving...]
Alpha64 has quit [Read error: Connection reset by peer]
rubill has joined #ipfs
cwahlers has joined #ipfs
}ls{ has joined #ipfs
lassulus has quit [Quit: WeeChat 2.0]
bomb-on has quit [Quit: SO LONG, SUCKERS!]
tenchooo has quit [Remote host closed the connection]
tenchooo has joined #ipfs
bomb-on has joined #ipfs
TripFandango has joined #ipfs
Oatmeal has quit [Ping timeout: 240 seconds]
Mottengrotte has joined #ipfs
Caterpillar has quit [Quit: You were not made to live as brutes, but to follow virtue and knowledge.]
plexigras has joined #ipfs
crcastle[m] has quit [Remote host closed the connection]
jcgruenhage has quit [Remote host closed the connection]
Kolonka[m] has quit [Write error: Connection reset by peer]
k0mpjut0r has quit [Write error: Connection reset by peer]
peddie[m]1 has quit [Write error: Connection reset by peer]
mkg20001 has quit [Write error: Broken pipe]
lordpipe has quit [Remote host closed the connection]
makeworld has quit [Remote host closed the connection]
dcallagh has quit [Read error: Connection reset by peer]
turt2live has quit [Remote host closed the connection]
mindhog[m] has quit [Remote host closed the connection]
swedneck[m] has quit [Remote host closed the connection]
TripFandango has quit [Remote host closed the connection]
TripFandango has joined #ipfs
malaclyps has quit [Read error: Connection reset by peer]
malaclyps has joined #ipfs
Oatmeal has joined #ipfs
joeyh has joined #ipfs
not-a-dog has joined #ipfs
not-a-dog has quit [Ping timeout: 240 seconds]
leeola has joined #ipfs
reit has quit [Quit: Leaving]
Caterpillar has joined #ipfs
Caterpillar has quit [Quit: You were not made to live as brutes, but to follow virtue and knowledge.]
<patientplatypus>
has anyone here used ipfs with golang?
jgm has joined #ipfs
<jgm>
Using go-libp2p-swarm I used to be able to do a NewNetwork() including a set of addreses to which to listen. With NewSwarm() that seems to have disappeared, how do I use NewSwarm() to add a simple ipv4 listen port (/ip4/0.0.0.0/tcp/12345)?