server

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

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

Go to latest
Published: Sep 2, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Address string `mapstructure:"address"`
}

type Server

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

func New

func New(
	config *Config,
	comics comicshelf.ComicService,
	series comicshelf.SeriesService,
	user comicshelf.UserService,
) (*Server, error)

func (*Server) Run

func (s *Server) Run(ctx context.Context) error

type View

type View[T any] struct {
	Date  string
	Title string
	Resp  T
}

Jump to

Keyboard shortcuts

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