bootstrap

package
v0.0.0-...-c622dda Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bootstrap

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

Bootstrap アプリケーションの起動を管理する

func New

func New(container *dig.Container) (*Bootstrap, error)

New 新しいBootstrapインスタンスを作成する

func (*Bootstrap) Run

func (b *Bootstrap) Run() error

Run アプリケーションを起動する

func (*Bootstrap) Shutdown

func (b *Bootstrap) Shutdown()

Shutdown アプリケーションを適切にシャットダウンする

type Route

type Route struct {
	Pattern     string
	Handler     http.Handler
	StripPrefix string // プレフィックスを削除する場合に指定
}

Route ルート定義を表す

Jump to

Keyboard shortcuts

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