apiserver

package
v0.0.0-...-d32eb86 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 30 Imported by: 0

Documentation

Overview

Package apiserver does all the work necessary to create a APIServer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPIServer

func NewAPIServer(cfg *config.Config) (*apiServer, error)

func NewApp

func NewApp(basename string) *app.App

NewApp creates an App object with default parameters.

func Run

func Run(cfg *config.Config) error

Run runs the specified APIServer. This should never exit.

Types

type ExtraConfig

type ExtraConfig struct {
	Addr       string
	MaxMsgSize int
	ServerCert options.GeneratableKeyCert
}

ExtraConfig defines extra configuration for the apiserver such as mysql and other options fields.

Directories

Path Synopsis
controller
Package options contains flags and options for initializing an apiserver
Package options contains flags and options for initializing an apiserver
service
v1
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
rpc_service
user_grpc_service.go
user_grpc_service.go

Jump to

Keyboard shortcuts

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