server

package
v0.0.0-...-f69abcf Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	From     string `json:"from"`
	To       string `json:"to"`
	Text     string `json:"text"`
	Priority int    `json:"priority"`
}

type Server

type Server struct {
	Router *chi.Mux
	// contains filtered or unexported fields
}

func NewServer

func NewServer() *Server

func (*Server) SetRoutes

func (srv *Server) SetRoutes()

Jump to

Keyboard shortcuts

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