Documentation ¶
Index ¶
- type AttachModuleResponse
- type LineModuleAttachAPI
- func (client *LineModuleAttachAPI) AttachModule(grantType string, code string, redirectUri string, codeVerifier string, ...) (*AttachModuleResponse, error)
- func (client *LineModuleAttachAPI) AttachModuleWithHttpInfo(grantType string, code string, redirectUri string, codeVerifier string, ...) (*http.Response, *AttachModuleResponse, error)
- func (client *LineModuleAttachAPI) Do(req *http.Request) (*http.Response, error)
- func (client *LineModuleAttachAPI) Url(endpointPath string) string
- func (call *LineModuleAttachAPI) WithContext(ctx context.Context) *LineModuleAttachAPI
- type LineModuleAttachAPIOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachModuleResponse ¶
type LineModuleAttachAPI ¶
type LineModuleAttachAPI struct {
// contains filtered or unexported fields
}
func NewLineModuleAttachAPI ¶
func NewLineModuleAttachAPI(channelToken string, options ...LineModuleAttachAPIOption) (*LineModuleAttachAPI, error)
New returns a new bot client instance.
func (*LineModuleAttachAPI) AttachModule ¶
func (*LineModuleAttachAPI) AttachModuleWithHttpInfo ¶
func (*LineModuleAttachAPI) Url ¶
func (client *LineModuleAttachAPI) Url(endpointPath string) string
func (*LineModuleAttachAPI) WithContext ¶
func (call *LineModuleAttachAPI) WithContext(ctx context.Context) *LineModuleAttachAPI
WithContext method
type LineModuleAttachAPIOption ¶
type LineModuleAttachAPIOption func(*LineModuleAttachAPI) error
LineModuleAttachAPIOption type
func WithEndpoint ¶
func WithEndpoint(endpoint string) LineModuleAttachAPIOption
WithEndpointClient function
func WithHTTPClient ¶
func WithHTTPClient(c *http.Client) LineModuleAttachAPIOption
WithHTTPClient function
Click to show internal directories.
Click to hide internal directories.