client

package
v0.2.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(args []string)

func RunWithOptions

func RunWithOptions(options *Options) error

Types

type Options

type Options struct {
	Sa []string `short:"a" long:"sa" description:"sls model input" `
	Sl []string `short:"s" long:"sl" description:"sls/vec model input"`
	X  []string `short:"x" long:"x_input" description:"auxiliary input input"`

	Tv    []string `short:"t" long:"tv" description:"vec model input" `
	Model string   `short:"m" long:"model" description:"model" `
	Host  string   `short:"h" long:"host" description:"endpoint host" `
	Port  int      `short:"p" long:"port" description:"endpoint port" `
}

func (*Options) Hosts

func (o *Options) Hosts() []*client.Host

func (*Options) Init

func (o *Options) Init()

func (*Options) Validate

func (o *Options) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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