models

package
v0.0.0-...-7a68c68 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressIP

type AddressIP struct {
	Address string `json:"ip"`
	Port    string `json:"port"`
}

type ServerConfig

type ServerConfig struct {
	Address       string `json:"address"`
	Port          int    `json:"port"`
	ConfigDirname string `json:"configDirname"`
}

func GetConfigFile

func GetConfigFile(path string) (*ServerConfig, error)

Jump to

Keyboard shortcuts

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