trainer

package
v2.1.43 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server is the trainer server.

func New

func New(ctx context.Context, cfg *config.Config, d dfpath.Dfpath) (*Server, error)

New creates a new Server.

func (*Server) Serve

func (s *Server) Serve() error

Serve starts the trainer server.

func (*Server) Stop

func (s *Server) Stop()

Stop stops the trainer server.

Directories

Path Synopsis
mocks
Code generated by MockGen.
Code generated by MockGen.
mocks
Code generated by MockGen.
Code generated by MockGen.

Jump to

Keyboard shortcuts

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