name change, for consistency
This commit is contained in:
parent
bea9cd2fe2
commit
46a016cdce
@ -25,10 +25,10 @@ import (
|
|||||||
type CommonAPI struct {
|
type CommonAPI struct {
|
||||||
fx.In
|
fx.In
|
||||||
|
|
||||||
APISecret *dtypes.APIAlg
|
APISecret *dtypes.APIAlg
|
||||||
Host host.Host
|
Host host.Host
|
||||||
Router lp2p.BaseIpfsRouting
|
Router lp2p.BaseIpfsRouting
|
||||||
ShutdownCh dtypes.ShutdownChan
|
ShutdownChan dtypes.ShutdownChan
|
||||||
}
|
}
|
||||||
|
|
||||||
type jwtPayload struct {
|
type jwtPayload struct {
|
||||||
@ -117,7 +117,7 @@ func (a *CommonAPI) LogSetLevel(ctx context.Context, subsystem, level string) er
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (a *CommonAPI) Shutdown(ctx context.Context) error {
|
func (a *CommonAPI) Shutdown(ctx context.Context) error {
|
||||||
a.ShutdownCh <- struct{}{}
|
a.ShutdownChan <- struct{}{}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user