templates

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSession

func NewSession(rba *RolesByAccount, state string) string

func StreamNewSession

func StreamNewSession(qw422016 *qt422016.Writer, rba *RolesByAccount, state string)

func WriteNewSession

func WriteNewSession(qq422016 qtio422016.Writer, rba *RolesByAccount, state string)

Types

type Message

type Message struct {
	Content string
	Context string
	Color   string
}

func (*Message) Render

func (msg *Message) Render() string

func (*Message) StreamRender

func (msg *Message) StreamRender(qw422016 *qt422016.Writer)

func (*Message) WriteRender

func (msg *Message) WriteRender(qq422016 qtio422016.Writer)

type RolesByAccount

type RolesByAccount map[string][]arn.ARN

func (*RolesByAccount) Has

func (rba *RolesByAccount) Has(arnString string) bool

Jump to

Keyboard shortcuts

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