• Stars
    star
    22
  • Rank 1,013,145 (Top 21 %)
  • Language
    Go
  • License
    MIT License
  • Created over 8 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

SypexGeo library for Go (provides access data from SypexGeo IP database files)

go-sypexgeo

SypexGeo API bindings for Go (provides access data from SypexGeo IP database files). Accepts only SypexGeo 2.2 or above format.

For more information about Sypex Geo databases and their features please visit http://sypexgeo.net.

Direct DB links that might became broken over time:

Documentation

Docs on pkg.go.dev

How To Install

go get github.com/night-codes/go-sypexgeo

Getting Started

package main

import "github.com/night-codes/go-sypexgeo"

func main() {
    geo := sypexgeo.New("/path/to/db/SxGeoCity.dat")
    info, err := geo.GetCityFull("93.73.35.74")
}

License

MIT License

Copyright (C) 2015-2022 Oleksiy Chechel ([email protected])

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

golang-site-example

Just for fun
HTML
21
star
2

mgo-ai

Auto-increment methods for mgo(golang)
Go
18
star
3

The-Little-MongoDB-Book-rus

The Little MongoDB Book (Маленькая книга о MongoDB)
12
star
4

summer

Simple control panel for Golang based on Gin framework and MongoDB
Go
9
star
5

frame

Frame - simple golang GUI toolkit (WebKitGTK/Cocoa/CEF)
C++
7
star
6

go-gin-ttpl

Custom render for gin-gonic by "text/template" instead "html/template"
Go
6
star
7

expvar

Go expvar wrapper with goroutines and uptime
Go
4
star
8

mgo-wrapper

Wrapper for package mgo with auto reconnect
Go
4
star
9

types

Golang types convertion library
Go
3
star
10

go-keygen

Key generation package for golang
Go
3
star
11

tokay

Fast and small (but powerful) fasthttp web framework written on Go (Golang)
Go
2
star
12

conv

Go
2
star
13

ws

A high performance golang websocket framework
Go
2
star
14

cabmin

Simple control panel for Node.js based on OrangeBox
CSS
2
star
15

go-events

Golang events emmiter
Go
2
star
16

pigeon-js

Pigeon is an HTML preprocessor / template engine written in Javascript.
JavaScript
1
star
17

piu

Simple control panel system on Golang
1
star
18

journall

MGO wrapper for save stream data with splitting by time
Go
1
star
19

2_merge_intervals

Go
1
star
20

runner

CSS
1
star
21

1_break_word

Go
1
star
22

bcache

Golang small cache library
Go
1
star
23

night-codes

1
star
24

easyconfig

Multi-source configuration loading library in Go
Go
1
star
25

mgoc

Simple mgo cache for small collections
Go
1
star
26

euphoria

euphoria
JavaScript
1
star
27

Mirrr.tmTheme

My theme for SublimeText, Textmate etc.
1
star
28

events

Golang events library
Go
1
star
29

mgo-counters

Go
1
star
30

sock

Go
1
star
31

scalc_test

Go
1
star
32

cefresources

CEF packed resources (branch 2785)
Go
1
star
33

tests

1
star
34

orangebox

Light Node.js web application framework on clusters with file server
JavaScript
1
star
35

hill.js

Small pure-js chart library
JavaScript
1
star
36

summer-ext-register

Example project implements external registration in the Summer
HTML
1
star
37

libe

Small solution for easy node libs inclusions
JavaScript
1
star
38

jss

Utility that track directory changes and recompile js source files as CommonJS modules
Go
1
star
39

scss

Sass/scss compiler written on golang
Go
1
star