Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileTokenReader ¶
type FileTokenReader struct {
Path string
}
FileTokenReader reads token from file
func (*FileTokenReader) ReadToken ¶
func (f *FileTokenReader) ReadToken() (string, error)
ReadToken ...
type RawTokenReader ¶
type RawTokenReader struct {
Token string
}
RawTokenReader just returns the token contained by field Token
func (*RawTokenReader) ReadToken ¶
func (r *RawTokenReader) ReadToken() (string, error)
ReadToken ...
type TokenReader ¶
TokenReader is an interface used to wrap the way how to get token
Click to show internal directories.
Click to hide internal directories.