Documentation ¶
Index ¶
- Variables
- func CreateParents(c IZk, path string, data []byte) error
- func NewRouter(ctx context.Context, routes map[string]map[string]Handler) *mux.Router
- func ReadLine(name string) ([]byte, error)
- func Run(name string, commands ...cli.Command)
- func ServeCmd(c *cli.Context, ctx context.Context, routes map[string]map[string]Handler) error
- func ValidateEmail(email string) bool
- type Handler
- type HttpError
- type IZk
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FlAddr = cli.StringFlag{ Name: "addr", Usage: "<ip>:<port> to listen on", Value: "127.0.0.1:8101", } FlZkAddr = cli.StringFlag{ Name: "zk-addr", Usage: "<ip>[:<port>] to bind to", Value: "127.0.0.1:2181", } )
Functions ¶
func ValidateEmail ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.