chi

package
v0.0.0-...-9d0e06d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

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

Adapter struct to save apps that implement grpc adapters and set port that grpc server should run

func New

func New(port, prefix string) *Adapter

func (*Adapter) AddApp

func (g *Adapter) AddApp(app rest.AppInterface)

func (Adapter) GetApps

func (g Adapter) GetApps() []api.App

func (*Adapter) GetName

func (g *Adapter) GetName() string

func (*Adapter) Run

func (g *Adapter) Run() error

Jump to

Keyboard shortcuts

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