apiserver

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

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

Go to latest
Published: Feb 6, 2024 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(config *Config, uc usecase.UseCase) *server

Types

type Config

type Config struct {
	BindAddr  string `toml:"bind_addr"`
	SecretKey string
	LogLevel  string `toml:"log_level"`
}

func NewConfig

func NewConfig() *Config

Jump to

Keyboard shortcuts

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