app

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

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

Go to latest
Published: Dec 21, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunServer

func RunServer(c Config)

RunServer 开始运行服务

Types

type Config

type Config struct {
	Mongo  service.Mongo `yaml:"Mongo"`  // mongoDB配置
	Server ServerConfig  `yaml:"Server"` // iris配置
}

Config 配置文件

type ServerConfig

type ServerConfig struct {
	Host string `yaml:"Host"` // 服务器监听地址
	Port string `yaml:"Port"` // 服务器监听端口
}

ServerConfig 服务器配置

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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