api

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options func(opts *Server) error

func WithVersion

func WithVersion(version string) Options

type Server

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

func NewServer

func NewServer(opts ...Options) *Server

func (*Server) Init

func (s *Server) Init()

func (*Server) InitRouter

func (s *Server) InitRouter()

func (*Server) Run

func (s *Server) Run()

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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