Compare commits

..

No commits in common. "d59c6b9f397fe91d7a3ff91f96a340c7f3ad1914" and "3d27d24f9fb27dc847fdfd9cbaba30374fd33361" have entirely different histories.

4 changed files with 1 additions and 14 deletions

1
.gitignore vendored
View file

@ -21,4 +21,3 @@
# Go workspace file # Go workspace file
go.work go.work
.idea/

11
main.go
View file

@ -3,7 +3,6 @@ package main
import ( import (
"context" "context"
"encoding/json" "encoding/json"
"flag"
"fmt" "fmt"
"log" "log"
"os" "os"
@ -14,16 +13,6 @@ import (
"git.sr.ht/~adnano/go-gemini/certificate" "git.sr.ht/~adnano/go-gemini/certificate"
) )
var (
fileSrvHost string
fileSrvPort string
)
func init() {
flag.StringVar(&fileSrvHost, "fileSrvHost", "", "file push server host")
flag.StringVar(&fileSrvPort, "fileSrvPort", "", "file push server port")
}
func main() { func main() {
certificates := &certificate.Store{} certificates := &certificate.Store{}
certificates.Register("localhost") certificates.Register("localhost")

View file

@ -24,4 +24,3 @@ Pagrindėnės temas paskėrstītas par kateguorėjės. Kuožnos fails gal turie
{{last_posts}} {{last_posts}}
=> /x vėsė straipsnē

View file

@ -7,7 +7,7 @@ import (
) )
func GetSummery() string { func GetSummery() string {
conn, err := net.Dial("tcp", "127.0.0.1:8301") conn, err := net.Dial("tcp", "127.0.0.1:8001")
if err != nil { if err != nil {
panic(err.Error()) panic(err.Error())
} }