kgin

package
v0.14.5 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 10 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
}

func (Config) Build

func (c Config) Build() *Server

type Context

type Context = gin.Context

type Engine

type Engine = gin.Engine

type H

type H = gin.H

type RouterGroup

type RouterGroup = gin.RouterGroup

type Server

type Server struct {
	*gin.Engine
	// contains filtered or unexported fields
}

func (*Server) GracefulStop

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

func (*Server) Run

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

func (*Server) Scheme

func (s *Server) Scheme() string

func (*Server) WithRegistry

func (s *Server) WithRegistry(r registry.Registry) *Server

Jump to

Keyboard shortcuts

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