socket

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2019 License: BSD-2-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Response

func Response(msg message.Transfer)

Response : TODO

Types

type GetHandler

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

GetHandler is struct for holding context.LegscContext

func NewGetHandler

func NewGetHandler(ctx *context.LegscContext) *GetHandler

NewGetHandler initialize GetHandler.

func (*GetHandler) Get

func (g *GetHandler) Get(w io.Writer, r *golum.Request)

Get handles the request from UNIX domain socket.

type RoutingNotFoundError

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

RoutingNotFoundError : TODO

func NewRoutingNotFoundError

func NewRoutingNotFoundError(routingName string) *RoutingNotFoundError

NewRoutingNotFoundError : TODO

func (*RoutingNotFoundError) Error

func (e *RoutingNotFoundError) Error() string

type SendHandler

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

SendHandler : TODo

func NewSendHandler

func NewSendHandler(ctx *context.LegscContext) *SendHandler

NewSendHandler : TODO

func (*SendHandler) Send

func (s *SendHandler) Send(w io.Writer, r *golum.Request)

Send : TODO

type TimeoutError

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

TimeoutError : TODO

func NewTimeoutError

func NewTimeoutError() *TimeoutError

NewTimeoutError : TODO

func (*TimeoutError) Error

func (e *TimeoutError) Error() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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