Documentation ¶
Index ¶
- type Config
- type Params
- func (c *Params) BuildAuthHeader(req *http.Request) string
- func (c *Params) GetBasePath() string
- func (c *Params) GetPackageName() string
- func (c *Params) GetRecordMetadata() ([]byte, error)
- func (c *Params) GetRecordName() string
- func (c *Params) GetWithRequestEditorFn(ctx context.Context, req *http.Request) error
- type ParamsInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Params ¶
func (*Params) BuildAuthHeader ¶
BuildAuthHeader returns a valid NS OAuth1.0 header
func (*Params) GetBasePath ¶
GetBasePath returns the server path
func (*Params) GetPackageName ¶
GetPackageName returns the package name
func (*Params) GetRecordMetadata ¶
GetRecordMetadata retrieves record metadata from NetSuite
func (*Params) GetRecordName ¶
GetRecordName returns the record name
type ParamsInterface ¶
type ParamsInterface interface { GetWithRequestEditorFn(ctx context.Context, req *http.Request) error BuildAuthHeader(req *http.Request) string GetBasePath() string GetRecordName() string GetPackageName() string GetRecordMetadata() ([]byte, error) }
ParamsInterface for parameter methods
func NewParams ¶
func NewParams(params *Params) ParamsInterface
Click to show internal directories.
Click to hide internal directories.