complete

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

README

mu/samples/complete

This is a complete sample of all Mu functionality. It is a good starting point for a new project based on Mu.

Documentation

Index

Constants

View Source
const DevModeConfigVar = "DEV_MODE"
View Source
const (
	HelloPath = "/hello"
)
View Source
const MessageConfigVar = "MESSAGE"

Variables

This section is empty.

Functions

func New

func New(name string) (*complete, error)

New creates a new complete service.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

Config is a convenience wrapper around the service configuration.

func (*Config) DevMode

func (c *Config) DevMode() bool

DevMode returns true if development mode is enabled.

func (*Config) Message

func (c *Config) Message() string

Message returns the message to display.

Directories

Path Synopsis
cmd
proto

Jump to

Keyboard shortcuts

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