server

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct{}

type HandlerV1

type HandlerV1 struct {
	dig.Out
	Handler *Handler `name:"v1"`
}

func NewV1

func NewV1() HandlerV1

type HandlerV2

type HandlerV2 struct {
	dig.Out
	Handler *Handler `name:"v2"`
}

func NewV2

func NewV2() HandlerV2

type Handlers

type Handlers struct {
	dig.In
	V1 *Handler `name:"v1"`
	V2 *Handler `name:"v2"`
}

type Server

type Server struct{}

func NewServer

func NewServer(Handlers) Server

Jump to

Keyboard shortcuts

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