Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
Credentials is the credentials to connect to digiposte.
type InvalidOptionError ¶
func (*InvalidOptionError) Apply ¶
func (e *InvalidOptionError) Apply(interface{}) error
func (*InvalidOptionError) Error ¶
func (e *InvalidOptionError) Error() string
func (*InvalidOptionError) Unwrap ¶
func (e *InvalidOptionError) Unwrap() error
type Method ¶
type Method interface {
Login(ctx context.Context, creds *Credentials) (*oauth2.Token, []*http.Cookie, error)
}
Method is the method to connect to digiposte.
type MethodFunc ¶
type OptionFunc ¶
type OptionFunc func(instance interface{}) error
func (OptionFunc) Apply ¶
func (f OptionFunc) Apply(instance interface{}) error
Click to show internal directories.
Click to hide internal directories.