models

package
v0.0.0-...-96ba605 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	Enable bool `yaml:"enable" default:"false"`
}

func (Auth) DefaultTag

func (a Auth) DefaultTag() Auth

DefaultTag - Auth model

type HttpHandler

type HttpHandler struct {
	Type     string `yaml:"type" default:"restful"`
	Url      string `yaml:"url" default:"127.0.0.1"`
	Port     string `yaml:"port" default:"3000"`
	Swagger  string `yaml:"swagger" default:"../docs/swagger.yaml"`
	LogLevel string `yaml:"debug_level" default:"INFO"`
}

func (HttpHandler) DefaultTag

func (a HttpHandler) DefaultTag() HttpHandler

DefaultTag - Server model

type Micro

type Micro struct {
	Name string `yaml:"name" default:"micro-template"`
}

func (Micro) DefaultTag

func (a Micro) DefaultTag() Micro

DefaultTag - Micro model

type Repository

type Repository struct {
	Db string `yaml:"db" default:"postgres"`
}

func (Repository) DefaultTag

func (a Repository) DefaultTag() Repository

DefaultTag - Jaeger config

Jump to

Keyboard shortcuts

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