Discover Packages
github.com/go-juno/juno-grpc-skeleton
init
config
package
Version:
v1.0.5
Opens a new window with list of versions in this module.
Published: Jul 5, 2021
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Configuration struct {
Server Server `yaml:"server"`
Database Database `yaml:"database"`
}
Yaml2Go
type Database struct {
Mysql Mysql `yaml:"mysql"`
}
Database
type Grpc struct {
Port int `yaml:"port"`
}
Grpc
type Http struct {
Port int `yaml:"port"`
}
Http
type Mysql struct {
User string `yaml:"user"`
Password string `yaml:"password"`
Host string `yaml:"host"`
Database string `yaml:"database"`
Port int `yaml:"port"`
}
Mysql
type Server struct {
Grpc Grpc `yaml:"grpc"`
Http Http `yaml:"http"`
}
Server
Source Files
¶
Click to show internal directories.
Click to hide internal directories.