app_msg_container

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container interface {
	// Verify the key exists on the container.
	// This does not compute message type such as app_msg.MessageComplex.
	ExistsKey(key string) bool

	// Verify the message and keys exists on the container.
	Exists(msg app_msg.Message) bool

	// Compile message.
	Compile(m app_msg.Message) string

	// Pre compiled text for the key.
	Text(key string) string

	// Current language
	Lang() lang.Lang
}

Jump to

Keyboard shortcuts

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