satellite

package
v0.0.0-...-7131cb1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: AGPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitSatellites

func InitSatellites(orm *gorm.DB) error

func Run

func Run(config Config) error

Types

type Config

type Config struct {
	TelegramToken string `koanf:"telegram_token"`
	DatabaseDir   string `koanf:"database_dir"`
	WebPort       int    `koanf:"web_port"`
	DrpcPort      int    `koanf:"drpc_port"`
	Db            string `koanf:"db"`
	CookieSecret  string `koanf:"cookie_secret"`
	Domain        string `koanf:"domain"`
}

type RPCServer

type RPCServer struct {
	Port int
	Mux  *drpcmux.Mux
	// contains filtered or unexported fields
}

func NewRPCServer

func NewRPCServer(ident *identity.FullIdentity, port int) (*RPCServer, error)

func (*RPCServer) Run

func (r *RPCServer) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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