madux_server

package
v0.0.0-...-014678a Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2017 License: MIT Imports: 14 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 {
	Network string `name:"net" default:"unix"`
	Host    string `default:"/tmp/madux.sock"`
	Debug   string `default:"/tmp/madux.debug"`
}

func (*Config) FlaglyDesc

func (c *Config) FlaglyDesc() string

func (*Config) FlaglyHandle

func (c *Config) FlaglyHandle(f *flow.Flow) error

type Server

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

func New

func New(f *flow.Flow, cfg *Config) *Server

func (*Server) Close

func (s *Server) Close()

func (*Server) GetSessions

func (s *Server) GetSessions() *madux_session.Sessions

func (*Server) Run

func (s *Server) Run() error

Jump to

Keyboard shortcuts

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