syncd: github.com/dreamans/syncd/router/server Index | Files

package server

import "github.com/dreamans/syncd/router/server"

Index

Package Files

group.go server.go

func GroupAdd Uses

func GroupAdd(c *gin.Context)

func GroupDelete Uses

func GroupDelete(c *gin.Context)

func GroupDetail Uses

func GroupDetail(c *gin.Context)

func GroupList Uses

func GroupList(c *gin.Context)

func GroupUpdate Uses

func GroupUpdate(c *gin.Context)

func ServerAdd Uses

func ServerAdd(c *gin.Context)

func ServerDelete Uses

func ServerDelete(c *gin.Context)

func ServerDetail Uses

func ServerDetail(c *gin.Context)

func ServerList Uses

func ServerList(c *gin.Context)

func ServerUpdate Uses

func ServerUpdate(c *gin.Context)

type GroupForm Uses

type GroupForm struct {
    ID   int    `form:"id"`
    Name string `form:"name" binding:"required"`
}

type QueryBind Uses

type QueryBind struct {
    Keyword string `form:"keyword"`
    Offset  int    `form:"offset"`
    Limit   int    `form:"limit" binding:"required,gte=1,lte=999"`
}

type ServerForm Uses

type ServerForm struct {
    GroupId int    `form:"group_id" binding:"required"`
    Name    string `form:"name" binding:"required"`
    Ip      string `form:"ip" binding:"required"`
    SSHPort int    `form:"ssh_port" binding:"required,gte=1,lte=65535"`
}

Package server imports 4 packages (graph) and is imported by 1 packages. Updated 2019-05-11. Refresh now. Tools for package owners.