Documentation ¶
Index ¶
- Constants
- type HostServiceImpl
- func (i *HostServiceImpl) Config()
- func (i *HostServiceImpl) CreateHost(ctx context.Context, ins *host.Host) error
- func (i *HostServiceImpl) DeleteHost(ctx context.Context, req *host.DeleteHostRequest) error
- func (i *HostServiceImpl) ListHost(ctx context.Context, req *host.ListHostRequest) (*host.HostSet, error)
- func (i *HostServiceImpl) Name() string
- func (i *HostServiceImpl) QueryHost(ctx context.Context, req *host.QueryHostRequest) (*host.Host, error)
- func (i *HostServiceImpl) UpdateHost(ctx context.Context, ins *host.Host) (*host.Host, error)
Constants ¶
View Source
const ( InsertHostSQL = `` /* 198-byte string literal not displayed */ ListHostSQL = `` /* 273-byte string literal not displayed */ QueryHostSQL = `` /* 228-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostServiceImpl ¶
type HostServiceImpl struct {
// contains filtered or unexported fields
}
mysql实现类
func (*HostServiceImpl) CreateHost ¶
func (*HostServiceImpl) DeleteHost ¶
func (i *HostServiceImpl) DeleteHost(ctx context.Context, req *host.DeleteHostRequest) error
func (*HostServiceImpl) ListHost ¶
func (i *HostServiceImpl) ListHost(ctx context.Context, req *host.ListHostRequest) (*host.HostSet, error)
func (*HostServiceImpl) QueryHost ¶
func (i *HostServiceImpl) QueryHost(ctx context.Context, req *host.QueryHostRequest) (*host.Host, error)
func (*HostServiceImpl) UpdateHost ¶
Click to show internal directories.
Click to hide internal directories.