frontline

package
v0.0.0-...-3c84b19 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logger

func Logger() gin.HandlerFunc

Types

type RequestSession

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

func NewRequestSession

func NewRequestSession(resp *chan common.MLServeResponse) *RequestSession

func (*RequestSession) Received

func (rs *RequestSession) Received(response *common.MLServeResponse)

type Service

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

func NewFrontLineService

func NewFrontLineService(port int, backendURL string) *Service

func (*Service) Run

func (fs *Service) Run(ctx context.Context)

Jump to

Keyboard shortcuts

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