common

package
v0.0.0-...-14f1b0a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App interface {
	Run() error
}

type AppType

type AppType string
const (
	Web     AppType = "web"
	Console AppType = "console"
)

func (AppType) IsConsole

func (t AppType) IsConsole() bool

func (AppType) IsWeb

func (t AppType) IsWeb() bool

type DeployType

type DeployType string
const (
	Develop    DeployType = "dev"
	Production DeployType = "prod"
	Test       DeployType = "test"
)

func (DeployType) IsDevelop

func (t DeployType) IsDevelop() bool

func (DeployType) IsProduction

func (t DeployType) IsProduction() bool

func (DeployType) IsTest

func (t DeployType) IsTest() bool

type StoreType

type StoreType string
const (
	Memory StoreType = "memory"
	MySql  StoreType = "mysql"
)

func (StoreType) IsMemory

func (t StoreType) IsMemory() bool

func (StoreType) IsMySql

func (t StoreType) IsMySql() bool

Jump to

Keyboard shortcuts

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