server

package
v0.0.0-...-82860ec Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig() error

func StartSyncatServer

func StartSyncatServer() error

Types

type SyncatServerConfig

type SyncatServerConfig struct {
	// Port for server
	Port int `yaml:"port"`
	// Host for server
	Host string `yaml:"host"`
}

SyncatServerConfig is the configuration for the Syncat server

func GetConfig

func GetConfig() SyncatServerConfig

Jump to

Keyboard shortcuts

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