retrologin

package module
v0.25.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2022 License: MPL-2.0 Imports: 26 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

retrologin

CI

retrologin is an unofficial login server of Dofus Retro.

Build

git clone https://github.com/kralamoure/retrologin
cd retrologin
go build ./cmd/...

Installation

go install github.com/kralamoure/retrologin/cmd/retrologin@latest

Usage

retrologin --help
Output
retrologin is an unofficial login server for Dofus Retro.

Find more information at: https://github.com/kralamoure/retrologin

Options:
  -h, --help               Print usage information
  -d, --debug              Enable debug mode
  -a, --address string     Server listener address (default "0.0.0.0:5555")
  -p, --postgres string    PostgreSQL connection string (default "postgresql://user:password@host/database")
  -t, --timeout duration   Connection timeout (default 30m0s)
      --ticket duration    Ticket duration (default 20s)

Usage: retrologin [options]

Documentation

Overview

Package retrologin implements an unofficial login server for Dofus Retro.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Addr        string
	ConnTimeout time.Duration
	TicketDur   time.Duration
	Dofus       *dofussvc.Service
	Retro       *retrosvc.Service
	Logger      logging.Logger
}

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(c Config) (*Server, error)

func (*Server) ListenAndServe

func (s *Server) ListenAndServe(ctx context.Context) error

Directories

Path Synopsis
cmd
retrologin command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址