Documentation ¶
Index ¶
Constants ¶
View Source
const AddChainRoute = "/add"
View Source
const DeleteChainRoute = "/delete"
View Source
const (
GetChainRoute = "/chain/:chain"
)
View Source
const GetChainsRoute = "/chains"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddChainRequest ¶
type AddChainRequest struct { models.Chain SkipChannelCreation bool `json:"skip_channel_creation"` NodeConfig *operator.NodeConfiguration `json:"node_config"` RelayerConfiguration *operator.RelayerConfiguration `json:"relayer_configuration"` }
type AuthHeader ¶
type AuthHeader struct {
Token string `header:"Authorization"`
}
type DeleteChainRequest ¶
type DeleteChainRequest struct {
Chain string `json:"chain" binding:"required"`
}
type GetChainResp ¶
type GetChainsResp ¶
type Server ¶
type Server struct { DB *database.Instance KubeClient *kube.Client Config *config.Config // contains filtered or unexported fields }
func NewServer ¶
func NewServer(l *zap.SugaredLogger, d *database.Instance, kube kube.Client, rc *chainwatch.Connection, config *config.Config, a *auth.OAServer) *Server
Click to show internal directories.
Click to hide internal directories.