cliclient

package
v0.8.0-alpha.1.pre.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2021 License: Apache-2.0 Imports: 16 Imported by: 2

Documentation

Index

Constants

View Source
const (
	FlagEndpoint = "endpoint"
)

Variables

This section is empty.

Functions

func NewClient

func NewClient(cmd *cobra.Command) *kratos.APIClient

func RegisterClientFlags

func RegisterClientFlags(flags *pflag.FlagSet)

Types

type ContextKey

type ContextKey int
const (
	ClientContextKey ContextKey = iota + 1
)

type MigrateHandler

type MigrateHandler struct{}

func NewMigrateHandler

func NewMigrateHandler() *MigrateHandler

func (*MigrateHandler) MigrateSQL

func (h *MigrateHandler) MigrateSQL(cmd *cobra.Command, args []string)

Jump to

Keyboard shortcuts

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