cli

package
v0.0.0-...-90abbe5 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *cobra.Command

Types

type AssistantRuntime

type AssistantRuntime struct {
	cmd.DebugLogging
}

func (*AssistantRuntime) PersistentPre

func (a *AssistantRuntime) PersistentPre(cmd *cobra.Command, args []string) error

func (*AssistantRuntime) Run

func (a *AssistantRuntime) Run(cmd *cobra.Command, args []string) error

type Chat

type Chat struct {
	cmd.DebugLogging
	chat.Options

	URL   string `usage:"URL of assistant runtime API" default:"http://localhost:8080"`
	Token string `usage:"Bearer token to talk to assistant runtime API"`
}

func (*Chat) Run

func (c *Chat) Run(cmd *cobra.Command, args []string) error

type Controller

type Controller struct {
	controller.Options
}

func (Controller) Run

func (c Controller) Run(cmd *cobra.Command, args []string) error

type Server

type Server struct {
	services.Config
}

func (*Server) Run

func (s *Server) Run(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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