rest

package
v0.0.0-...-4e5f079 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package rest implement http server

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(opts ...server.Option) server.Server

Types

type Server

type Server struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*Server) Init

func (s *Server) Init(opts ...server.Option) error

func (*Server) Options

func (s *Server) Options() server.Options

func (*Server) Register

func (s *Server) Register(inv invoker.Invoker) error

func (*Server) Start

func (s *Server) Start() error

func (*Server) Stop

func (s *Server) Stop() error

func (*Server) String

func (s *Server) String() string

Jump to

Keyboard shortcuts

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