consoler

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consoler

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

func NewConsoler

func NewConsoler(
	dbpath types.Dbpath,
) *Consoler

func (*Consoler) Execute

func (c *Consoler) Execute(
	cmd string,
	channelID types.DiscordChannelID,
) string

type Writer

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

Capturer of Cobra output

func NewWriter

func NewWriter() *Writer

func (Writer) String

func (w Writer) String() string

func (Writer) Write

func (w Writer) Write(p []byte) (n int, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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