Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Statics = &StaticRouter{}
Functions ¶
func NopCIO2 ¶
func NopCIO2(c cio.Creator, r JudgeChecker) *nopCio
Types ¶
type ChannelFactory ¶
type Factory ¶
type Factory interface { AsCreator() cio.Creator JudgeChecker }
type JudgeChecker ¶
type Router ¶
type Router interface {
MakeIOChannel(iop string) (ChannelFactory, error)
}
type StaticRouter ¶
type StaticRouter struct{}
func (*StaticRouter) MakeIOChannel ¶
func (s *StaticRouter) MakeIOChannel(iop string) (ChannelFactory, error)
func (*StaticRouter) RouteFilesystem ¶
func (s *StaticRouter) RouteFilesystem(fs *url.URL) (ChannelFactory, error)
func (*StaticRouter) RouteMemory ¶
func (s *StaticRouter) RouteMemory(_ *url.URL) ChannelFactory
Click to show internal directories.
Click to hide internal directories.