github.com/s7techlab/cckit@v0.10.5/examples/token/service/account/resolver.go (about)

     1  package account
     2  
     3  import (
     4  	"google.golang.org/protobuf/types/known/emptypb"
     5  
     6  	"github.com/s7techlab/cckit/router"
     7  )
     8  
     9  type Getter interface {
    10  	GetInvokerAddress(router.Context, *emptypb.Empty) (*AddressId, error)
    11  
    12  	GetAddress(router.Context, *GetAddressRequest) (*AddressId, error)
    13  
    14  	GetAccount(router.Context, *AccountId) (*Account, error)
    15  }