GithubHelp home page GithubHelp logo

fractorysolutions / micro-bastion Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 3.0 3.78 MB

A minimal http gateway (proxy-like) server intended for accessing microservices from outside their cluster.

License: ISC License

Dockerfile 12.53% Go 87.47%

micro-bastion's People

Contributors

allenxu317 avatar raoz avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

micro-bastion's Issues

I met a problem: http: panic serving [::1]:55909: runtime error: index out of range [1] with length 1

I built it on my win-10 computer and when I pressed the url : http://localhost:8888/example.org/80 I saw the panic :
http: panic serving [::1]:56291: runtime error: index out of range [1] with length 1
D:/goProject/src/micro-bastion/main.go:49 +0x2a3
main.handleRequest(0x750100, 0xc0001c4460, 0xc0000c0200)
D:/goProject/src/micro-bastion/main.go:18 +0x83
net/http.HandlerFunc.ServeHTTP(0x6fffe0, 0x750100, 0xc0001c4460, 0xc0000c0200)
C:/Go/src/net/http/server.go:2012 +0x4b
net/http.serverHandler.ServeHTTP(0xc0000ce000, 0x750100, 0xc0001c4460, 0xc0000c0200)
C:/Go/src/net/http/server.go:2807 +0xaa
net/http.(*conn).serve(0xc000064c80, 0x750640, 0xc00010c340)
C:/Go/src/net/http/server.go:1895 +0x873
created by net/http.(*Server).Serve
C:/Go/src/net/http/server.go:2933 +0x363

I do't know why it happened.
thx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.